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/include/cbmem.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/include') diff --git a/src/include/cbmem.h b/src/include/cbmem.h index 0a7ca89cd4..a8ab3cd61b 100644 --- a/src/include/cbmem.h +++ b/src/include/cbmem.h @@ -176,9 +176,6 @@ void cbmem_initialize_empty_id_size(u32 id, u64 size); * below 4GiB. */ void *cbmem_top(void); -/* Set the top address for dynamic cbmem. Not for new designs. */ -void cbmem_set_top(void *ramtop); - /* Add a cbmem entry of a given size and id. These return NULL on failure. The * add function performs a find first and do not check against the original * size. */ -- cgit v1.2.3