MLK-20945-5 imx8: Select boot device dynamically
authorYe Li <ye.li@nxp.com>
Tue, 19 Feb 2019 08:07:33 +0000 (00:07 -0800)
committerYe Li <ye.li@nxp.com>
Fri, 24 May 2019 11:28:19 +0000 (04:28 -0700)
commit4758cf21988496ac9ad0eb19045cece970f626ff
tree1d8ac9e8edddd2e6fe677a70e5f52c75ec5f9bf6
parentbf75fe90520aaab06f69156f8715b525f2c8bf5c
MLK-20945-5 imx8: Select boot device dynamically

For fspi build, we will enable both SPL NOR support and SPL SPI
support. SPL will dynamically check the resource owner then
select corresponding boot device.

Signed-off-by: Ye Li <ye.li@nxp.com>
(cherry picked from commit 675cc6031033fbe5e7d8cfe01ebe1dedfd6c1b96)
arch/arm/mach-imx/imx8/cpu.c