From aadd3360e61fe605eb53efe65e537dd5c1e8a4d1 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 16 Mar 2016 09:10:08 -0400 Subject: ARM: keystone2: Split monitor code / command code When we switch to including all linker lists in SPL it is important to not include commands as that may lead to link errors due to other things we have already discarded. In this case, we split the code for supporting the monitor out from the code for loading it. Cc: Vitaly Andrianov Cc: Nishanth Menon Cc: Lokesh Vutla Signed-off-by: Tom Rini --- arch/arm/mach-keystone/Makefile | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/arm/mach-keystone/Makefile') diff --git a/arch/arm/mach-keystone/Makefile b/arch/arm/mach-keystone/Makefile index 9713fe4..7f12009 100644 --- a/arch/arm/mach-keystone/Makefile +++ b/arch/arm/mach-keystone/Makefile @@ -8,8 +8,11 @@ obj-y += init.o obj-y += psc.o obj-y += clock.o +obj-y += mon.o +ifndef CONFIG_SPL_BUILD obj-y += cmd_clock.o obj-y += cmd_mon.o +endif obj-y += msmc.o obj-y += ddr3.o cmd_ddr3.o obj-y += keystone.o -- cgit v1.1