[coreboot-gerrit] Change in coreboot[master]: google/kahlee: Setup the I2S audio codec

Marc Jones (Code Review) gerrit at coreboot.org
Wed May 24 01:07:17 CEST 2017


Marc Jones has uploaded a new change for review. ( https://review.coreboot.org/19841 )

Change subject: google/kahlee: Setup the I2S audio codec
......................................................................

google/kahlee: Setup the I2S audio codec

Inform AGESA to setup an I2S codec instead of an Azalia codec.
This is step one for audio to work. ASL to connect the
driver and the hardware is in a follow-on patch.

Change-Id: I7ece5d8c317ddc76e0e6b2a005256bc384fe51e2
Signed-off-by: Marc Jones <marc.jones at scarletltd.com>
---
M src/mainboard/google/kahlee/OemCustomize.c
1 file changed, 2 insertions(+), 28 deletions(-)


  git pull ssh://review.coreboot.org:29418/coreboot refs/changes/41/19841/1

diff --git a/src/mainboard/google/kahlee/OemCustomize.c b/src/mainboard/google/kahlee/OemCustomize.c
index 4fcc17e..8f8bb28 100644
--- a/src/mainboard/google/kahlee/OemCustomize.c
+++ b/src/mainboard/google/kahlee/OemCustomize.c
@@ -98,33 +98,6 @@
 	.DdiLinkList  = DdiList
 };
 
-static const UINT32 AzaliaCodecAlc286Table[] =
-{
-	0x00172051, 0x001721C7, 0x00172222, 0x00172310,
-	0x0017FF00, 0x0017FF00, 0x0017FF00, 0x0017FF00,
-	0x01271C50, 0x01271D01, 0x01271EA6, 0x01271FB7,
-	0x01371C00, 0x01371D00, 0x01371E00, 0x01371F40,
-	0x01471C10, 0x01471D01, 0x01471E17, 0x01471F90,
-	0x01771CF0, 0x01771D11, 0x01771E11, 0x01771F41,
-	0x01871C40, 0x01871D10, 0x01871EA1, 0x01871F04,
-	0x01971CF0, 0x01971D11, 0x01971E11, 0x01971F41,
-	0x01A71CF0, 0x01A71D11, 0x01A71E11, 0x01A71F41,
-	0x01D71C2D, 0x01D71DA5, 0x01D71E67, 0x01D71F40,
-	0x01E71C30, 0x01E71D11, 0x01E71E45, 0x01E71F04,
-	0x02171C20, 0x02171D10, 0x02171E21, 0x02171F04,
-	0x02050071, 0x02040014, 0x02050010, 0x02040C22,
-	0x0205004F, 0x0204B029, 0x0205002B, 0x02040C50,
-	0x0205002D, 0x02041020, 0x02050020, 0x02040000,
-	0x02050019, 0x02040817, 0x02050035, 0x02041AA5,
-	0x02050063, 0x02042906, 0x02050063, 0x02042906,
-	0xffffffff
-};
-
-CONST CODEC_VERB_TABLE_LIST CodecTableList[] =
-{
-	{ (UINT32) 0x10ec0286, AzaliaCodecAlc286Table},
-	{ (UINT32) 0x0FFFFFFFF, (UINT32 *)0x0FFFFFFFF}
-};
 
 /*---------------------------------------------------------------------------------------*/
 /**
@@ -147,7 +120,8 @@
 	)
 {
 	InitEarly->GnbConfig.PcieComplexList = &PcieComplex;
-	InitEarly->PlatformConfig.AzaliaCodecVerbTable = (UINT64)(UINTN)CodecTableList;
+	InitEarly->PlatformConfig.GnbAzI2sBusSelect = GnbAcpI2sBus;
+	InitEarly->PlatformConfig.GnbAzI2sBusSelect = GnbAcp2Tx4RxBluetooth;
 }
 
 static const PSO_ENTRY DDR4PlatformMemoryConfiguration[] = {

-- 
To view, visit https://review.coreboot.org/19841
To unsubscribe, visit https://review.coreboot.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7ece5d8c317ddc76e0e6b2a005256bc384fe51e2
Gerrit-PatchSet: 1
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Owner: Marc Jones <marc at marcjonesconsulting.com>



More information about the coreboot-gerrit mailing list