imx8: add boot device detection
authorPeng Fan <peng.fan@nxp.com>
Thu, 18 Oct 2018 12:28:19 +0000 (14:28 +0200)
committerStefano Babic <sbabic@denx.de>
Mon, 22 Oct 2018 10:59:01 +0000 (12:59 +0200)
commit8aa1505b59159cf8f52ba7441dd9e71c3caf1ded
tree735e153d828aeccbd9776107d3977ce9fbd58f37
parent60d33fcd1976e6a25c070c62d6f1064020d686bd
imx8: add boot device detection

Add get_boot_device to detect boot device.
Add print_bootinfo to print the boot device info.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Anatolij Gustschin <agust@denx.de>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/include/asm/arch-imx8/sys_proto.h [new file with mode: 0644]
arch/arm/mach-imx/imx8/cpu.c