From 7138ee445c713867edd67c20fef10444f7aea6d1 Mon Sep 17 00:00:00 2001 From: Aaron Durbin Date: Tue, 26 May 2015 11:26:34 -0500 Subject: cbmem: remove cbmem_set_top() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-on: http://review.coreboot.org/10314 Reviewed-by: Paul Menzel Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki --- src/arch/x86/boot/cbmem.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/arch') 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) -- cgit v1.2.3