summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2019-12-28 20:45:05 +0300
committerJagan Teki <jagan@amarulasolutions.com>2020-01-24 20:36:49 +0300
commit91527c9a306fca0f8162a22d8ecc4c7be0dfe332 (patch)
treed5f2844bc33c47369b5b73e75a58d12127cc37ad /common
parentf32934916c65d3c26c5436b393d886fce8b9ab9f (diff)
downloadu-boot-91527c9a306fca0f8162a22d8ecc4c7be0dfe332.tar.xz
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 13b0047786..e95c68265a 100644
--- a/common/memsize.c
+++ b/common/memsize.c
@@ -5,6 +5,7 @@
*/
#include <common.h>
+#include <init.h>
DECLARE_GLOBAL_DATA_PTR;