Get rid of a few more warnings.
[coreboot.git] / src / northbridge / amd / amdfam10 / debug.c
index cab2ec86d9273f7f88e68dc01551626358bc6469..7aa7751820b097566c35209c45813160b56128c9 100644 (file)
@@ -26,7 +26,7 @@
 
 static inline void print_debug_addr(const char *str, void *val)
 {
-#if CACHE_AS_RAM_ADDRESS_DEBUG == 1
+#if defined(CACHE_AS_RAM_ADDRESS_DEBUG) && CACHE_AS_RAM_ADDRESS_DEBUG == 1
                printk(BIOS_DEBUG, "------Address debug: %s%p------\n", str, val);
 #endif
 }