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)
This commit is contained in:
parent
cd1cef4438
commit
3a1457137e
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue