CONFIG_DEBUG is too generic. Remove it and replace it with CONFIG_DEBUG_SMBUS
[coreboot.git] / src / mainboard / lippert / spacerunner-lx / romstage.c
index acf6fdcd69e7dbb1fdb2ca35ed8cdab0e215c5ef..b9b0e4f048119faf3e979093df50cded41066664 100644 (file)
@@ -84,7 +84,7 @@ static inline int spd_read_byte(unsigned int device, unsigned int address)
        if (device != DIMM0)
                return 0xFF;    /* No DIMM1, don't even try. */
 
-#if CONFIG_DEBUG
+#if CONFIG_DEBUG_SMBUS
        if (address >= sizeof(spdbytes) || spdbytes[address] == 0xFF) {
                print_err("ERROR: spd_read_byte(DIMM0, 0x");
                print_err_hex8(address);