diff options
author | Simon Glass <sjg@chromium.org> | 2019-11-14 12:57:37 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2019-12-02 18:23:55 -0500 |
commit | 9edefc27760b00309d482d94fdc23bf5d2ea2c42 (patch) | |
tree | 5fd0d2b4811b377e8a453b2460d86ccff8f5b14b /common | |
parent | 6cc915b5fb2e3467b20735b112a7463cc77ec3c3 (diff) |
common: Move some cache and MMU functions out of common.h
These functions belong in cpu_func.h. Another option would be cache.h
but that code uses driver model and we have not moved these cache
functions to use driver model. Since they are CPU-related it seems
reasonable to put them here.
Move them over.
Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'common')
-rw-r--r-- | common/bootm_os.c | 1 | ||||
-rw-r--r-- | common/kgdb_stubs.c | 1 | ||||
-rw-r--r-- | common/spl/spl_atf.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/common/bootm_os.c b/common/bootm_os.c index 6fb7d658da..de0709f8ba 100644 --- a/common/bootm_os.c +++ b/common/bootm_os.c @@ -6,6 +6,7 @@ #include <common.h> #include <bootm.h> +#include <cpu_func.h> #include <env.h> #include <fdt_support.h> #include <linux/libfdt.h> diff --git a/common/kgdb_stubs.c b/common/kgdb_stubs.c index afa7d6403a..c061126bed 100644 --- a/common/kgdb_stubs.c +++ b/common/kgdb_stubs.c @@ -8,6 +8,7 @@ */ #include <common.h> +#include <cpu_func.h> #include <kgdb.h> #include <serial.h> diff --git a/common/spl/spl_atf.c b/common/spl/spl_atf.c index 0498d0a2c9..df29274207 100644 --- a/common/spl/spl_atf.c +++ b/common/spl/spl_atf.c @@ -11,6 +11,7 @@ #include <common.h> #include <atf_common.h> +#include <cpu_func.h> #include <errno.h> #include <spl.h> |