summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/Makefile
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2017-05-16 18:46:34 (GMT)
committerTom Rini <trini@konsulko.com>2017-06-05 15:02:23 (GMT)
commitffb56568626be636f0256795df5322633f50cde3 (patch)
treeb125ef6112b0126e0d3a294db4cf85c79be5537c /arch/arm/cpu/armv7/Makefile
parent7c0c6be52c05a7c1518ee403ee35ddf1eb93974a (diff)
downloadu-boot-ffb56568626be636f0256795df5322633f50cde3.tar.xz
armv7: Mark the default lowlevel_init function as weak
Rather than have a long and if check in the Makefile, mark the default lowlevel_init function as weak (as we do on armv8) so that SoCs can override it if needed, and it will still be discarded if unused. Provide a weak s_init as well to allow for this to link and be discarded. Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/cpu/armv7/Makefile')
-rw-r--r--arch/arm/cpu/armv7/Makefile2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/cpu/armv7/Makefile b/arch/arm/cpu/armv7/Makefile
index 5fac252..45dd3ca 100644
--- a/arch/arm/cpu/armv7/Makefile
+++ b/arch/arm/cpu/armv7/Makefile
@@ -12,11 +12,9 @@ obj-y += cache_v7.o cache_v7_asm.o
obj-y += cpu.o cp15.o
obj-y += syslib.o
-ifneq ($(CONFIG_AM43XX)$(CONFIG_AM33XX)$(CONFIG_OMAP44XX)$(CONFIG_OMAP54XX)$(CONFIG_TEGRA)$(CONFIG_MX6)$(CONFIG_MX7)$(CONFIG_TI81XX)$(CONFIG_AT91FAMILY)$(CONFIG_ARCH_SUNXI)$(CONFIG_ARCH_SOCFPGA)$(CONFIG_ARCH_MX7ULP)$(CONFIG_ARCH_LS1021A),)
ifneq ($(CONFIG_SKIP_LOWLEVEL_INIT),y)
obj-y += lowlevel_init.o
endif
-endif
obj-$(CONFIG_ARM_SMCCC) += smccc-call.o
obj-$(CONFIG_ARMV7_NONSEC) += nonsec_virt.o virt-v7.o virt-dt.o