]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit5fc91b23924a42be0b56a454e5969c19e7eedb52
treeaf3991dd5a881885b39f6c0f9c8c4645b2a10a1c
parent741cc74b2561280ee4f6f92c6174a1a4e343cd13
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