[coreboot-gerrit] Change in coreboot[master]: mb/google/poppy/variants/nami: set oem_id, oem_table_id fields of acp...

Kaiyen Chang (Code Review) gerrit at coreboot.org
Fri Feb 9 08:35:13 CET 2018


Kaiyen Chang has uploaded this change for review. ( https://review.coreboot.org/23670


Change subject: mb/google/poppy/variants/nami: set oem_id, oem_table_id fields of acpi_header_t
......................................................................

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 at intel.com>
---
M src/mainboard/google/poppy/variants/nami/nhlt.c
1 file changed, 9 insertions(+), 0 deletions(-)



  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/70/23670/1

diff --git a/src/mainboard/google/poppy/variants/nami/nhlt.c b/src/mainboard/google/poppy/variants/nami/nhlt.c
index 690fed5..7731650 100644
--- a/src/mainboard/google/poppy/variants/nami/nhlt.c
+++ b/src/mainboard/google/poppy/variants/nami/nhlt.c
@@ -33,3 +33,12 @@
 		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;
+}
+

-- 
To view, visit https://review.coreboot.org/23670
To unsubscribe, or for help writing mail filters, visit https://review.coreboot.org/settings

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I513a997f312e2d37d76da0379feb017d1f591f9a
Gerrit-Change-Number: 23670
Gerrit-PatchSet: 1
Gerrit-Owner: Kaiyen Chang <kaiyen.chang at intel.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.coreboot.org/pipermail/coreboot-gerrit/attachments/20180209/cef3113e/attachment-0001.html>


More information about the coreboot-gerrit mailing list