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>
This commit is contained in:
Kaiyen Chang 2018-02-09 15:35:14 +08:00 committed by Martin Roth
parent 47dd96db97
commit b924f40570
1 changed files with 8 additions and 0 deletions

View File

@ -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;
}