From cabc8042a265eb309c230aed72851cfd37c3ff4c Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Wed, 2 May 2012 16:27:26 -0700 Subject: [PATCH] Tell CBMEM pretty printer about MRC cache Sandybridge memory initialization produces some amount of training data that has to be kept around in CBMEM. Add a descriptive name to the CBMEM pretty printer to prevent it from just printing the hex value. Change-Id: I587c0bc3dfcf389ba298d445d2594eef73bc69a8 Signed-off-by: Stefan Reinauer Reviewed-on: http://review.coreboot.org/990 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich --- src/lib/cbmem.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/cbmem.c b/src/lib/cbmem.c index e54e1c0592..0f2a15db97 100644 --- a/src/lib/cbmem.c +++ b/src/lib/cbmem.c @@ -257,6 +257,7 @@ void cbmem_list(void) case CBMEM_ID_RESUME_SCRATCH: printk(BIOS_DEBUG, "ACPISCRATCH"); break; case CBMEM_ID_SMBIOS: printk(BIOS_DEBUG, "SMBIOS "); break; case CBMEM_ID_TIMESTAMP: printk(BIOS_DEBUG, "TIME STAMP "); break; + case CBMEM_ID_MRCDATA: printk(BIOS_DEBUG, "MRC DATA "); break; case CBMEM_ID_CONSOLE: printk(BIOS_DEBUG, "CONSOLE "); break; default: printk(BIOS_DEBUG, "%08x ", cbmem_toc[i].id); }