summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2021-12-19 00:10:23 +0300
committerTom Rini <trini@konsulko.com>2022-01-08 19:16:03 +0300
commit353aa7b06fc30593095c909ea10b05ad045c6570 (patch)
tree51fe098e5d3768ef0064c54bce6881f56b1810b7 /include/configs
parentc280ec210f31429bfdefa0eb3b211f12002c539b (diff)
downloadu-boot-353aa7b06fc30593095c909ea10b05ad045c6570.tar.xz
udoo: Adjust the SD card device numbering
After the conversion to DM the SD card shows up as 'mmc 2' device. Adjust the 'mmcdev' and the distro command 'func' accordingly. Signed-off-by: Fabio Estevam <festevam@gmail.com> Reviewed-by: Peter Robinson <pbrobinson@gmail.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/udoo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/configs/udoo.h b/include/configs/udoo.h
index fe6ea68dd4..4bddc0eca3 100644
--- a/include/configs/udoo.h
+++ b/include/configs/udoo.h
@@ -28,7 +28,7 @@
"fdt_addr=0x18000000\0" \
"fdt_addr_r=0x18000000\0" \
"ip_dyn=yes\0" \
- "mmcdev=0\0" \
+ "mmcdev=2\0" \
"mmcrootfstype=ext4\0" \
"findfdt="\
"if test ${board_rev} = MX6Q; then " \
@@ -44,7 +44,7 @@
BOOTENV
#define BOOT_TARGET_DEVICES(func) \
- func(MMC, mmc, 0) \
+ func(MMC, mmc, 2) \
func(SATA, sata, 0) \
func(DHCP, dhcp, na)