summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/cpu
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-11-14 12:57:34 -0700
committerTom Rini <trini@konsulko.com>2019-12-02 18:23:14 -0500
commit30c7c4347307c807b0f9f9045053339507fd699e (patch)
treeea140904a4bbb1a63b72da032a10eef41960548e /arch/powerpc/cpu
parent2c629bd5c85ac2bd72f75cb2bce1ac1e5c505a73 (diff)
downloadu-boot-30c7c4347307c807b0f9f9045053339507fd699e.tar.gz
u-boot-30c7c4347307c807b0f9f9045053339507fd699e.tar.xz
u-boot-30c7c4347307c807b0f9f9045053339507fd699e.zip
common: Move checkcpu() out of common.h
This function belongs in cpu_func.h so move it over. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/powerpc/cpu')
-rw-r--r--arch/powerpc/cpu/mpc83xx/cpu.c1
-rw-r--r--arch/powerpc/cpu/mpc8xx/cpu.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc83xx/cpu.c b/arch/powerpc/cpu/mpc83xx/cpu.c
index 363c0ffd28..0710f5ab36 100644
--- a/arch/powerpc/cpu/mpc83xx/cpu.c
+++ b/arch/powerpc/cpu/mpc83xx/cpu.c
@@ -10,6 +10,7 @@
*/
#include <common.h>
+#include <cpu_func.h>
#include <vsprintf.h>
#include <watchdog.h>
#include <command.h>
diff --git a/arch/powerpc/cpu/mpc8xx/cpu.c b/arch/powerpc/cpu/mpc8xx/cpu.c
index 6ad86e9a1d..2b7c5d4301 100644
--- a/arch/powerpc/cpu/mpc8xx/cpu.c
+++ b/arch/powerpc/cpu/mpc8xx/cpu.c
@@ -17,6 +17,7 @@
*/
#include <common.h>
+#include <cpu_func.h>
#include <vsprintf.h>
#include <watchdog.h>
#include <command.h>