]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: imx6q_logic: Fix MMC2 booting
authorAdam Ford <aford173@gmail.com>
Tue, 8 Oct 2019 13:01:12 +0000 (08:01 -0500)
committerStefano Babic <sbabic@denx.de>
Tue, 8 Oct 2019 14:36:37 +0000 (16:36 +0200)
commit7db5a00a9d6efc9b21f2c8d76ca3700ea008cabc
tree42df2a1658e416dc8c2ed0c67725bd2fc5dd1115
parent5a36c5c429e7091a8d1e173492c199e08bc84ae5
ARM: imx6q_logic: Fix MMC2 booting

With the reverting of a previous change to spl_boot_device,
this board needs a new solution to determining if we're booting
from MMC1 or MMC2.

This patch creates board_boot_order function which overrides the
standard, and returns not only MMC1, or MMC2, but also can fall
back to NAND or the serial downloader should other boot options
fail.

Signed-off-by: Adam Ford <aford173@gmail.com>
board/logicpd/imx6/imx6logic.c