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>
Showing
- arch/arm/Makefile 1 addition, 1 deletionarch/arm/Makefile
- arch/arm/cpu/armv7/mx7ulp/Makefile 1 addition, 1 deletionarch/arm/cpu/armv7/mx7ulp/Makefile
- arch/arm/cpu/armv7/mx7ulp/soc.c 239 additions, 0 deletionsarch/arm/cpu/armv7/mx7ulp/soc.c
- arch/arm/imx-common/Makefile 4 additions, 0 deletionsarch/arm/imx-common/Makefile
- arch/arm/include/asm/arch-imx/cpu.h 2 additions, 0 deletionsarch/arm/include/asm/arch-imx/cpu.h
- arch/arm/include/asm/arch-mx7ulp/sys_proto.h 21 additions, 0 deletionsarch/arm/include/asm/arch-mx7ulp/sys_proto.h
Loading
Please register or sign in to comment