diff options
author | Simon Glass <sjg@chromium.org> | 2019-11-14 12:57:09 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-02 18:23:06 -0500 |
commit | 62f9b654472888dc46feea74f95edb837f49333a (patch) | |
tree | 2ba027312db362b0680f990fd5d55c3508e3fb51 /arch/powerpc | |
parent | dd38416d6b354acb5d12e2bd1fd45e7e63b8a605 (diff) | |
download | u-boot-62f9b654472888dc46feea74f95edb837f49333a.zip u-boot-62f9b654472888dc46feea74f95edb837f49333a.tar.gz u-boot-62f9b654472888dc46feea74f95edb837f49333a.tar.bz2 |
common: Move older CPU functions to their own header
These should be moved to driver model, but in the meantime, move them
out of the common header to help reduce its size.
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/cpu.c | 1 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc85xx/mp.c | 1 | ||||
-rw-r--r-- | arch/powerpc/cpu/mpc86xx/mp.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/cpu.c b/arch/powerpc/cpu/mpc85xx/cpu.c index bf48836..5344b17 100644 --- a/arch/powerpc/cpu/mpc85xx/cpu.c +++ b/arch/powerpc/cpu/mpc85xx/cpu.c @@ -10,6 +10,7 @@ #include <config.h> #include <common.h> +#include <cpu_func.h> #include <watchdog.h> #include <command.h> #include <fsl_esdhc.h> diff --git a/arch/powerpc/cpu/mpc85xx/mp.c b/arch/powerpc/cpu/mpc85xx/mp.c index 3882c95..9757bff 100644 --- a/arch/powerpc/cpu/mpc85xx/mp.c +++ b/arch/powerpc/cpu/mpc85xx/mp.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <cpu_func.h> #include <env.h> #include <asm/processor.h> #include <env.h> diff --git a/arch/powerpc/cpu/mpc86xx/mp.c b/arch/powerpc/cpu/mpc86xx/mp.c index ce300ea..07c4c07 100644 --- a/arch/powerpc/cpu/mpc86xx/mp.c +++ b/arch/powerpc/cpu/mpc86xx/mp.c @@ -4,6 +4,7 @@ */ #include <common.h> +#include <cpu_func.h> #include <asm/processor.h> #include <asm/mmu.h> #include <ioports.h> |