summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorStefan Reinauer <reinauer@chromium.org>2012-05-02 16:27:26 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-05-03 20:33:13 +0200
commitcabc8042a265eb309c230aed72851cfd37c3ff4c (patch)
tree12c01972fb401898c8f91409b7922f2dc1e207be /src/lib
parent3b5a9edcb2153d9a9530dcd50b5eb2f844faef5d (diff)
downloadcoreboot-cabc8042a265eb309c230aed72851cfd37c3ff4c.tar.xz
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 <reinauer@google.com> Reviewed-on: http://review.coreboot.org/990 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/cbmem.c1
1 files changed, 1 insertions, 0 deletions
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);
}