]> git.dujemihanovic.xyz Git - u-boot.git/commit
imx: mx7: move get_boot_device to cpu.c
authorPeng Fan <peng.fan@nxp.com>
Wed, 10 Jan 2018 05:20:34 +0000 (13:20 +0800)
committerStefano Babic <sbabic@denx.de>
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 <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
Reviewed-by: Stefano Babic <sbabic@denx.de>
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