From 9b4a205f454dd19687aaf9a22a5bc01164182a90 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 28 Dec 2019 10:45:05 -0700 Subject: 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 --- include/init.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/init.h') diff --git a/include/init.h b/include/init.h index c5498476f8..cb92c6a4b7 100644 --- a/include/init.h +++ b/include/init.h @@ -106,6 +106,9 @@ int dram_init(void); */ int dram_init_banksize(void); +long get_ram_size(long *base, long size); +phys_size_t get_effective_memsize(void); + /** * arch_reserve_stacks() - Reserve all necessary stacks * -- cgit v1.2.3