From 3a1457137e52bee5cb136196db97695142e85a5e Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Sat, 4 May 2013 18:21:17 +0200 Subject: 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 Signed-off-by: Paul Menzel Reviewed-on: http://review.coreboot.org/3198 Tested-by: build bot (Jenkins) --- src/mainboard/amd/thatcher/BiosCallOuts.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mainboard/amd/thatcher') 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} -- cgit v1.2.3