summaryrefslogtreecommitdiff
path: root/src/include/boot
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2011-10-03 14:58:57 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2012-03-29 20:19:27 +0200
commit22c0468d3927a370b9723e9e78714c2731d33a81 (patch)
treee2eacd3c2bd07653ef303ed0219557bf0d222e44 /src/include/boot
parent2e43867a20107014cba1f32137adfee8af35a05d (diff)
downloadcoreboot-22c0468d3927a370b9723e9e78714c2731d33a81.tar.xz
Refactor publishing CBMEM addresses through coreboot table.
We need to provide u-boot access to several different CBMEM sections. To do that, a common coreboot table structure is used, just different tags match different coreboot table sections. Also, the code is added to export CBMEM console and MRC cache addresses through the same mechanism. Change-Id: I63adb67093b8b50ee61b0deb0b56ebb2c4856895 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: http://review.coreboot.org/724 Tested-by: build bot (Jenkins) Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Diffstat (limited to 'src/include/boot')
-rw-r--r--src/include/boot/coreboot_tables.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/boot/coreboot_tables.h b/src/include/boot/coreboot_tables.h
index 46d64898b4..5535a38a7c 100644
--- a/src/include/boot/coreboot_tables.h
+++ b/src/include/boot/coreboot_tables.h
@@ -196,11 +196,13 @@ struct lb_framebuffer {
};
#define LB_TAG_TIMESTAMPS 0x0016
-struct lb_tstamp {
+#define LB_TAG_CBMEM_CONSOLE 0x0017
+#define LB_TAG_MRC_CACHE 0x0018
+struct lb_cbmem_ref {
uint32_t tag;
uint32_t size;
- void *tstamp_tab;
+ void *cbmem_addr;
};
/* The following structures are for the cmos definitions table */