summaryrefslogtreecommitdiff
path: root/src/include/cbmem.h
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2017-08-02 10:40:25 -0600
committerAaron Durbin <adurbin@chromium.org>2017-08-03 16:37:00 +0000
commitfb532427163f8262ad5bf69e455366eabe4ea5b2 (patch)
tree61e0cc77f07d34c68f18c03411d4fbf9c183e326 /src/include/cbmem.h
parent33e57906f5efa435ddf524cfc3bb3f8a82864975 (diff)
lib/cbmem: remove cbmem_region_used()
The cbmem_region_used() function wasn't being utilized outside this module. Threfore, reduce the surface area. Change-Id: I28a9d02221048ab0aa4cd3d986d17ee7692ce636 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/20858 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Furquan Shaikh <furquan@google.com>
Diffstat (limited to 'src/include/cbmem.h')
-rw-r--r--src/include/cbmem.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/include/cbmem.h b/src/include/cbmem.h
index 68f3615565..b2d2a8be6c 100644
--- a/src/include/cbmem.h
+++ b/src/include/cbmem.h
@@ -97,8 +97,6 @@ int cbmem_recovery(int s3resume);
void *cbmem_add(u32 id, u64 size);
/* Find a cbmem entry of a given id. These return NULL on failure. */
void *cbmem_find(u32 id);
-/* Get location and size of CBMEM region in memory */
-void cbmem_region_used(uintptr_t *base, size_t *size);
/* Indicate to each hook if cbmem is being recovered or not. */
typedef void (* const cbmem_init_hook_t)(int is_recovery);