imx: mx7ulp: Add soc level initialization codes and functions
authorPeng Fan <peng.fan@nxp.com>
Wed, 22 Feb 2017 08:21:43 +0000 (16:21 +0800)
committerYe Li <ye.li@nxp.com>
Wed, 5 Apr 2017 09:23:51 +0000 (17:23 +0800)
commitcd20f2afe2da42a98a4071dedb86590f0d53bd21
tree5b7670e0797fc63e5df0fa443ea998e3ed96e285
parent626c8a6df5bea994aa821bb3a318a99634a4fbcc
imx: mx7ulp: Add soc level initialization codes and functions

Implement soc level functions to get cpu rev, reset cause, enable cache,
etc. We will disable the wdog and init clocks in s_init at very early u-boot
phase.

Since the we are seeking the way to get chip id for mx7ulp, the get_cpu_rev
is hard coded to a fixed value. This may change in future.

Reuse some code in imx-common.

Signed-off-by: Peng Fan <peng.fan@nxp.com>
Signed-off-by: Ye Li <ye.li@nxp.com>
Cc: Stefano Babic <sbabic@denx.de>
arch/arm/Makefile
arch/arm/cpu/armv7/mx7ulp/Makefile
arch/arm/cpu/armv7/mx7ulp/soc.c [new file with mode: 0644]
arch/arm/imx-common/Makefile
arch/arm/include/asm/arch-imx/cpu.h
arch/arm/include/asm/arch-mx7ulp/sys_proto.h [new file with mode: 0644]