diff options
author | Simon Glass | 2019-11-14 12:57:32 -0700 |
---|---|---|
committer | Tom Rini | 2019-12-02 18:23:13 -0500 |
commit | b5981474f1f7d8b6b6669d549298dec3fc083cc8 (patch) | |
tree | 959f4d75a93ff9d9c8f4ff298d39ecf4c25b5b46 /arch/powerpc | |
parent | 68a6aa85ecbab5696fdcf970fdd7b7fe5a967146 (diff) |
common: Move some CPU functions out of common.h
These functions belong in cpu_func.h since they do not use driver model.
Move them over. Don't bother adding comments since these functions should
be deleted.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/powerpc')
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/speed.c | 1 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc86xx/cpu.c | 1 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc8xxx/cpu.c | 1 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc8xxx/fdt.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/speed.c b/arch/powerpc/cpu/mpc85xx/speed.c index acc2f2bb818..15b05fcc513 100644 --- a/arch/powerpc/cpu/mpc85xx/speed.c +++ b/arch/powerpc/cpu/mpc85xx/speed.c @@ -10,6 +10,7 @@ */ #include <common.h> +#include <cpu_func.h> #include <ppc_asm.tmpl> #include <linux/compiler.h> #include <asm/processor.h> diff --git a/arch/powerpc/cpu/mpc86xx/cpu.c b/arch/powerpc/cpu/mpc86xx/cpu.c index 1c3c78217cb..bb14444a2e7 100644 --- a/arch/powerpc/cpu/mpc86xx/cpu.c +++ b/arch/powerpc/cpu/mpc86xx/cpu.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <cpu_func.h> #include <vsprintf.h> #include <watchdog.h> #include <command.h> diff --git a/arch/powerpc/cpu/mpc8xxx/cpu.c b/arch/powerpc/cpu/mpc8xxx/cpu.c index 467eac4a2e2..ed482a9c098 100644 --- a/arch/powerpc/cpu/mpc8xxx/cpu.c +++ b/arch/powerpc/cpu/mpc8xxx/cpu.c @@ -10,6 +10,7 @@ #include <config.h> #include <common.h> #include <command.h> +#include <cpu_func.h> #include <tsec.h> #include <fm_eth.h> #include <netdev.h> diff --git a/arch/powerpc/cpu/mpc8xxx/fdt.c b/arch/powerpc/cpu/mpc8xxx/fdt.c index 0d877c43be8..485c2d4feb0 100644 --- a/arch/powerpc/cpu/mpc8xxx/fdt.c +++ b/arch/powerpc/cpu/mpc8xxx/fdt.c @@ -8,6 +8,7 @@ */ #include <common.h> +#include <cpu_func.h> #include <linux/libfdt.h> #include <fdt_support.h> #include <asm/mp.h> |