CBMEM: Unify get_top_of_ram()

Change-Id: Ic40a51638873642f33c74d80ac41cf082b2fb177
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: http://review.coreboot.org/3904
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@google.com>
This commit is contained in:
Kyösti Mälkki
2013-09-04 01:11:16 +03:00
parent e1ea802ea6
commit dcb688e5ec
14 changed files with 8 additions and 12 deletions

View File

@@ -222,7 +222,6 @@ int cbmem_initialize(void)
int rv = 0;
#ifdef __PRE_RAM__
extern unsigned long get_top_of_ram(void);
uint64_t high_tables_base = get_top_of_ram() - HIGH_MEMORY_SIZE;
uint64_t high_tables_size = HIGH_MEMORY_SIZE;
#endif