summaryrefslogtreecommitdiff
path: root/src/lib/cbmem_info.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/cbmem_info.c')
-rw-r--r--src/lib/cbmem_info.c36
1 files changed, 1 insertions, 35 deletions
diff --git a/src/lib/cbmem_info.c b/src/lib/cbmem_info.c
index 49724d6e28..7b1168dc4e 100644
--- a/src/lib/cbmem_info.c
+++ b/src/lib/cbmem_info.c
@@ -20,41 +20,7 @@
#include <cbmem.h>
#include <stdlib.h>
-static struct cbmem_id_to_name {
- u32 id;
- const char *name;
-} cbmem_ids[] = {
- { CBMEM_ID_FREESPACE, "FREE SPACE " },
- { CBMEM_ID_GDT, "GDT " },
- { CBMEM_ID_ACPI, "ACPI " },
- { CBMEM_ID_CBTABLE, "COREBOOT " },
- { CBMEM_ID_PIRQ, "IRQ TABLE " },
- { CBMEM_ID_MPTABLE, "SMP TABLE " },
- { CBMEM_ID_RESUME, "ACPI RESUME" },
- { CBMEM_ID_RESUME_SCRATCH, "ACPISCRATCH" },
- { CBMEM_ID_ACPI_GNVS, "ACPI GNVS " },
- { CBMEM_ID_ACPI_GNVS_PTR, "GNVS PTR " },
- { CBMEM_ID_SMBIOS, "SMBIOS " },
- { CBMEM_ID_TIMESTAMP, "TIME STAMP " },
- { CBMEM_ID_MRCDATA, "MRC DATA " },
- { CBMEM_ID_CONSOLE, "CONSOLE " },
- { CBMEM_ID_ELOG, "ELOG " },
- { CBMEM_ID_COVERAGE, "COVERAGE " },
- { CBMEM_ID_ROMSTAGE_INFO, "ROMSTAGE " },
- { CBMEM_ID_ROMSTAGE_RAM_STACK, "ROMSTG STCK" },
- { CBMEM_ID_RAMSTAGE, "RAMSTAGE " },
- { CBMEM_ID_RAMSTAGE_CACHE, "RAMSTAGE $ " },
- { CBMEM_ID_ROOT, "CBMEM ROOT " },
- { CBMEM_ID_VBOOT_HANDOFF, "VBOOT " },
- { CBMEM_ID_CAR_GLOBALS, "CAR GLOBALS" },
- { CBMEM_ID_AGESA_RUNTIME, "AGESA RSVD " },
- { CBMEM_ID_EHCI_DEBUG, "USBDEBUG " },
- { CBMEM_ID_REFCODE, "REFCODE " },
- { CBMEM_ID_SMM_SAVE_SPACE, "SMM BACKUP " },
- { CBMEM_ID_REFCODE_CACHE, "REFCODE $ " },
- { CBMEM_ID_POWER_STATE, "POWER STATE" },
- { CBMEM_ID_RAM_OOPS, "RAMOOPS " },
-};
+static const struct cbmem_id_to_name cbmem_ids[] = { CBMEM_ID_TO_NAME_TABLE };
void cbmem_print_entry(int n, u32 id, u64 base, u64 size)
{