summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/s5p-common/Makefile
diff options
context:
space:
mode:
authorInderpal Singh <inderpal.singh@linaro.org>2013-04-04 23:09:20 +0000
committerMinkyu Kang <mk7.kang@samsung.com>2013-06-04 15:23:17 +0900
commitb5f9756f7f2449cf1b6c3e64dbc40f159f7dcbe2 (patch)
tree41410111266598c7e69a237fe41ae460fc8c6d00 /arch/arm/cpu/armv7/s5p-common/Makefile
parent72af2fc8504daccd2f8ae2459e3e225e9c2cc512 (diff)
exynos: update tzpc to make it common for exynos4 and exynos5
This requires that cpu_is_exynos4/5 should be made available before tzpc_init. Hence this patch also makes necessary changes to have cpu_info in spl and invokes arch_cpu_init before tzpc_init in low_level_init.S for smdk5250. Signed-off-by: Inderpal Singh <inderpal.singh@linaro.org> Acked-by: Chander Kashyap <chander.kashyap@linaro.org> Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
Diffstat (limited to 'arch/arm/cpu/armv7/s5p-common/Makefile')
-rw-r--r--arch/arm/cpu/armv7/s5p-common/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/s5p-common/Makefile b/arch/arm/cpu/armv7/s5p-common/Makefile
index 17053995bd..0c38bd0d2f 100644
--- a/arch/arm/cpu/armv7/s5p-common/Makefile
+++ b/arch/arm/cpu/armv7/s5p-common/Makefile
@@ -26,9 +26,11 @@ include $(TOPDIR)/config.mk
LIB = $(obj)libs5p-common.o
COBJS-y += cpu_info.o
+ifndef CONFIG_SPL_BUILD
COBJS-y += timer.o
COBJS-y += sromc.o
COBJS-$(CONFIG_PWM) += pwm.o
+endif
SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
OBJS := $(addprefix $(obj),$(COBJS-y) $(SOBJS))