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 /common | |
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 'common')
-rw-r--r-- | common/avb_verify.c | 1 | ||||
-rw-r--r-- | common/board_r.c | 1 | ||||
-rw-r--r-- | common/bootm.c | 1 | ||||
-rw-r--r-- | common/bouncebuf.c | 1 | ||||
-rw-r--r-- | common/image.c | 1 | ||||
-rw-r--r-- | common/lcd.c | 1 | ||||
-rw-r--r-- | common/spl/spl_opensbi.c | 1 | ||||
-rw-r--r-- | common/update.c | 1 |
8 files changed, 8 insertions, 0 deletions
diff --git a/common/avb_verify.c b/common/avb_verify.c index 36898a610f..a2b739626b 100644 --- a/common/avb_verify.c +++ b/common/avb_verify.c @@ -6,6 +6,7 @@ #include <avb_verify.h> #include <blk.h> +#include <cpu_func.h> #include <fastboot.h> #include <image.h> #include <malloc.h> diff --git a/common/board_r.c b/common/board_r.c index c0065a5c19..0764fccd6b 100644 --- a/common/board_r.c +++ b/common/board_r.c @@ -11,6 +11,7 @@ #include <common.h> #include <api.h> +#include <cpu_func.h> #include <u-boot/crc.h> /* TODO: can we just include all these headers whether needed or not? */ #if defined(CONFIG_CMD_BEDBUG) diff --git a/common/bootm.c b/common/bootm.c index 02295daf79..3bbe490ab9 100644 --- a/common/bootm.c +++ b/common/bootm.c @@ -7,6 +7,7 @@ #ifndef USE_HOSTCC #include <common.h> #include <bootstage.h> +#include <cpu_func.h> #include <env.h> #include <errno.h> #include <fdt_support.h> diff --git a/common/bouncebuf.c b/common/bouncebuf.c index a7098e2caf..614eb36c78 100644 --- a/common/bouncebuf.c +++ b/common/bouncebuf.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <cpu_func.h> #include <malloc.h> #include <errno.h> #include <bouncebuf.h> diff --git a/common/image.c b/common/image.c index 1c8ac2df70..eb626dcac9 100644 --- a/common/image.c +++ b/common/image.c @@ -8,6 +8,7 @@ #ifndef USE_HOSTCC #include <common.h> +#include <cpu_func.h> #include <env.h> #include <u-boot/crc.h> #include <watchdog.h> diff --git a/common/lcd.c b/common/lcd.c index b34754fe51..f8bc1ceba7 100644 --- a/common/lcd.c +++ b/common/lcd.c @@ -10,6 +10,7 @@ #include <config.h> #include <common.h> #include <command.h> +#include <cpu_func.h> #include <env_callback.h> #include <linux/types.h> #include <stdio_dev.h> diff --git a/common/spl/spl_opensbi.c b/common/spl/spl_opensbi.c index a6b4480ed2..2345f949f0 100644 --- a/common/spl/spl_opensbi.c +++ b/common/spl/spl_opensbi.c @@ -6,6 +6,7 @@ * Based on common/spl/spl_atf.c */ #include <common.h> +#include <cpu_func.h> #include <errno.h> #include <spl.h> #include <asm/smp.h> diff --git a/common/update.c b/common/update.c index 457b29f42a..13b09ab00f 100644 --- a/common/update.c +++ b/common/update.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <cpu_func.h> #if !(defined(CONFIG_FIT) && defined(CONFIG_OF_LIBFDT)) #error "CONFIG_FIT and CONFIG_OF_LIBFDT are required for auto-update feature" |