diff options
author | Vladimir Serbinenko <phcoder@gmail.com> | 2014-08-17 23:48:42 +0200 |
---|---|---|
committer | Vladimir Serbinenko <phcoder@gmail.com> | 2014-08-18 15:06:44 +0200 |
commit | 6a3a8ce1a81578d4461c9d4de6d59a3154f6a8a4 (patch) | |
tree | a42b1ac7acd526ed618059c6d8c5bb164d4ea391 /src/mainboard/samsung | |
parent | b46f5891d297e2440bf2f0845cb9a45de2575a40 (diff) | |
download | coreboot-6a3a8ce1a81578d4461c9d4de6d59a3154f6a8a4.tar.xz |
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.c | 6 | ||||
-rw-r--r-- | src/mainboard/samsung/stumpy/mainboard.c | 6 |
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; |