From 29635415a6fadbd9d7bc9b7738babe67f0702db3 Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Fri, 24 Oct 2014 01:15:10 +0200 Subject: 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 Reviewed-on: http://review.coreboot.org/7176 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- util/cbmem/cbmem.c | 1 + 1 file changed, 1 insertion(+) (limited to 'util') 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) -- cgit v1.2.3