imx8: Select boot device dynamically
authorYe Li <ye.li@nxp.com>
Tue, 5 May 2020 12:28:42 +0000 (20:28 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 10 May 2020 18:55:20 +0000 (20:55 +0200)
commit42b26ddc80266cbe9d56526b198afed0b433bfb2
treecaa9bf24574343f2f6a29d03fb93786a0c310a8e
parent6aead23323bee1d780fd0b9696f512194458e379
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>
Signed-off-by: Peng Fan <peng.fan@nxp.com>
arch/arm/mach-imx/imx8/cpu.c