diff options
author | Simon Glass | 2019-12-28 10:45:05 -0700 |
---|---|---|
committer | Tom Rini | 2020-01-17 14:02:35 -0500 |
commit | 9b4a205f454dd19687aaf9a22a5bc01164182a90 (patch) | |
tree | eeca3b94aec1800823498c7a237ba67186214443 /arch/arm/cpu | |
parent | 220a3a44a339a32b3dae13122ec85ccaede5d988 (diff) |
common: Move RAM-sizing functions to init.h
These functions relate to memory init so move them into the init
header.
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/arm/cpu')
-rw-r--r-- | arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c | 1 | ||||
-rw-r--r-- | arch/arm/cpu/arm926ejs/spear/spr_misc.c | 1 | ||||
-rw-r--r-- | arch/arm/cpu/armv8/fsl-layerscape/cpu.c | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c b/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c index 7818d729086..542543cc285 100644 --- a/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c +++ b/arch/arm/cpu/arm926ejs/mxs/spl_mem_init.c @@ -8,6 +8,7 @@ #include <common.h> #include <config.h> +#include <init.h> #include <asm/io.h> #include <asm/arch/imx-regs.h> #include <asm/arch/sys_proto.h> diff --git a/arch/arm/cpu/arm926ejs/spear/spr_misc.c b/arch/arm/cpu/arm926ejs/spear/spr_misc.c index ccf944f8140..d5be646555e 100644 --- a/arch/arm/cpu/arm926ejs/spear/spr_misc.c +++ b/arch/arm/cpu/arm926ejs/spear/spr_misc.c @@ -9,6 +9,7 @@ #include <cpu_func.h> #include <env.h> #include <i2c.h> +#include <init.h> #include <net.h> #include <linux/mtd/st_smi.h> #include <asm/io.h> diff --git a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c b/arch/arm/cpu/armv8/fsl-layerscape/cpu.c index 639f5316498..e3df696b886 100644 --- a/arch/arm/cpu/armv8/fsl-layerscape/cpu.c +++ b/arch/arm/cpu/armv8/fsl-layerscape/cpu.c @@ -8,6 +8,7 @@ #include <cpu_func.h> #include <env.h> #include <fsl_ddr_sdram.h> +#include <init.h> #include <vsprintf.h> #include <asm/io.h> #include <linux/errno.h> |