mx6sabre: Fix boot failure
authorYe Li <ye.li@nxp.com>
Sun, 21 Feb 2021 02:25:45 +0000 (18:25 -0800)
committerStefano Babic <sbabic@denx.de>
Mon, 1 Mar 2021 09:21:36 +0000 (10:21 +0100)
commitaacf04fb43408de30efb931eeadb1f76ec0ede0a
treee09bb8249594da07f738d7ddb4d6f5535be5cf07
parent0ba116a3191aaa3fa74b18815c43f47bb9ef227c
mx6sabre: Fix boot failure

CONFIG_SPL_LEGACY_IMAGE_SUPPORT is necessary for mx6sabresd and
mx6sabreauto, because u-boot is packed as legacy image not FIT.
However, this config is not set when CONFIG_SPL_LOAD_FIT is enabled.
Must enable it explicitly, otherwise will fail to boot like below.

U-Boot SPL 2021.04-rc2 (Feb 20 2021 - 16:43:04 -0800)
Trying to boot from MMC1
mmc_load_image_raw_sector: mmc block read error
SPL: failed to boot from all boot devices

Signed-off-by: Ye Li <ye.li@nxp.com>
configs/mx6sabreauto_defconfig
configs/mx6sabresd_defconfig