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>
This commit is contained in:
parent
d743e0daf3
commit
29635415a6
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue