summaryrefslogtreecommitdiff
path: root/src/northbridge/amd/amdfam10
diff options
context:
space:
mode:
authorStefan Reinauer <stepan@coresystems.de>2010-04-30 20:28:35 +0000
committerStefan Reinauer <stepan@openbios.org>2010-04-30 20:28:35 +0000
commit2eac9d496d05f023413fbcee05d466d01d5c113f (patch)
tree623ae7f4a1a0c894cbf6e7cc140ebed55909e349 /src/northbridge/amd/amdfam10
parentc8873ce2a047a9e64ecabe5b2eb60d2ad088f61b (diff)
Remove some more warnings. The code is only used by functions protected by the
same preprocessor check Signed-off-by: Stefan Reinauer <stepan@coresystems.de> Acked-by: Stefan Reinauer <stepan@coresystems.de> git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5517 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/northbridge/amd/amdfam10')
-rw-r--r--src/northbridge/amd/amdfam10/amdfam10_conf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/northbridge/amd/amdfam10/amdfam10_conf.c b/src/northbridge/amd/amdfam10/amdfam10_conf.c
index c5506eaca5..4ce3e9a471 100644
--- a/src/northbridge/amd/amdfam10/amdfam10_conf.c
+++ b/src/northbridge/amd/amdfam10/amdfam10_conf.c
@@ -152,6 +152,7 @@ static u32 get_DctSelBaseAddr(u32 i)
return sel_m;
}
+#if CONFIG_AMDMCT == 0
#ifdef UNUSED_CODE
static void set_DctSelHiEn(u32 i, u32 val)
{
@@ -219,8 +220,6 @@ static u32 get_DctSelBaseOffset(u32 i)
}
#endif
-#if CONFIG_AMDMCT == 0
-
static u32 get_one_DCT(struct mem_info *meminfo)
{
u32 one_DCT = 1;