From: Benjamin Hahn Date: Fri, 28 Nov 2025 16:38:42 +0000 (+0100) Subject: phytec: add emmc_dev and sd_dev env vars for imx8 boards X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=67a658324087638fe12927f0747b289e1723801a;p=thirdparty%2Fu-boot.git phytec: add emmc_dev and sd_dev env vars for imx8 boards Add emmc_dev and sd_dev env variables with comment that they are needed for builtin uuu flash scripts. This is already done for imx8mp-libra board. Signed-off-by: Benjamin Hahn --- diff --git a/board/phytec/phycore_imx8mm/phycore_imx8mm.env b/board/phytec/phycore_imx8mm/phycore_imx8mm.env index 1eb255878ba..bb444d18293 100644 --- a/board/phytec/phycore_imx8mm/phycore_imx8mm.env +++ b/board/phytec/phycore_imx8mm/phycore_imx8mm.env @@ -1,6 +1,6 @@ boot_script_dhcp=net_boot_fit.scr.uimg console=ttymxc2,CONFIG_BAUDRATE -emmc_dev=2 +emmc_dev=2 /* This is needed by built-in uuu flash scripts */ fdtfile=CONFIG_DEFAULT_FDT_FILE fdt_addr_r=0x40480000 fdt_overlay_addr_r=0x404a0000 @@ -12,5 +12,6 @@ ramdisk_addr_r=0x45802000 scriptaddr=0x47600000 script_offset_f=0x0 script_size_f=0x2000 +sd_dev=1 /* This is needed by built-in uuu flash scripts */ ip_dyn=yes nfsroot=/srv/nfs diff --git a/board/phytec/phycore_imx8mp/phycore_imx8mp.env b/board/phytec/phycore_imx8mp/phycore_imx8mp.env index 8fa275e388c..1ebd9f06a0c 100644 --- a/board/phytec/phycore_imx8mp/phycore_imx8mp.env +++ b/board/phytec/phycore_imx8mp/phycore_imx8mp.env @@ -12,6 +12,7 @@ boot_targets=mmc2 mmc1 usb ethernet boot_script_dhcp=net_boot_fit.scr.uimg console=ttymxc0,115200 dofastboot=0 +emmc_dev=2 /* This is needed by built-in uuu flash scripts */ fastboot_raw_partition_all=0 4194304 fastboot_raw_partition_bootloader=64 8128 fdt_addr_r=0x48000000 @@ -29,3 +30,4 @@ nfsroot=/srv/nfs pxefile_addr_r=0x58600000 ramdisk_addr_r=0x5E000000 scriptaddr=0x40000000 +sd_dev=1 /* This is needed by built-in uuu flash scripts */