summaryrefslogtreecommitdiff
path: root/src/mainboard/dmp/vortex86ex/mainboard.c
diff options
context:
space:
mode:
authorAndrew Wu <arw@dmp.com.tw>2013-08-13 16:37:56 +0800
committerAnton Kochkov <anton.kochkov@gmail.com>2013-08-13 14:10:45 +0200
commit81c70fb142326fe9e5ac5391cdd45f93c984e3e6 (patch)
treecd154782ce5caa992d87f8ff00f9de54182d570b /src/mainboard/dmp/vortex86ex/mainboard.c
parentb7bb70d3de1653275413f4b4e88bc01f9c570d48 (diff)
dmp/vortex86ex: Initialize Reatek ALC262 audio codec
Hook this up into the DMP Vortex86EX. Before under Windows XP the microphone did not work. With the new logic it does. Now line-in,line-out and microphone all work. The verb data table is generated by Realtek. Change-Id: I1bcef898a15547c86c12c4b52ce0069d13e23c84 Signed-off-by: Andrew Wu <arw@dmp.com.tw> Reviewed-on: http://review.coreboot.org/3855 Tested-by: build bot (Jenkins) Reviewed-by: Anton Kochkov <anton.kochkov@gmail.com>
Diffstat (limited to 'src/mainboard/dmp/vortex86ex/mainboard.c')
-rw-r--r--src/mainboard/dmp/vortex86ex/mainboard.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/mainboard/dmp/vortex86ex/mainboard.c b/src/mainboard/dmp/vortex86ex/mainboard.c
index dfeb5f42c8..c824963b02 100644
--- a/src/mainboard/dmp/vortex86ex/mainboard.c
+++ b/src/mainboard/dmp/vortex86ex/mainboard.c
@@ -23,9 +23,17 @@
#include <arch/io.h>
#include <boot/tables.h>
#include <device/pci_def.h>
+#include "hda_verb.h"
+
+static void verb_setup(void)
+{
+ cim_verb_data = mainboard_cim_verb_data;
+ cim_verb_data_size = sizeof(mainboard_cim_verb_data);
+}
static void mainboard_enable(device_t dev)
{
+ verb_setup();
}
struct chip_operations mainboard_ops = {