summaryrefslogtreecommitdiff
path: root/arch/nios2
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-11-14 22:57:39 +0300
committerTom Rini <trini@konsulko.com>2019-12-03 02:24:58 +0300
commit1eb69ae498567bb0b62ee554647204e8245cdacc (patch)
tree85471c9088c5a801b3adcf397c2310726fe08fea /arch/nios2
parent3374d28b3443cc5565816d1f58d01ebfa14ea5ae (diff)
downloadu-boot-1eb69ae498567bb0b62ee554647204e8245cdacc.tar.xz
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/nios2')
-rw-r--r--arch/nios2/cpu/cpu.c1
-rw-r--r--arch/nios2/lib/bootm.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/arch/nios2/cpu/cpu.c b/arch/nios2/cpu/cpu.c
index 1fc79213e2..05b26e8d20 100644
--- a/arch/nios2/cpu/cpu.c
+++ b/arch/nios2/cpu/cpu.c
@@ -6,6 +6,7 @@
#include <common.h>
#include <cpu.h>
+#include <cpu_func.h>
#include <dm.h>
#include <errno.h>
#include <asm/cache.h>
diff --git a/arch/nios2/lib/bootm.c b/arch/nios2/lib/bootm.c
index 485d5ae540..a68b091f87 100644
--- a/arch/nios2/lib/bootm.c
+++ b/arch/nios2/lib/bootm.c
@@ -5,6 +5,7 @@
*/
#include <common.h>
+#include <cpu_func.h>
#define NIOS_MAGIC 0x534f494e /* enable command line and initrd passing */