]> git.baikalelectronics.ru Git - uboot.git/commit
ARM: imx6q_logic: Cleanup boot sequence check
authorAdam Ford <aford173@gmail.com>
Sun, 3 Nov 2019 13:58:40 +0000 (07:58 -0600)
committerStefano Babic <sbabic@denx.de>
Fri, 27 Dec 2019 13:30:52 +0000 (14:30 +0100)
commit27c94495a502d0840423bf4366289557f5cd4151
treeb996be371b9bbb26cdf4714c6e341b4e21789307
parent974b8529f8f768c3af161c09b08e66017b6dac8e
ARM: imx6q_logic: Cleanup boot sequence check

The board_boot_order() function currenly assumes that the boot source
is MMC/eMMC, but this isn't true for the NAND devices.

This patch cleans up board_boot_order() to check for NAND, SD, ESD,
MMC or EMMC.  Anything beyond these are not supported, so it will
default back to the serial downloader if any of those devices are not
available.

Fixes: 7db5a00a9d6e ("ARM: imx6q_logic: Fix MMC2 booting")
Signed-off-by: Adam Ford <aford173@gmail.com>
board/logicpd/imx6/imx6logic.c