summaryrefslogtreecommitdiff
path: root/include/cpu.h
diff options
context:
space:
mode:
authorMario Six <mario.six@gdsys.cc>2018-08-06 10:23:43 +0200
committerSimon Glass <sjg@chromium.org>2018-09-18 08:12:21 -0600
commit57370de377340b0fcb81d90a187aa8b8f3494447 (patch)
tree1eeef92a8013e1708079c73e9db3ef58552aea1e /include/cpu.h
parent50d188b9557f394b77f87561c71173c060953628 (diff)
cpu: Add cpu_probe_all method
Add a method to probe all CPUs of the board. Signed-off-by: Mario Six <mario.six@gdsys.cc>
Diffstat (limited to 'include/cpu.h')
-rw-r--r--include/cpu.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/cpu.h b/include/cpu.h
index 22467cb9b3..367c5f46a0 100644
--- a/include/cpu.h
+++ b/include/cpu.h
@@ -125,4 +125,11 @@ int cpu_get_count(struct udevice *dev);
*/
int cpu_get_vendor(struct udevice *dev, char *buf, int size);
+/**
+ * cpu_probe_all() - Probe all available CPUs
+ *
+ * Return: 0 if OK, -ve on error
+ */
+int cpu_probe_all(void);
+
#endif