This patch is from 2009-10-20
[coreboot.git] / src / northbridge / via / vx800 / vx800_early_smbus.c
index 6fda8b0e0a08efc658e01d9328bf52e2685b990f..9beb9cf130c4a80aae4d0bf982e4ca5202f9511c 100644 (file)
 
 #define SMBUS_DELAY()          outb(0x80, 0x80)
 
-/* Debugging macros. Only necessary if something isn't working right */
-
-#define DEBUG_SMBUS 1
-
-#ifdef DEBUG_SMBUS
+#ifdef CONFIG_DEBUG_SMBUS
 #define PRINT_DEBUG(x)         print_debug(x)
 #define PRINT_DEBUG_HEX16(x)   print_debug_hex16(x)
 #else
@@ -289,7 +285,7 @@ void smbus_fixup(const struct mem_controller *ctrl)
 }
 
 /* Debugging Function */
-#ifdef DEBUG_SMBUS
+#if CONFIG_DEBUG_SMBUS
 static void dump_spd_data(void)
 {
        int dimm, offset, regs;