diff options
author | Aaron Durbin <adurbin@chromium.org> | 2016-12-07 17:39:09 -0600 |
---|---|---|
committer | Aaron Durbin <adurbin@chromium.org> | 2016-12-09 17:26:54 +0100 |
commit | eb9c639a1bab81758e0eb7d348193054c7b96545 (patch) | |
tree | 55ab8870c1c2a6b0262402e9d4436e4e1fb687f6 | |
parent | 2b3a6bee77b3fcff721a6c7d34b3316a338bf1cb (diff) | |
download | coreboot-eb9c639a1bab81758e0eb7d348193054c7b96545.tar.xz |
mainboard/google/reef: fill in NHLT ACPI OEM header fields
Fill in the NHLT ACPI OEM header fields to differentiate
different audio solutions on a per board basis. This handles
boards that share a firmware that are differentiated by
the SKU id and boards that have their own firmware. For the
latter, the Oem Table ID uses the VARIANT_DIR to differentiate.
"reef" is always used for Oem ID which is treated as more of
family in this case.
iasl -d shows the following on reef:
[00Ah 0010 6] Oem ID : "reef"
[010h 0016 8] Oem Table ID : "reef"
[018h 0024 4] Oem Revision : 00000008
BUG=chrome-os-partner:60494
BRANCH=reef
Change-Id: I5daa6f0306bc05e812a8737ce61ee37177a36b76
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/17772
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
-rw-r--r-- | src/mainboard/google/reef/mainboard.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/google/reef/mainboard.c b/src/mainboard/google/reef/mainboard.c index e350df226e..702269c135 100644 --- a/src/mainboard/google/reef/mainboard.c +++ b/src/mainboard/google/reef/mainboard.c @@ -77,6 +77,9 @@ void __attribute__((weak)) variant_nhlt_oem_overrides(const char **oem_id, const char **oem_table_id, uint32_t *oem_revision) { + *oem_id = "reef"; + *oem_table_id = CONFIG_VARIANT_DIR; + *oem_revision = board_sku(); } static unsigned long mainboard_write_acpi_tables( |