diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2011-10-03 14:58:57 -0700 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2012-03-29 20:19:27 +0200 |
commit | 22c0468d3927a370b9723e9e78714c2731d33a81 (patch) | |
tree | e2eacd3c2bd07653ef303ed0219557bf0d222e44 /src/include/boot | |
parent | 2e43867a20107014cba1f32137adfee8af35a05d (diff) | |
download | coreboot-22c0468d3927a370b9723e9e78714c2731d33a81.tar.gz coreboot-22c0468d3927a370b9723e9e78714c2731d33a81.tar.bz2 coreboot-22c0468d3927a370b9723e9e78714c2731d33a81.zip |
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.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/include/boot/coreboot_tables.h b/src/include/boot/coreboot_tables.h index 46d64898b47c..5535a38a7c46 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 */ |