summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/cimx
diff options
context:
space:
mode:
authorMarc Jones <marcj303@gmail.com>2011-12-14 11:24:00 -0700
committerStefan Reinauer <stefan.reinauer@coreboot.org>2011-12-21 01:06:16 +0100
commitf154c01802992dd98227c069937f63373ef35f42 (patch)
tree817d0ec1d5bc5a5455a2f7ecf1cbd7f6de66c846 /src/southbridge/amd/cimx
parent6eefef9f2c546dd7c5db05878d01233fa95dd54b (diff)
Persimmon audio codec verb patch.
Verb data is required for the HDA audio codec in the sb800 southbridge. Verb data is not required for mainboards that use G-Series HDMI. It is also a setting the may be boards specific. This fixes issues with Windows audio on Persimmon. Change-Id: I067506871e92078d122cf79872363d8937d47e50 Signed-off-by: Marc Jones <marcj303@gmail.com> Reviewed-on: http://review.coreboot.org/490 Tested-by: build bot (Jenkins) Reviewed-by: Kerry Sheh <shekairui@gmail.com> Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/southbridge/amd/cimx')
-rw-r--r--src/southbridge/amd/cimx/sb800/cfg.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/southbridge/amd/cimx/sb800/cfg.c b/src/southbridge/amd/cimx/sb800/cfg.c
index 2998fa2ff1..a9e35bcb81 100644
--- a/src/southbridge/amd/cimx/sb800/cfg.c
+++ b/src/southbridge/amd/cimx/sb800/cfg.c
@@ -91,7 +91,12 @@ void sb800_cimx_config(AMDSBCFG *sb_config)
sb_config->AzaliaController = AZALIA_CONTROLLER;
sb_config->AzaliaPinCfg = AZALIA_PIN_CONFIG;
sb_config->AZALIACONFIG.AzaliaSdinPin = AZALIA_SDIN_PIN;
+ /* Mainboard Specific Azalia Cocec Verb Table */
+#ifdef AZALIA_OEM_VERB_TABLE
+ sb_config->AZOEMTBL.pAzaliaOemCodecTablePtr = (CODECTBLLIST *)AZALIA_OEM_VERB_TABLE;
+#else
sb_config->AZOEMTBL.pAzaliaOemCodecTablePtr = NULL;
+#endif
/* LPC */
/* SuperIO hardware monitor register access */