summaryrefslogtreecommitdiff
path: root/util/cbmem
diff options
context:
space:
mode:
authorPaul Menzel <paulepanter@users.sourceforge.net>2014-10-24 01:15:10 +0200
committerPatrick Georgi <pgeorgi@google.com>2014-12-03 12:33:43 +0100
commit29635415a6fadbd9d7bc9b7738babe67f0702db3 (patch)
tree695e3e95df2f15f62bea360e7ff94583549f6497 /util/cbmem
parentd743e0daf3de88077068c47712d4e5bf12a1732c (diff)
downloadcoreboot-29635415a6fadbd9d7bc9b7738babe67f0702db3.tar.xz
util/cbmem: Print name instead of ID of CBMEM_ID_SMM_SAVE_SPACE
Commit b4b9eb39 (x86: provide infrastructure to backup default SMM region) introduced the new CBMEM type `CBMEM_ID_SMM_SAVE_SPACE`, but did not add its name `SMM BACKUP` to the utility `cbmem`, causing the following output, when running `cbmem` on a system making use of `BACKUP_DEFAULT_SMM_REGION`. 7. 07e9acee 7f7e5000 00010000 Fix that by adding the name `SMM BACKUP` to the struct `cbmem_id_to_name`. Change-Id: Ib24088c07af4daf6b7d8d5854283b5faa2ad6503 Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-on: http://review.coreboot.org/7176 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
Diffstat (limited to 'util/cbmem')
-rw-r--r--util/cbmem/cbmem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/cbmem/cbmem.c b/util/cbmem/cbmem.c
index f1de620c59..999135f531 100644
--- a/util/cbmem/cbmem.c
+++ b/util/cbmem/cbmem.c
@@ -614,6 +614,7 @@ static const struct cbmem_id_to_name {
{ CBMEM_ID_ROOT, "CBMEM ROOT " },
{ CBMEM_ID_VBOOT_HANDOFF, "VBOOT " },
{ CBMEM_ID_CAR_GLOBALS, "CAR GLOBALS" },
+ { CBMEM_ID_SMM_SAVE_SPACE, "SMM BACKUP " },
};
void cbmem_print_entry(int n, uint32_t id, uint64_t base, uint64_t size)