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>
diff --git a/include/common.h b/include/common.h
index c69bad9..f9ad184 100644
--- a/include/common.h
+++ b/include/common.h
@@ -59,10 +59,6 @@
#include <display_options.h>
-/* common/memsize.c */
-long get_ram_size (long *, long);
-phys_size_t get_effective_memsize(void);
-
#if defined(CONFIG_SYS_DRAM_TEST)
int testdram(void);
#endif /* CONFIG_SYS_DRAM_TEST */
diff --git a/include/init.h b/include/init.h
index c549847..cb92c6a 100644
--- a/include/init.h
+++ b/include/init.h
@@ -106,6 +106,9 @@
*/
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
*