diff options
author | Walter Lozano <walter.lozano@collabora.com> | 2020-05-19 15:24:22 -0300 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2020-06-23 00:08:53 +0200 |
commit | 6c3fbf3e456c49c2f43c0c286106a0d4b099b67b (patch) | |
tree | 402d4796890a3f3b1f9657b6644eae5e19b5f77e /arch/arm | |
parent | 24899e03a56f56e4c78a03247818196ce0cafbb0 (diff) |
mx6cuboxi: customize board_boot_order to access eMMC
In SPL legacy code only one MMC device is created, based on BOOT_CFG
register, which can be either SD or eMMC. In this context
board_boot_order return always MMC1 when configure to boot from
SD/eMMC. After switching to DM both SD and eMMC devices are created
based on the information available on DT, but as board_boot_order
only returns MMC1 is not possible to boot from eMMC.
This patch customizes board_boot_order taking into account BOOT_CFG
register to point to correct MMC1 / MMC2 device. Additionally, handle
IO mux for the desired boot device.
Signed-off-by: Walter Lozano <walter.lozano@collabora.com>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions