From 81c70fb142326fe9e5ac5391cdd45f93c984e3e6 Mon Sep 17 00:00:00 2001 From: Andrew Wu Date: Tue, 13 Aug 2013 16:37:56 +0800 Subject: 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 Reviewed-on: http://review.coreboot.org/3855 Tested-by: build bot (Jenkins) Reviewed-by: Anton Kochkov --- src/mainboard/dmp/vortex86ex/mainboard.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/mainboard/dmp/vortex86ex/mainboard.c') 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 #include #include +#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 = { -- cgit v1.2.3