summaryrefslogtreecommitdiff
path: root/arch/arm/mach-keystone/Makefile
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-03-16 09:10:08 -0400
committerTom Rini <trini@konsulko.com>2016-03-16 15:03:15 -0400
commitaadd3360e61fe605eb53efe65e537dd5c1e8a4d1 (patch)
tree1b16eb104fd0279ecf8a4b0f254311a2e8aaf47e /arch/arm/mach-keystone/Makefile
parent07adb7c22700921f660182b571366076bbacc01e (diff)
downloadu-boot-imx-aadd3360e61fe605eb53efe65e537dd5c1e8a4d1.zip
u-boot-imx-aadd3360e61fe605eb53efe65e537dd5c1e8a4d1.tar.gz
u-boot-imx-aadd3360e61fe605eb53efe65e537dd5c1e8a4d1.tar.bz2
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 <vitalya@ti.com> Cc: Nishanth Menon <nm@ti.com> Cc: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/arm/mach-keystone/Makefile')
-rw-r--r--arch/arm/mach-keystone/Makefile3
1 files changed, 3 insertions, 0 deletions
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