diff options
author | Simon Glass <sjg@chromium.org> | 2019-12-28 10:45:05 -0700 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-01-17 14:02:35 -0500 |
commit | 9b4a205f454dd19687aaf9a22a5bc01164182a90 (patch) | |
tree | eeca3b94aec1800823498c7a237ba67186214443 /drivers/ram | |
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 'drivers/ram')
-rw-r--r-- | drivers/ram/bmips_ram.c | 1 | ||||
-rw-r--r-- | drivers/ram/mpc83xx_sdram.c | 1 | ||||
-rw-r--r-- | drivers/ram/stm32mp1/stm32mp1_ram.c | 1 | ||||
-rw-r--r-- | drivers/ram/stm32mp1/stm32mp1_tests.c | 1 |
4 files changed, 4 insertions, 0 deletions
diff --git a/drivers/ram/bmips_ram.c b/drivers/ram/bmips_ram.c index 3e1dd9e241..8f953e79af 100644 --- a/drivers/ram/bmips_ram.c +++ b/drivers/ram/bmips_ram.c @@ -10,6 +10,7 @@ #include <common.h> #include <dm.h> #include <errno.h> +#include <init.h> #include <ram.h> #include <asm/io.h> diff --git a/drivers/ram/mpc83xx_sdram.c b/drivers/ram/mpc83xx_sdram.c index f03d0428b2..46449d3d12 100644 --- a/drivers/ram/mpc83xx_sdram.c +++ b/drivers/ram/mpc83xx_sdram.c @@ -6,6 +6,7 @@ #include <common.h> #include <dm.h> +#include <init.h> #include <ram.h> #include <dt-bindings/memory/mpc83xx-sdram.h> diff --git a/drivers/ram/stm32mp1/stm32mp1_ram.c b/drivers/ram/stm32mp1/stm32mp1_ram.c index a362cf98bf..eb78f1198d 100644 --- a/drivers/ram/stm32mp1/stm32mp1_ram.c +++ b/drivers/ram/stm32mp1/stm32mp1_ram.c @@ -6,6 +6,7 @@ #include <common.h> #include <clk.h> #include <dm.h> +#include <init.h> #include <ram.h> #include <regmap.h> #include <syscon.h> diff --git a/drivers/ram/stm32mp1/stm32mp1_tests.c b/drivers/ram/stm32mp1/stm32mp1_tests.c index 581ee4897f..12298cf327 100644 --- a/drivers/ram/stm32mp1/stm32mp1_tests.c +++ b/drivers/ram/stm32mp1/stm32mp1_tests.c @@ -4,6 +4,7 @@ */ #include <common.h> #include <console.h> +#include <init.h> #include <watchdog.h> #include <asm/io.h> #include <linux/log2.h> |