summaryrefslogtreecommitdiff
path: root/src/mainboard/samsung
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/samsung
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/samsung')
-rw-r--r--src/mainboard/samsung/lumpy/mainboard.c6
-rw-r--r--src/mainboard/samsung/stumpy/mainboard.c6
2 files changed, 2 insertions, 10 deletions
diff --git a/src/mainboard/samsung/lumpy/mainboard.c b/src/mainboard/samsung/lumpy/mainboard.c
index 1c7be3bac6..ee6728f6a2 100644
--- a/src/mainboard/samsung/lumpy/mainboard.c
+++ b/src/mainboard/samsung/lumpy/mainboard.c
@@ -38,6 +38,7 @@
#include "onboard.h"
#include <southbridge/intel/bd82x6x/pch.h>
#include <smbios.h>
+#include <device/azalia_device.h>
void mainboard_suspend_resume(void)
{
@@ -136,11 +137,6 @@ static int int15_handler(void)
/* Audio Setup */
-extern const u32 * cim_verb_data;
-extern u32 cim_verb_data_size;
-extern const u32 * pc_beep_verbs;
-extern u32 pc_beep_verbs_size;
-
static void verb_setup(void)
{
cim_verb_data = mainboard_cim_verb_data;
diff --git a/src/mainboard/samsung/stumpy/mainboard.c b/src/mainboard/samsung/stumpy/mainboard.c
index 3afb2d4f13..99fe725498 100644
--- a/src/mainboard/samsung/stumpy/mainboard.c
+++ b/src/mainboard/samsung/stumpy/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)
{
@@ -129,11 +130,6 @@ static int int15_handler(void)
/* Audio Setup */
-extern const u32 * cim_verb_data;
-extern u32 cim_verb_data_size;
-extern const u32 * pc_beep_verbs;
-extern u32 pc_beep_verbs_size;
-
static void verb_setup(void)
{
cim_verb_data = mainboard_cim_verb_data;