mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-03-04 07:17:17 +00:00
The boot mode detection assumes that BOOT_DEVICE_MMC2 should always result in MMCSD_MODE_FS, but MMCSD_MODE_RAW is also a valid option for this port. The current logic also avoids looking at the bootmode pin strapping, which should be the primary means of determining whether a device is being booted in MMCSD_MODE_EMMCBOOT mode. Switch around the logic to check the boot mode to determine whether the eMMC boot mode is expected or MMC/SD boot mode. From there we can look at the boot mode config if in MMC/SD boot mode to determine whether to attempt RAW or FS based booting. This change allows U-Boot to also be successfully booted from RAW offsets in addition to from a filesystem. Signed-off-by: Martyn Welch <martyn.welch@collabora.com> |
||
---|---|---|
.. | ||
am62ax | ||
am62x | ||
include/mach | ||
j721e | ||
j721s2 | ||
j7200 | ||
am62a7_init.c | ||
am625_init.c | ||
am642_init.c | ||
am654_init.c | ||
arm64-mmu.c | ||
cache.S | ||
common.c | ||
common.h | ||
config.mk | ||
config_secure.mk | ||
j721e_init.c | ||
j721s2_init.c | ||
Kconfig | ||
lowlevel_init.S | ||
Makefile | ||
r5_mpu.c | ||
security.c | ||
sysfw-loader.c |