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>
This commit is contained in:
parent
f10d333fe5
commit
2c60599448
2 changed files with 3 additions and 1 deletions
|
|
@ -228,6 +228,7 @@ struct lb_range {
|
|||
#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;
|
||||
|
|
|
|||
|
|
@ -267,7 +267,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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue