Aaron Durbin (adurbin@google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/5015
-gerrit
commit 80f75b9c1a2323cc9a9d734454557e08ed9ebd8a Author: Duncan Laurie dlaurie@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@chromium.org Reviewed-on: https://chromium-review.googlesource.com/179849 Reviewed-by: Aaron Durbin adurbin@chromium.org Signed-off-by: Aaron Durbin adurbin@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;