summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2015-05-26 11:26:34 -0500
committerAaron Durbin <adurbin@chromium.org>2015-05-26 19:13:13 +0200
commit7138ee445c713867edd67c20fef10444f7aea6d1 (patch)
treee587ee311f7e2953cfefa1323745e5e0e2877785 /src/arch
parent1de648e272a7da523f05ca9d19226a308c1af852 (diff)
cbmem: remove cbmem_set_top()
Now that the users of cbmem_set_top() always provide a consistent cbmem_top() value there's no need to have cbmem_set_top() around. Therefore, delete it. Change-Id: I0c96e2b8b829eddbeb1fdf755ed59c51ea689d1b Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/10314 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/x86/boot/cbmem.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/arch/x86/boot/cbmem.c b/src/arch/x86/boot/cbmem.c
index ad8aacbfed..a9127d7c07 100644
--- a/src/arch/x86/boot/cbmem.c
+++ b/src/arch/x86/boot/cbmem.c
@@ -40,7 +40,6 @@ void set_top_of_ram(uint64_t ramtop)
{
backup_top_of_ram(ramtop);
ramtop_pointer = (void *)(uintptr_t)ramtop;
- cbmem_set_top(ramtop_pointer);
}
static inline void *saved_ramtop(void)