diff options
author | Kaiyen Chang <kaiyen.chang@intel.com> | 2018-02-09 15:35:14 +0800 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-02-10 23:57:36 +0000 |
commit | b924f405701f7d4182f1f1af7164e69acf87d4fd (patch) | |
tree | 5424e09b6d16948715e16d534004f6c802669e75 /src/mainboard/google/poppy/variants | |
parent | 47dd96db9739a534eaf7df63a7d7b4b7cfc220c0 (diff) |
mb/google/poppy/variants/nami: set oem_id, oem_table_id fields of acpi_header_t
This change makes Nami platform update the two fields:
*oem_id* and *oem_table_id*, if the Maxim codec is detected.
Change is made to correct the audio topology file name that is
being read from oem_id fields, loaded and displayed in dmesg.
BUG=b:70646770
TEST=Verify kernel reads new strings.
Change-Id: I513a997f312e2d37d76da0379feb017d1f591f9a
Signed-off-by: Kaiyen Chang <kaiyen.chang@intel.com>
Reviewed-on: https://review.coreboot.org/23670
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard/google/poppy/variants')
-rw-r--r-- | src/mainboard/google/poppy/variants/nami/nhlt.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/google/poppy/variants/nami/nhlt.c b/src/mainboard/google/poppy/variants/nami/nhlt.c index 690fed570b..c3096d4765 100644 --- a/src/mainboard/google/poppy/variants/nami/nhlt.c +++ b/src/mainboard/google/poppy/variants/nami/nhlt.c @@ -33,3 +33,11 @@ void variant_nhlt_init(struct nhlt *nhlt) printk(BIOS_ERR, "Couldn't add Maxim_98357 codec.\n"); } + +void variant_nhlt_oem_overrides(const char **oem_id, const char **oem_table_id, + uint32_t *oem_revision) +{ + *oem_id = "GOOGLE"; + *oem_table_id = "NAMIMAX"; + *oem_revision = 0; +} |