mb/google/poppy/variants/nautilus: set oem_id, oem_table_id fields of acpi_header_t

This change makes the Nautilus 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:68686020
TEST=Build, booted nautilus board. Verified kernel reads new strings.

Change-Id: I041f2838f07a2525be7a28fdc69b7f1af46d16f1
Signed-off-by: Naveen Manohar <naveen.m@intel.com>
Reviewed-on: https://review.coreboot.org/23648
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sathyanarayana Nujella <sathyanarayana.nujella@intel.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
This commit is contained in:
Naveen Manohar 2018-01-22 22:13:01 +05:30 committed by Martin Roth
parent 3dd7d84c7c
commit f0b3a5fe4f
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 = "NAUTILUSMAX";
*oem_revision = 0;
}