[coreboot-gerrit] Patch set updated for coreboot: 2742937 cbmem: Export ACPI GNVS cbmem pointer in coreboot table
Aaron Durbin (adurbin@google.com)
gerrit at coreboot.org
Tue Jan 28 21:43:01 CET 2014
Aaron Durbin (adurbin at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5015
-gerrit
commit 2742937b4c44935a55d186bf66bcd090f4ad89c4
Author: Duncan Laurie <dlaurie at chromium.org>
Date: Thu Dec 12 10:43:21 2013 -0800
cbmem: Export ACPI GNVS cbmem pointer in coreboot table
This will make it possible for payloads to find the ACPI
NVS region which is needed to get base addresses for devices
that are in ACPI mode.
BUG=chrome-os-partner:24380
BRANCH=none
TEST=build and boot rambi with emmc in ACPI mode
Change-Id: Ia67b66ee8bd45ab8270444bbb2802080d31d14eb
Signed-off-by: Duncan Laurie <dlaurie at chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/179849
Reviewed-by: Aaron Durbin <adurbin at chromium.org>
Signed-off-by: Aaron Durbin <adurbin at chromium.org>
---
src/include/boot/coreboot_tables.h | 1 +
src/lib/coreboot_table.c | 3 ++-
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/include/boot/coreboot_tables.h b/src/include/boot/coreboot_tables.h
index aa8409a..6243d45 100644
--- a/src/include/boot/coreboot_tables.h
+++ b/src/include/boot/coreboot_tables.h
@@ -225,6 +225,7 @@ struct lb_vdat {
#define LB_TAG_TIMESTAMPS 0x0016
#define LB_TAG_CBMEM_CONSOLE 0x0017
#define LB_TAG_MRC_CACHE 0x0018
+#define LB_TAG_ACPI_GNVS 0x0024
struct lb_cbmem_ref {
uint32_t tag;
uint32_t size;
diff --git a/src/lib/coreboot_table.c b/src/lib/coreboot_table.c
index 183e103..d5dc14c 100644
--- a/src/lib/coreboot_table.c
+++ b/src/lib/coreboot_table.c
@@ -264,7 +264,8 @@ static void add_cbmem_pointers(struct lb_header *header)
int table_tag;
} section_ids[] = {
{CBMEM_ID_TIMESTAMP, LB_TAG_TIMESTAMPS},
- {CBMEM_ID_CONSOLE, LB_TAG_CBMEM_CONSOLE}
+ {CBMEM_ID_CONSOLE, LB_TAG_CBMEM_CONSOLE},
+ {CBMEM_ID_ACPI_GNVS, LB_TAG_ACPI_GNVS},
};
int i;
More information about the coreboot-gerrit
mailing list