summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Menzel <paulepanter@users.sourceforge.net>2013-05-04 18:21:17 +0200
committerRudolf Marek <r.marek@assembler.cz>2013-05-14 15:58:34 +0200
commit3a1457137e52bee5cb136196db97695142e85a5e (patch)
treef611448f7466a3e8b280d1aaf553d8a460cc2423
parentcd1cef44381be9e50182d693f118b8d636628a30 (diff)
downloadcoreboot-3a1457137e52bee5cb136196db97695142e85a5e.tar.xz
AMD Fam15tn boards: BiosCallOuts.c: Declare codec arrays as `static`
These arrays are declared as `static` for AMD SB800 based boards, so do the same for this generation. Rudolf Marek just changed `const CODEC_TBL_LIST` to `static const` in [1]. Adapt all Fam15tn based boards (AMD Parmer, AMD Thatcher, ASUS F2A85-M) to keep the differences between them small. [1] http://review.coreboot.org/#/c/3170/3/src/mainboard/asus/f2a85-m/BiosCallOuts.c Change-Id: I353b38bd8bc77ba500a4b7fe9250e9aa3071c530 Signed-off-by: Rudolf Marek <r.marek@assembler.cz> Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-on: http://review.coreboot.org/3198 Tested-by: build bot (Jenkins)
-rw-r--r--src/mainboard/amd/parmer/BiosCallOuts.c4
-rw-r--r--src/mainboard/amd/thatcher/BiosCallOuts.c4
-rw-r--r--src/mainboard/asus/f2a85-m/BiosCallOuts.c4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/mainboard/amd/parmer/BiosCallOuts.c b/src/mainboard/amd/parmer/BiosCallOuts.c
index c77d78dd8c..9592c9de17 100644
--- a/src/mainboard/amd/parmer/BiosCallOuts.c
+++ b/src/mainboard/amd/parmer/BiosCallOuts.c
@@ -65,7 +65,7 @@ AGESA_STATUS GetBiosCallout (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
/**
* AMD Parmer Platform ALC272 Verb Table
*/
-const CODEC_ENTRY Parmer_Alc272_VerbTbl[] = {
+static const CODEC_ENTRY Parmer_Alc272_VerbTbl[] = {
{0x11, 0x411111F0},
{0x12, 0x411111F0},
{0x13, 0x411111F0},
@@ -83,7 +83,7 @@ const CODEC_ENTRY Parmer_Alc272_VerbTbl[] = {
{0xff, 0xffffffff}
};
-const CODEC_TBL_LIST ParmerCodecTableList[] =
+static const CODEC_TBL_LIST ParmerCodecTableList[] =
{
{0x10ec0272, (CODEC_ENTRY*)&Parmer_Alc272_VerbTbl[0]},
{(UINT32)0x0FFFFFFFF, (CODEC_ENTRY*)0x0FFFFFFFFUL}
diff --git a/src/mainboard/amd/thatcher/BiosCallOuts.c b/src/mainboard/amd/thatcher/BiosCallOuts.c
index 9a3f61c0c0..697952205d 100644
--- a/src/mainboard/amd/thatcher/BiosCallOuts.c
+++ b/src/mainboard/amd/thatcher/BiosCallOuts.c
@@ -65,7 +65,7 @@ AGESA_STATUS GetBiosCallout (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
/**
* AMD Thatcher Platform ALC272 Verb Table
*/
-const CODEC_ENTRY Thatcher_Alc272_VerbTbl[] = {
+static const CODEC_ENTRY Thatcher_Alc272_VerbTbl[] = {
{0x11, 0x411111F0},
{0x12, 0x411111F0},
{0x13, 0x411111F0},
@@ -83,7 +83,7 @@ const CODEC_ENTRY Thatcher_Alc272_VerbTbl[] = {
{0xff, 0xffffffff}
};
-const CODEC_TBL_LIST ThatcherCodecTableList[] =
+static const CODEC_TBL_LIST ThatcherCodecTableList[] =
{
{0x10ec0272, (CODEC_ENTRY*)&Thatcher_Alc272_VerbTbl[0]},
{(UINT32)0x0FFFFFFFF, (CODEC_ENTRY*)0x0FFFFFFFFUL}
diff --git a/src/mainboard/asus/f2a85-m/BiosCallOuts.c b/src/mainboard/asus/f2a85-m/BiosCallOuts.c
index f9760011a5..e91389628b 100644
--- a/src/mainboard/asus/f2a85-m/BiosCallOuts.c
+++ b/src/mainboard/asus/f2a85-m/BiosCallOuts.c
@@ -65,7 +65,7 @@ AGESA_STATUS GetBiosCallout (UINT32 Func, UINT32 Data, VOID *ConfigPtr)
/**
* AMD Thatcher Platform ALC272 Verb Table
*/
-const CODEC_ENTRY Thatcher_Alc272_VerbTbl[] = {
+static const CODEC_ENTRY Thatcher_Alc272_VerbTbl[] = {
{0x11, 0x411111F0},
{0x12, 0x411111F0},
{0x13, 0x411111F0},
@@ -83,7 +83,7 @@ const CODEC_ENTRY Thatcher_Alc272_VerbTbl[] = {
{0xff, 0xffffffff}
};
-const CODEC_TBL_LIST ThatcherCodecTableList[] =
+static const CODEC_TBL_LIST ThatcherCodecTableList[] =
{
{0x10ec0272, (CODEC_ENTRY*)&Thatcher_Alc272_VerbTbl[0]},
{(UINT32)0x0FFFFFFFF, (CODEC_ENTRY*)0x0FFFFFFFFUL}