diff options
author | Aaron Durbin <adurbin@chromium.org> | 2013-02-08 17:11:28 -0600 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2013-03-21 18:02:34 +0100 |
commit | a1db81b47a74ce53b8403eed28876efccf0bcefe (patch) | |
tree | 5367c0de8cd092b57f74ad4ab8228a2846246e85 /src | |
parent | a146d58ca0375a12f23dc5a4bd25adfa3423114f (diff) |
cbmem: add CBMEM_ID_ROMSTAGE_INFO id
Introduce a new cbmem id to indicate romstage information. Proper
coordination with ramstage and romstage can use this cbmem entity
to communicate between one another.
Change-Id: Id785f429eeff5b015188c36eb932e6a6ce122da8
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/2790
Tested-by: build bot (Jenkins)
Reviewed-by: Marc Jones <marc.jones@se-eng.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/include/cbmem.h | 1 | ||||
-rw-r--r-- | src/lib/cbmem.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/include/cbmem.h b/src/include/cbmem.h index 08e913a855..0aa9b305d7 100644 --- a/src/include/cbmem.h +++ b/src/include/cbmem.h @@ -56,6 +56,7 @@ #define CBMEM_ID_CONSOLE 0x434f4e53 #define CBMEM_ID_ELOG 0x454c4f47 #define CBMEM_ID_COVERAGE 0x47434f56 +#define CBMEM_ID_ROMSTAGE_INFO 0x47545352 #define CBMEM_ID_NONE 0x00000000 #ifndef __ASSEMBLER__ diff --git a/src/lib/cbmem.c b/src/lib/cbmem.c index f270f5d89b..5663cc85c4 100644 --- a/src/lib/cbmem.c +++ b/src/lib/cbmem.c @@ -262,6 +262,7 @@ void cbmem_list(void) case CBMEM_ID_CONSOLE: printk(BIOS_DEBUG, "CONSOLE "); break; case CBMEM_ID_ELOG: printk(BIOS_DEBUG, "ELOG "); break; case CBMEM_ID_COVERAGE: printk(BIOS_DEBUG, "COVERAGE "); break; + case CBMEM_ID_ROMSTAGE_INFO: printk(BIOS_DEBUG, "ROMSTAGE "); break; default: printk(BIOS_DEBUG, "%08x ", cbmem_toc[i].id); } printk(BIOS_DEBUG, "%08llx ", cbmem_toc[i].base); |