From 2eac9d496d05f023413fbcee05d466d01d5c113f Mon Sep 17 00:00:00 2001 From: Stefan Reinauer Date: Fri, 30 Apr 2010 20:28:35 +0000 Subject: Remove some more warnings. The code is only used by functions protected by the same preprocessor check Signed-off-by: Stefan Reinauer Acked-by: Stefan Reinauer git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5517 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- src/northbridge/amd/amdfam10/amdfam10_conf.c | 3 +-- 1 file changed, 1 insertion(+), 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; -- cgit v1.2.3