summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2013-03-13 12:48:33 -0500
committerStefan Reinauer <stefan.reinauer@coreboot.org>2013-03-22 00:14:07 +0100
commit0c6946db3f777e212c9b2c5a7443f6c2946a199e (patch)
tree3d9b83f6da57170a229d3913c663f1fe9b0c532c /src
parentc0cbd6e8c2bad5453f7c3b6961bc12d03862497a (diff)
downloadcoreboot-0c6946db3f777e212c9b2c5a7443f6c2946a199e.tar.xz
cbmem: add vboot cmbem id
The vboot firmware selection from romstage will need to pass the resulting vboot data to other consumers. This will be done using a cbmem entry. Change-Id: I497caba53f9f3944513382f3929d21b04bf3ba9e Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/2851 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src')
-rw-r--r--src/include/cbmem.h1
-rw-r--r--src/lib/cbmem_info.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/include/cbmem.h b/src/include/cbmem.h
index b3d9f869c8..5b19207d07 100644
--- a/src/include/cbmem.h
+++ b/src/include/cbmem.h
@@ -67,6 +67,7 @@
#define CBMEM_ID_RAMSTAGE 0x9a357a9e
#define CBMEM_ID_RAMSTAGE_CACHE 0x9a3ca54e
#define CBMEM_ID_ROOT 0xff4007ff
+#define CBMEM_ID_VBOOT_HANDOFF 0x780074f0
#define CBMEM_ID_NONE 0x00000000
#ifndef __ASSEMBLER__
diff --git a/src/lib/cbmem_info.c b/src/lib/cbmem_info.c
index aaf5840684..5b02f2df75 100644
--- a/src/lib/cbmem_info.c
+++ b/src/lib/cbmem_info.c
@@ -44,6 +44,7 @@ static struct cbmem_id_to_name {
{ CBMEM_ID_RAMSTAGE, "RAMSTAGE " },
{ CBMEM_ID_RAMSTAGE_CACHE, "RAMSTAGE $ " },
{ CBMEM_ID_ROOT, "CBMEM ROOT " },
+ { CBMEM_ID_VBOOT_HANDOFF, "VBOOT " },
};
void cbmem_print_entry(int n, u32 id, u64 base, u64 size)