diff options
author | Lukasz Majewski <lukma@denx.de> | 2019-09-09 15:32:13 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2019-10-08 16:36:36 +0200 |
commit | 772b55723bcbe8ebe84f579d9cdc831d8e18579d (patch) | |
tree | f51dc212572a2363f881bc6b97c6fc1eae9ca68c /env | |
parent | 45aac6dd7afe73be69ab432c06eb97f9920c491f (diff) |
imx: Introduce CONFIG_SPL_FORCE_MMC_BOOT to force MMC boot on falcon mode
This change tries to fix the following problem:
- The board boots (to be more precise - ROM loads SPL) from a slow SPI-NOR
memory.
As a result the spl_boot_device() will return SPI-NOR as a boot device
(which is correct).
- The problem is that in 'falcon boot' the eMMC is used as a boot medium to
load kernel from its partition.
Calling spl_boot_device() will break things as it returns SPI-NOR device.
To fix this issue the new CONFIG_SPL_FORCE_MMC_BOOT Kconfig flag is
introduced to handle this special use case. By default it is not defined,
so there is no change in the legacy code flow.
Signed-off-by: Lukasz Majewski <lukma@denx.de>
Diffstat (limited to 'env')
0 files changed, 0 insertions, 0 deletions