From 16e899ba943f45b8506c3e75752adfc7dc2b52ba Mon Sep 17 00:00:00 2001 From: Duncan Laurie Date: Thu, 12 Dec 2013 10:43:21 -0800 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/179849 Reviewed-by: Aaron Durbin Signed-off-by: Aaron Durbin Reviewed-on: http://review.coreboot.org/5015 Reviewed-by: Alexandru Gagniuc Tested-by: build bot (Jenkins) --- src/lib/coreboot_table.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib/coreboot_table.c') 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; -- cgit v1.1