Author: stepan Date: Fri Apr 30 22:28:35 2010 New Revision: 5517 URL: https://tracker.coreboot.org/trac/coreboot/changeset/5517
Log: 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
Modified: trunk/src/northbridge/amd/amdfam10/amdfam10_conf.c
Modified: trunk/src/northbridge/amd/amdfam10/amdfam10_conf.c ============================================================================== --- trunk/src/northbridge/amd/amdfam10/amdfam10_conf.c Fri Apr 30 21:21:01 2010 (r5516) +++ trunk/src/northbridge/amd/amdfam10/amdfam10_conf.c Fri Apr 30 22:28:35 2010 (r5517) @@ -152,6 +152,7 @@ return sel_m; }
+#if CONFIG_AMDMCT == 0 #ifdef UNUSED_CODE static void set_DctSelHiEn(u32 i, u32 val) { @@ -219,8 +220,6 @@ } #endif
-#if CONFIG_AMDMCT == 0 - static u32 get_one_DCT(struct mem_info *meminfo) { u32 one_DCT = 1;