diff options
author | Mike Karels <karels@FreeBSD.org> | 2021-10-28 01:26:15 +0300 |
---|---|---|
committer | Matthias Brugger <mbrugger@suse.com> | 2021-11-30 18:07:40 +0300 |
commit | 874e544e89a7f9f42796b23f8d43c56e203b6e69 (patch) | |
tree | 7a3e2a74a77ef33342c6055b95a990c9a8b2675b /include/configs | |
parent | 5e7e6619c85c090f6b62685a9d90f748f1729d12 (diff) | |
download | u-boot-874e544e89a7f9f42796b23f8d43c56e203b6e69.tar.xz |
Fix MMC numbering issue for Raspberry Pi 3
Using mmc.dtbo from rpi-firmware to switch the controller for the SD
card slot from sdhci to sdhost causes the numbering to change; the
SD card is then not recognized at boot. Add to the range checked.
Signed-off-by: Matthias Brugger <mbrugger@suse.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/rpi.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/configs/rpi.h b/include/configs/rpi.h index 55768a46da..4c5c1ac31f 100644 --- a/include/configs/rpi.h +++ b/include/configs/rpi.h @@ -137,7 +137,8 @@ #if CONFIG_IS_ENABLED(CMD_MMC) #define BOOT_TARGET_MMC(func) \ func(MMC, mmc, 0) \ - func(MMC, mmc, 1) + func(MMC, mmc, 1) \ + func(MMC, mmc, 2) #else #define BOOT_TARGET_MMC(func) #endif |