diff options
author | Naveen Manohar <naveen.m@intel.com> | 2018-01-22 22:13:01 +0530 |
---|---|---|
committer | Martin Roth <martinroth@google.com> | 2018-02-10 23:58:57 +0000 |
commit | f0b3a5fe4fca88cc17933ff18bec483afcf28002 (patch) | |
tree | 1dba012335ddfd7545d28ee1621e5eafc17112a2 /src/mainboard/google/poppy/variants | |
parent | 3dd7d84c7c2e98eba8e5a6580a481ef7a8e5f89b (diff) |
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>
Diffstat (limited to 'src/mainboard/google/poppy/variants')
-rw-r--r-- | src/mainboard/google/poppy/variants/nautilus/nhlt.c | 8 |
1 files changed, 8 insertions, 0 deletions
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; +} |