[coreboot-gerrit] Patch set updated for coreboot: f8e2132 util/cbmem: Print name instead of ID of CBMEM_ID_SMM_SAVE_SPACE

Paul Menzel (paulepanter@users.sourceforge.net) gerrit at coreboot.org
Fri Oct 24 01:31:36 CEST 2014


Paul Menzel (paulepanter at users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/7176

-gerrit

commit f8e21325dcab2bd69e5f1a435f6ff6545428c61f
Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date:   Fri Oct 24 01:15:10 2014 +0200

    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 at users.sourceforge.net>
---
 util/cbmem/cbmem.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/util/cbmem/cbmem.c b/util/cbmem/cbmem.c
index f1de620..999135f 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)



More information about the coreboot-gerrit mailing list