imx: cleanup bootaux
authorPeng Fan <peng.fan@nxp.com>
Wed, 10 Jan 2018 05:20:32 +0000 (13:20 +0800)
committerStefano Babic <sbabic@denx.de>
Sun, 4 Feb 2018 11:00:58 +0000 (12:00 +0100)
commit8cf223133c11c8064b4c8c258403371bc1873804
treeaf3991dd5a881885b39f6c0f9c8c4645b2a10a1c
parent6ce8b10b873e2c9812e2a82ca534396b9ae4f08b
imx: cleanup bootaux

Move i.MX6/7 bootaux code to imx_bootaux.c.
The i.MX6/7 has different src layout, so define M4 reg offset
to ease the cleanup. Redefine the M4 related BIT for share
common code.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
Cc: Fabio Estevam <fabio.estevam@nxp.com>
arch/arm/include/asm/arch-mx6/imx-regs.h
arch/arm/include/asm/arch-mx7/imx-regs.h
arch/arm/mach-imx/imx_bootaux.c
arch/arm/mach-imx/mx6/soc.c
arch/arm/mach-imx/mx7/soc.c