From 62f9b654472888dc46feea74f95edb837f49333a Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Thu, 14 Nov 2019 12:57:09 -0700 Subject: common: Move older CPU functions to their own header These should be moved to driver model, but in the meantime, move them out of the common header to help reduce its size. Signed-off-by: Simon Glass Reviewed-by: Tom Rini --- include/cpu_func.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 include/cpu_func.h (limited to 'include/cpu_func.h') diff --git a/include/cpu_func.h b/include/cpu_func.h new file mode 100644 index 0000000..a99b69b --- /dev/null +++ b/include/cpu_func.h @@ -0,0 +1,23 @@ +/* SPDX-License-Identifier: GPL-2.0+ */ +/* + * (C) Copyright 2000-2009 + * Wolfgang Denk, DENX Software Engineering, wd@denx.de. + * Copyright 2019 Google LLC + */ + +#ifndef __CPU_LEGACY_H +#define __CPU_LEGACY_H + +#include + +/* + * Multicore arch functions + * + * These should be moved to use the CPU uclass. + */ +int cpu_status(u32 nr); +int cpu_reset(u32 nr); +int cpu_disable(u32 nr); +int cpu_release(u32 nr, int argc, char * const argv[]); + +#endif -- cgit v1.1