more ifdef -> if fixes
[coreboot.git] / src / include / lib.h
index 1acb114dc6e791ee5a47653a3220e20a7f6c19d1..ba9684a0c13ec31ee5a5d95f11fa03f649815667 100644 (file)
@@ -40,7 +40,7 @@ void ram_check(unsigned long start, unsigned long stop);
 void quick_ram_check(void);
 
 /* Defined in romstage.c */
-#if defined(CONFIG_CPU_AMD_LX) && CONFIG_CPU_AMD_LX
+#if CONFIG_CPU_AMD_LX
 void cache_as_ram_main(void);
 #else
 void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx);