ARM: keystone2: Split monitor code / command code
authorTom Rini <trini@konsulko.com>
Wed, 16 Mar 2016 13:10:08 +0000 (09:10 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 16 Mar 2016 19:03:15 +0000 (15:03 -0400)
commitaadd3360e61fe605eb53efe65e537dd5c1e8a4d1
tree1b16eb104fd0279ecf8a4b0f254311a2e8aaf47e
parent07adb7c22700921f660182b571366076bbacc01e
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>
arch/arm/mach-keystone/Makefile
arch/arm/mach-keystone/cmd_mon.c
arch/arm/mach-keystone/include/mach/mon.h
arch/arm/mach-keystone/mon.c [new file with mode: 0644]