summaryrefslogtreecommitdiff
path: root/src/mainboard/kontron
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-08-17 23:48:42 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2014-08-18 15:06:44 +0200
commit6a3a8ce1a81578d4461c9d4de6d59a3154f6a8a4 (patch)
treea42b1ac7acd526ed618059c6d8c5bb164d4ea391 /src/mainboard/kontron
parentb46f5891d297e2440bf2f0845cb9a45de2575a40 (diff)
azalia: Move shared variable to separate file
Change-Id: Icf46ad1397c67478887c80a627b8f4eb0a67e542 Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/6695 Tested-by: build bot (Jenkins) Reviewed-by: Idwer Vollering <vidwer@gmail.com> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src/mainboard/kontron')
-rw-r--r--src/mainboard/kontron/986lcd-m/mainboard.c4
-rw-r--r--src/mainboard/kontron/ktqm77/mainboard.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/src/mainboard/kontron/986lcd-m/mainboard.c b/src/mainboard/kontron/986lcd-m/mainboard.c
index 4f0dcdd3ca..346546a869 100644
--- a/src/mainboard/kontron/986lcd-m/mainboard.c
+++ b/src/mainboard/kontron/986lcd-m/mainboard.c
@@ -26,6 +26,7 @@
#include <pc80/mc146818rtc.h>
#include <arch/io.h>
#include <arch/interrupt.h>
+#include <device/azalia_device.h>
#define BOOT_DISPLAY_DEFAULT 0
#define BOOT_DISPLAY_CRT (1 << 0)
@@ -206,9 +207,6 @@ static void hwm_setup(void)
/* Audio Setup */
-extern u32 * cim_verb_data;
-extern u32 cim_verb_data_size;
-
static void verb_setup(void)
{
// Default VERB is fine on this mainboard.
diff --git a/src/mainboard/kontron/ktqm77/mainboard.c b/src/mainboard/kontron/ktqm77/mainboard.c
index fd9cbf14ab..4804a7eba7 100644
--- a/src/mainboard/kontron/ktqm77/mainboard.c
+++ b/src/mainboard/kontron/ktqm77/mainboard.c
@@ -35,6 +35,7 @@
#include <boot/coreboot_tables.h>
#include "hda_verb.h"
#include <southbridge/intel/bd82x6x/pch.h>
+#include <device/azalia_device.h>
void mainboard_suspend_resume(void)
{
@@ -170,9 +171,6 @@ static int int15_handler(void)
/* Audio Setup */
-extern const u32 *cim_verb_data;
-extern u32 cim_verb_data_size;
-
static void verb_setup(void)
{
cim_verb_data = mainboard_cim_verb_data;