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>
This commit is contained in:
Simon Glass
2019-12-28 10:45:05 -07:00
committed by Tom Rini
parent 220a3a44a3
commit 9b4a205f45
103 changed files with 106 additions and 5 deletions

View File

@@ -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
*