diff options
author | Simon Glass <sjg@chromium.org> | 2019-11-14 12:57:39 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-02 18:24:58 -0500 |
commit | 1eb69ae498567bb0b62ee554647204e8245cdacc (patch) | |
tree | 85471c9088c5a801b3adcf397c2310726fe08fea /arch/mips | |
parent | 3374d28b3443cc5565816d1f58d01ebfa14ea5ae (diff) | |
download | u-boot-1eb69ae498567bb0b62ee554647204e8245cdacc.tar.gz |
common: Move ARM cache operations out of common.h
These functions are CPU-related and do not use driver model. Move them to
cpu_func.h
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/lib/reloc.c | 1 | ||||
-rw-r--r-- | arch/mips/lib/traps.c | 1 | ||||
-rw-r--r-- | arch/mips/mach-jz47xx/jz4780/jz4780.c | 1 | ||||
-rw-r--r-- | arch/mips/mach-mtmips/ddr_calibrate.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/arch/mips/lib/reloc.c b/arch/mips/lib/reloc.c index c6a517d66f..e68f49467c 100644 --- a/arch/mips/lib/reloc.c +++ b/arch/mips/lib/reloc.c @@ -27,6 +27,7 @@ */ #include <common.h> +#include <cpu_func.h> #include <asm/relocs.h> #include <asm/sections.h> diff --git a/arch/mips/lib/traps.c b/arch/mips/lib/traps.c index 976978c3e9..b4bcdf8150 100644 --- a/arch/mips/lib/traps.c +++ b/arch/mips/lib/traps.c @@ -11,6 +11,7 @@ */ #include <common.h> +#include <cpu_func.h> #include <asm/mipsregs.h> #include <asm/addrspace.h> #include <asm/system.h> diff --git a/arch/mips/mach-jz47xx/jz4780/jz4780.c b/arch/mips/mach-jz47xx/jz4780/jz4780.c index dbd328cb49..ec18df8879 100644 --- a/arch/mips/mach-jz47xx/jz4780/jz4780.c +++ b/arch/mips/mach-jz47xx/jz4780/jz4780.c @@ -8,6 +8,7 @@ #include <config.h> #include <common.h> +#include <cpu_func.h> #include <asm/io.h> #include <asm/sections.h> #include <mach/jz4780.h> diff --git a/arch/mips/mach-mtmips/ddr_calibrate.c b/arch/mips/mach-mtmips/ddr_calibrate.c index 75763c4528..3cd440804d 100644 --- a/arch/mips/mach-mtmips/ddr_calibrate.c +++ b/arch/mips/mach-mtmips/ddr_calibrate.c @@ -17,6 +17,7 @@ */ #include <common.h> +#include <cpu_func.h> #include <linux/io.h> #include <asm/cacheops.h> #include <asm/io.h> |