aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 10:45:05 -0700
committerJagan Teki <jagan@amarulasolutions.com>2020-01-24 23:06:49 +0530
commit91527c9a306fca0f8162a22d8ecc4c7be0dfe332 (patch)
treed5f2844bc33c47369b5b73e75a58d12127cc37ad /common
parentf32934916c65d3c26c5436b393d886fce8b9ab9f (diff)
downloadu-boot-91527c9a306fca0f8162a22d8ecc4c7be0dfe332.zip
u-boot-91527c9a306fca0f8162a22d8ecc4c7be0dfe332.tar.gz
u-boot-91527c9a306fca0f8162a22d8ecc4c7be0dfe332.tar.bz2
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 'common')
-rw-r--r--common/memsize.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/memsize.c b/common/memsize.c
index 13b0047..e95c682 100644
--- a/common/memsize.c
+++ b/common/memsize.c
@@ -5,6 +5,7 @@
*/
#include <common.h>
+#include <init.h>
DECLARE_GLOBAL_DATA_PTR;