commit | a07a6f233f5701e8b51b7ee6d24eb5745f75753d | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Dec 28 10:45:05 2019 -0700 |
committer | Jagan Teki <jagan@amarulasolutions.com> | Fri Jan 24 23:06:49 2020 +0530 |
tree | d5f2844bc33c47369b5b73e75a58d12127cc37ad | |
parent | a7ec4d62adaf24cdc6282af92f293775c6e48b89 [diff] [blame] |
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/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 *