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 /arch/arm/cpu/arm926ejs | |
parent | 6cc915b5fb2e3467b20735b112a7463cc77ec3c3 (diff) | |
download | u-boot-9edefc27760b00309d482d94fdc23bf5d2ea2c42.tar.gz |
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 'arch/arm/cpu/arm926ejs')
-rw-r--r-- | arch/arm/cpu/arm926ejs/armada100/cpu.c | 1 | ||||
-rw-r--r-- | arch/arm/cpu/arm926ejs/cache.c | 1 | ||||
-rw-r--r-- | arch/arm/cpu/arm926ejs/cpu.c | 1 | ||||
-rw-r--r-- | arch/arm/cpu/arm926ejs/spear/spr_misc.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm926ejs/armada100/cpu.c b/arch/arm/cpu/arm926ejs/armada100/cpu.c index 4cd8511414..0c81de7e36 100644 --- a/arch/arm/cpu/arm926ejs/armada100/cpu.c +++ b/arch/arm/cpu/arm926ejs/armada100/cpu.c @@ -7,6 +7,7 @@ */ #include <common.h> +#include <cpu_func.h> #include <asm/arch/cpu.h> #include <asm/arch/armada100.h> diff --git a/arch/arm/cpu/arm926ejs/cache.c b/arch/arm/cpu/arm926ejs/cache.c index 16eea693d1..7b7eaaf31d 100644 --- a/arch/arm/cpu/arm926ejs/cache.c +++ b/arch/arm/cpu/arm926ejs/cache.c @@ -3,6 +3,7 @@ * (C) Copyright 2011 * Ilya Yanok, EmCraft Systems */ +#include <cpu_func.h> #include <linux/types.h> #include <common.h> diff --git a/arch/arm/cpu/arm926ejs/cpu.c b/arch/arm/cpu/arm926ejs/cpu.c index d7cffe8b69..2ae46f0357 100644 --- a/arch/arm/cpu/arm926ejs/cpu.c +++ b/arch/arm/cpu/arm926ejs/cpu.c @@ -14,6 +14,7 @@ #include <common.h> #include <command.h> +#include <cpu_func.h> #include <asm/system.h> static void cache_flush(void); diff --git a/arch/arm/cpu/arm926ejs/spear/spr_misc.c b/arch/arm/cpu/arm926ejs/spear/spr_misc.c index d36484c9d6..ccf944f814 100644 --- a/arch/arm/cpu/arm926ejs/spear/spr_misc.c +++ b/arch/arm/cpu/arm926ejs/spear/spr_misc.c @@ -6,6 +6,7 @@ #include <common.h> #include <command.h> +#include <cpu_func.h> #include <env.h> #include <i2c.h> #include <net.h> |