imx: mx7: move get_boot_device to cpu.c
authorPeng Fan <[email protected]>
Wed, 10 Jan 2018 05:20:34 +0000 (13:20 +0800)
committerStefano Babic <[email protected]>
Sun, 4 Feb 2018 11:00:58 +0000 (12:00 +0100)
commit770611f21e93b63f58e9b9f67a250024db9c86be
tree37bc78a6d095009f64345638e1748cc5c64715b3
parentecd7ab56284613a92975a9ea5063015cb2a6ce43
imx: mx7: move get_boot_device to cpu.c

Move get_boot_device to cpu.c to prepare adding i.MX8M support,
because i.MX8M share same code with i.MX7.

Signed-off-by: Peng Fan <[email protected]>
Cc: Stefano Babic <[email protected]>
Cc: Fabio Estevam <[email protected]>
Reviewed-by: Stefano Babic <[email protected]>
arch/arm/include/asm/arch-mx7/imx-regs.h
arch/arm/include/asm/mach-imx/boot_mode.h
arch/arm/mach-imx/cpu.c
arch/arm/mach-imx/mx7/soc.c