diff options
author | Simon Glass | 2019-12-28 10:44:58 -0700 |
---|---|---|
committer | Tom Rini | 2020-01-17 13:27:29 -0500 |
commit | d96c26040e901a1ab0264a105e61ee9dadbca701 (patch) | |
tree | f0cc6b3d11ecaa17e4fb644b7cce3cc23e57142a /arch/m68k/cpu | |
parent | 6d1fdb1efb3864e53ccd9e7a4c30eebca03cad1b (diff) |
common: Move clock functions into a new file
These three clock functions don't use driver model and should be migrated.
In the meantime, create a new file to hold them.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/m68k/cpu')
-rw-r--r-- | arch/m68k/cpu/mcf5227x/speed.c | 1 | ||||
-rw-r--r-- | arch/m68k/cpu/mcf523x/speed.c | 1 | ||||
-rw-r--r-- | arch/m68k/cpu/mcf52x2/speed.c | 3 | ||||
-rw-r--r-- | arch/m68k/cpu/mcf530x/speed.c | 1 | ||||
-rw-r--r-- | arch/m68k/cpu/mcf532x/speed.c | 1 | ||||
-rw-r--r-- | arch/m68k/cpu/mcf5445x/speed.c | 1 | ||||
-rw-r--r-- | arch/m68k/cpu/mcf547x_8x/speed.c | 1 |
7 files changed, 8 insertions, 1 deletions
diff --git a/arch/m68k/cpu/mcf5227x/speed.c b/arch/m68k/cpu/mcf5227x/speed.c index f4e53bc82bb..207f4534807 100644 --- a/arch/m68k/cpu/mcf5227x/speed.c +++ b/arch/m68k/cpu/mcf5227x/speed.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <clock_legacy.h> #include <asm/processor.h> #include <asm/immap.h> diff --git a/arch/m68k/cpu/mcf523x/speed.c b/arch/m68k/cpu/mcf523x/speed.c index a0c1d53e41d..2f65ac23182 100644 --- a/arch/m68k/cpu/mcf523x/speed.c +++ b/arch/m68k/cpu/mcf523x/speed.c @@ -9,6 +9,7 @@ */ #include <common.h> +#include <clock_legacy.h> #include <asm/processor.h> #include <asm/immap.h> diff --git a/arch/m68k/cpu/mcf52x2/speed.c b/arch/m68k/cpu/mcf52x2/speed.c index 0f274adf451..02ef5d87aa7 100644 --- a/arch/m68k/cpu/mcf52x2/speed.c +++ b/arch/m68k/cpu/mcf52x2/speed.c @@ -8,6 +8,7 @@ */ #include <common.h> +#include <clock_legacy.h> #include <asm/processor.h> #include <asm/immap.h> #include <asm/io.h> @@ -15,7 +16,7 @@ DECLARE_GLOBAL_DATA_PTR; /* get_clocks() fills in gd->cpu_clock and gd->bus_clk */ -int get_clocks (void) +int get_clocks(void) { #if defined(CONFIG_M5208) pll_t *pll = (pll_t *) MMAP_PLL; diff --git a/arch/m68k/cpu/mcf530x/speed.c b/arch/m68k/cpu/mcf530x/speed.c index ae260477807..cf53dfeb150 100644 --- a/arch/m68k/cpu/mcf530x/speed.c +++ b/arch/m68k/cpu/mcf530x/speed.c @@ -5,6 +5,7 @@ */ #include <common.h> +#include <clock_legacy.h> #include <asm/processor.h> #include <asm/immap.h> diff --git a/arch/m68k/cpu/mcf532x/speed.c b/arch/m68k/cpu/mcf532x/speed.c index 661abfa8877..0f54ea4b6a8 100644 --- a/arch/m68k/cpu/mcf532x/speed.c +++ b/arch/m68k/cpu/mcf532x/speed.c @@ -9,6 +9,7 @@ */ #include <common.h> +#include <clock_legacy.h> #include <asm/processor.h> #include <asm/immap.h> diff --git a/arch/m68k/cpu/mcf5445x/speed.c b/arch/m68k/cpu/mcf5445x/speed.c index e15e32ebde6..eaa3b39bec6 100644 --- a/arch/m68k/cpu/mcf5445x/speed.c +++ b/arch/m68k/cpu/mcf5445x/speed.c @@ -6,6 +6,7 @@ */ #include <common.h> +#include <clock_legacy.h> #include <asm/processor.h> #include <asm/immap.h> diff --git a/arch/m68k/cpu/mcf547x_8x/speed.c b/arch/m68k/cpu/mcf547x_8x/speed.c index 5ba6426c454..bc22560ed2c 100644 --- a/arch/m68k/cpu/mcf547x_8x/speed.c +++ b/arch/m68k/cpu/mcf547x_8x/speed.c @@ -9,6 +9,7 @@ */ #include <common.h> +#include <clock_legacy.h> #include <asm/processor.h> #include <asm/immap.h> |