summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-11-14 12:57:39 -0700
committerTom Rini <trini@konsulko.com>2019-12-02 18:24:58 -0500
commit1eb69ae498567bb0b62ee554647204e8245cdacc (patch)
tree85471c9088c5a801b3adcf397c2310726fe08fea /cmd
parent3374d28b3443cc5565816d1f58d01ebfa14ea5ae (diff)
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 'cmd')
-rw-r--r--cmd/disk.c1
-rw-r--r--cmd/load.c1
-rw-r--r--cmd/ximg.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/cmd/disk.c b/cmd/disk.c
index 9e635c1172..437c175374 100644
--- a/cmd/disk.c
+++ b/cmd/disk.c
@@ -5,6 +5,7 @@
*/
#include <common.h>
#include <command.h>
+#include <cpu_func.h>
#include <part.h>
int common_diskboot(cmd_tbl_t *cmdtp, const char *intf, int argc,
diff --git a/cmd/load.c b/cmd/load.c
index 5811a99310..3bfc1b41ec 100644
--- a/cmd/load.c
+++ b/cmd/load.c
@@ -10,6 +10,7 @@
#include <common.h>
#include <command.h>
#include <console.h>
+#include <cpu_func.h>
#include <env.h>
#include <s_record.h>
#include <net.h>
diff --git a/cmd/ximg.c b/cmd/ximg.c
index a9481004f0..22b2037a33 100644
--- a/cmd/ximg.c
+++ b/cmd/ximg.c
@@ -13,6 +13,7 @@
*/
#include <common.h>
#include <command.h>
+#include <cpu_func.h>
#include <env.h>
#include <gzip.h>
#include <image.h>