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/stm32mp1 | |
parent | 220a3a44a339a32b3dae13122ec85ccaede5d988 (diff) | |
download | u-boot-9b4a205f454dd19687aaf9a22a5bc01164182a90.tar.gz u-boot-9b4a205f454dd19687aaf9a22a5bc01164182a90.tar.xz u-boot-9b4a205f454dd19687aaf9a22a5bc01164182a90.zip |
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/stm32mp1')
-rw-r--r-- | drivers/ram/stm32mp1/stm32mp1_ram.c | 1 | ||||
-rw-r--r-- | drivers/ram/stm32mp1/stm32mp1_tests.c | 1 |
2 files changed, 2 insertions, 0 deletions
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> |