]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
phytec: add emmc_dev and sd_dev env vars for imx8 boards
authorBenjamin Hahn <B.Hahn@phytec.de>
Fri, 28 Nov 2025 16:38:42 +0000 (17:38 +0100)
committerFabio Estevam <festevam@nabladev.com>
Sat, 29 Nov 2025 21:02:13 +0000 (18:02 -0300)
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 <B.Hahn@phytec.de>
board/phytec/phycore_imx8mm/phycore_imx8mm.env
board/phytec/phycore_imx8mp/phycore_imx8mp.env

index 1eb255878ba2ac2cc8f88d4e4e92d25e9f23db4c..bb444d18293936ca268cdf255ea5a13e4e368573 100644 (file)
@@ -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
index 8fa275e388cf88f258c45b95f508558c1e8abf1f..1ebd9f06a0c4039947a802d2870b1aff7dbd78f4 100644 (file)
@@ -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 */