summaryrefslogtreecommitdiff
path: root/src/mainboard/apple/macbook21/mainboard.c
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-03-03 00:44:38 +0100
committerVladimir Serbinenko <phcoder@gmail.com>2014-08-18 00:05:53 +0200
commit7aa704b822008efbbd540e97ae73f1c7d95e2c7d (patch)
treebce64bf77e7f0790795caa47c5081e90863fedca /src/mainboard/apple/macbook21/mainboard.c
parent66476ddd99b65711989847eba5f4ef1f35b7670e (diff)
apple/macbook21: Fix audio.
Change-Id: I0bb939ac377f84431d871b702fdb42651e9a2e96 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/5324 Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/apple/macbook21/mainboard.c')
-rw-r--r--src/mainboard/apple/macbook21/mainboard.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mainboard/apple/macbook21/mainboard.c b/src/mainboard/apple/macbook21/mainboard.c
index 6bd3aec083..9a025ddf98 100644
--- a/src/mainboard/apple/macbook21/mainboard.c
+++ b/src/mainboard/apple/macbook21/mainboard.c
@@ -34,8 +34,12 @@
#include <arch/x86/include/arch/acpigen.h>
#include <smbios.h>
#include <x86emu/x86emu.h>
+#include "hda_verb.h"
#define PANEL INT15_5F35_CL_DISPLAY_DEFAULT
+extern const u32 *cim_verb_data;
+extern u32 cim_verb_data_size;
+
#if CONFIG_PCI_OPTION_ROM_RUN_YABEL || CONFIG_PCI_OPTION_ROM_RUN_REALMODE
static int int15_handler(void)
{
@@ -83,6 +87,8 @@ static void mainboard_init(device_t dev)
static void mainboard_enable(device_t dev)
{
dev->ops->init = mainboard_init;
+ cim_verb_data = mainboard_cim_verb_data;
+ cim_verb_data_size = sizeof(mainboard_cim_verb_data);
}
struct chip_operations mainboard_ops = {