summaryrefslogtreecommitdiff
path: root/arch/arm/mach-keystone/include
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2016-03-16 13:10:08 (GMT)
committerTom Rini <trini@konsulko.com>2016-03-16 19:03:15 (GMT)
commitaadd3360e61fe605eb53efe65e537dd5c1e8a4d1 (patch)
tree1b16eb104fd0279ecf8a4b0f254311a2e8aaf47e /arch/arm/mach-keystone/include
parent07adb7c22700921f660182b571366076bbacc01e (diff)
downloadu-boot-aadd3360e61fe605eb53efe65e537dd5c1e8a4d1.tar.xz
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/include')
-rw-r--r--arch/arm/mach-keystone/include/mach/mon.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/arch/arm/mach-keystone/include/mach/mon.h b/arch/arm/mach-keystone/include/mach/mon.h
index 33a2876..eb7aa93 100644
--- a/arch/arm/mach-keystone/include/mach/mon.h
+++ b/arch/arm/mach-keystone/include/mach/mon.h
@@ -7,9 +7,11 @@
* SPDX-License-Identifier: GPL-2.0+
*/
-#ifndef _MON_H_
-#define _MON_H_
+#ifndef _MACH_MON_H_
+#define _MACH_MON_H_
+int mon_install(u32 addr, u32 dpsc, u32 freq);
+int mon_power_on(int core_id, void *ep);
int mon_power_off(int core_id);
#endif