commit | 57370de377340b0fcb81d90a187aa8b8f3494447 | [log] [tgz] |
---|---|---|
author | Mario Six <mario.six@gdsys.cc> | Mon Aug 06 10:23:43 2018 +0200 |
committer | Simon Glass <sjg@chromium.org> | Tue Sep 18 08:12:21 2018 -0600 |
tree | 1eeef92a8013e1708079c73e9db3ef58552aea1e | |
parent | 50d188b9557f394b77f87561c71173c060953628 [diff] [blame] |
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>
diff --git a/include/cpu.h b/include/cpu.h index 22467cb..367c5f4 100644 --- a/include/cpu.h +++ b/include/cpu.h
@@ -125,4 +125,11 @@ */ 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