summaryrefslogtreecommitdiff
path: root/arch/arm/imx-common
diff options
context:
space:
mode:
authorPeng Fan <peng.fan@nxp.com>2017-02-22 16:21:43 +0800
committerYe Li <ye.li@nxp.com>2017-04-05 17:23:51 +0800
commitcd20f2afe2da42a98a4071dedb86590f0d53bd21 (patch)
tree5b7670e0797fc63e5df0fa443ea998e3ed96e285 /arch/arm/imx-common
parent626c8a6df5bea994aa821bb3a318a99634a4fbcc (diff)
downloadu-boot-imx-cd20f2afe2da42a98a4071dedb86590f0d53bd21.zip
u-boot-imx-cd20f2afe2da42a98a4071dedb86590f0d53bd21.tar.gz
u-boot-imx-cd20f2afe2da42a98a4071dedb86590f0d53bd21.tar.bz2
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>
Diffstat (limited to 'arch/arm/imx-common')
-rw-r--r--arch/arm/imx-common/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/imx-common/Makefile b/arch/arm/imx-common/Makefile
index c6401f6..f428d82 100644
--- a/arch/arm/imx-common/Makefile
+++ b/arch/arm/imx-common/Makefile
@@ -35,6 +35,10 @@ obj-$(CONFIG_SECURE_BOOT) += hab.o
obj-$(CONFIG_GPT_TIMER) += timer.o
obj-$(CONFIG_SYSCOUNTER_TIMER) += syscounter.o
endif
+ifeq ($(SOC),$(filter $(SOC),mx7ulp))
+obj-y += cache.o
+obj-$(CONFIG_SECURE_BOOT) += hab.o
+endif
ifeq ($(SOC),$(filter $(SOC),vf610))
obj-y += ddrmc-vf610.o
endif