From f0b3a5fe4fca88cc17933ff18bec483afcf28002 Mon Sep 17 00:00:00 2001 From: Naveen Manohar Date: Mon, 22 Jan 2018 22:13:01 +0530 Subject: 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 Reviewed-on: https://review.coreboot.org/23648 Tested-by: build bot (Jenkins) Reviewed-by: Sathyanarayana Nujella Reviewed-by: Furquan Shaikh --- src/mainboard/google/poppy/variants/nautilus/nhlt.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/mainboard/google/poppy') diff --git a/src/mainboard/google/poppy/variants/nautilus/nhlt.c b/src/mainboard/google/poppy/variants/nautilus/nhlt.c index 690fed570b..1fe366800d 100644 --- a/src/mainboard/google/poppy/variants/nautilus/nhlt.c +++ b/src/mainboard/google/poppy/variants/nautilus/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 = "NAUTILUSMAX"; + *oem_revision = 0; +} -- cgit v1.2.3