summaryrefslogtreecommitdiff
path: root/src/lib/cbmem.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/cbmem.c')
-rw-r--r--src/lib/cbmem.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/lib/cbmem.c b/src/lib/cbmem.c
index e6d39132d4..6b0cbc8948 100644
--- a/src/lib/cbmem.c
+++ b/src/lib/cbmem.c
@@ -256,17 +256,6 @@ BOOT_STATE_INIT_ENTRIES(cbmem_bscb) = {
init_cbmem_post_device, NULL),
};
-int cbmem_base_check(void)
-{
- if (!cbmem_base) {
- printk(BIOS_ERR, "ERROR: CBMEM Base is not set.\n");
- // Are there any boards without?
- // Stepan thinks we should die() here!
- }
- printk(BIOS_DEBUG, "CBMEM Base is %llx.\n", cbmem_base);
- return !!cbmem_base;
-}
-
void cbmem_add_lb_mem(struct lb_memory *mem)
{
lb_add_memory_range(mem, LB_MEM_TABLE, cbmem_base, cbmem_size);