summaryrefslogtreecommitdiff
path: root/src/lib/cbmem.c
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2013-09-04 01:11:16 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2013-09-11 07:16:00 +0200
commitdcb688e5ec88ac1d168509fa757c4665ef335ad4 (patch)
tree63805701b01de0ea6fd64397fa4df4876a9c02a9 /src/lib/cbmem.c
parente1ea802ea69b70826b997b9bb465e0b2a3b0fce8 (diff)
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>
Diffstat (limited to 'src/lib/cbmem.c')
-rw-r--r--src/lib/cbmem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lib/cbmem.c b/src/lib/cbmem.c
index 32a46140ce..41d80b8f85 100644
--- a/src/lib/cbmem.c
+++ b/src/lib/cbmem.c
@@ -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