MLK-14991-1 imx8: Add support to get boot device
authorYe Li <ye.li@nxp.com>
Wed, 31 May 2017 08:23:38 +0000 (03:23 -0500)
committerJason Liu <jason.hui.liu@nxp.com>
Thu, 2 Nov 2017 18:36:52 +0000 (02:36 +0800)
commit718dc3442d5908f4a32e6a588d3373872ef87782
tree6db76eedd5eba070e46dea6447b9900361a045aa
parent93112aa5fee8cd5db42d48c5e12d1848aed1593f
MLK-14991-1 imx8: Add support to get boot device

For i.MX8QM and QXP, ROM provides rom info structure for passing boot device and
other boot information. Use it to implement the common function get_boot_device.

Signed-off-by: Ye Li <ye.li@nxp.com>
arch/arm/cpu/armv8/imx8/cpu.c
arch/arm/include/asm/arch-imx8/imx-regs.h
arch/arm/include/asm/arch-imx8/sys_proto.h
arch/arm/include/asm/imx-common/boot_mode.h