From cd20f2afe2da42a98a4071dedb86590f0d53bd21 Mon Sep 17 00:00:00 2001 From: Peng Fan Date: Wed, 22 Feb 2017 16:21:43 +0800 Subject: 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 Signed-off-by: Ye Li Cc: Stefano Babic --- arch/arm/imx-common/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'arch/arm/imx-common/Makefile') 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 -- cgit v1.1