[coreboot-gerrit] Patch set updated for coreboot: mainboard/google/reef: fill in NHLT ACPI OEM header fields

Aaron Durbin (adurbin@chromium.org) gerrit at coreboot.org
Thu Dec 8 03:34:39 CET 2016


Aaron Durbin (adurbin at chromium.org) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17772

-gerrit

commit 5030fc7d10d63c84f2eb796a451fde6cb5cfb669
Author: Aaron Durbin <adurbin at chromium.org>
Date:   Wed Dec 7 17:39:09 2016 -0600

    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 at chromium.org>
---
 src/mainboard/google/reef/mainboard.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/mainboard/google/reef/mainboard.c b/src/mainboard/google/reef/mainboard.c
index e350df2..702269c 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(



More information about the coreboot-gerrit mailing list