summaryrefslogtreecommitdiff
path: root/include/cpu_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cpu_func.h')
-rw-r--r--include/cpu_func.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/include/cpu_func.h b/include/cpu_func.h
new file mode 100644
index 0000000000..a99b69b976
--- /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 <linux/types.h>
+
+/*
+ * 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