summaryrefslogtreecommitdiffstats
path: root/drivers/ram/stm32mp1
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 10:45:05 -0700
committerTom Rini <trini@konsulko.com>2020-01-17 14:02:35 -0500
commit9b4a205f454dd19687aaf9a22a5bc01164182a90 (patch)
treeeeca3b94aec1800823498c7a237ba67186214443 /drivers/ram/stm32mp1
parent220a3a44a339a32b3dae13122ec85ccaede5d988 (diff)
downloadu-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.c1
-rw-r--r--drivers/ram/stm32mp1/stm32mp1_tests.c1
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>