From 57370de377340b0fcb81d90a187aa8b8f3494447 Mon Sep 17 00:00:00 2001 From: Mario Six Date: Mon, 6 Aug 2018 10:23:43 +0200 Subject: cpu: Add cpu_probe_all method Add a method to probe all CPUs of the board. Signed-off-by: Mario Six --- include/cpu.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/cpu.h') 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 -- cgit v1.2.3