I'm trying to boot a board with imx6 using SPL/u-boot from SPI flash.
The SPL is properly loaded from the SPI, but then the SPL has issue to load the u-boot.img.
The reason for that is the SPL function board_init_r() seems always to try load it from MMC.
it's because the function spl_boot_device() seems always return BOOT_DEVICE_MMC1.
It's possible to redefine the weak function board_boot_order() in order to solve the issue. but Do I really need that?
why the spl_boot_device() return BOOT_DEVICE_MMC1 even though the device has booted from the SPI?
fsl yocto version: L4.9.11_1.0.0