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>
This commit is contained in:
Aaron Durbin
2013-02-08 17:11:28 -06:00
committed by Stefan Reinauer
parent a146d58ca0
commit a1db81b47a
2 changed files with 2 additions and 0 deletions

View File

@@ -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);