u-boot-brain/arch/arm/mach-keystone/include/mach/mon.h
Tom Rini aadd3360e6 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>
2016-03-16 15:03:15 -04:00

18 lines
343 B
C

/*
* K2HK: secure kernel command header file
*
* (C) Copyright 2014
* Texas Instruments Incorporated, <www.ti.com>
*
* SPDX-License-Identifier: GPL-2.0+
*/
#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