From 5c4645b0ee798e52a6bf18ae1544dd86f8dafdaa Mon Sep 17 00:00:00 2001 From: Alexandru Gagniuc Date: Wed, 5 Jun 2013 20:01:42 -0500 Subject: (Trivial) early_smbus: fix printsmbus macro When I've first written this macro in 2011, the correct define for verbose SMBus message was CONFIG_DEBUG_SMBUS_SETUP. This has since been changed to CONFIG_DEBUG_SMBUS. I didn't catch that, and this made the printsmbus macro always evaluate to an empty statement. Use the proper CONFIG_DEBUG_SMBUS define. This makes printsmbus functional again. Change-Id: Iaf03354b179cc4a061e0b65f5b746af10f5d2b88 Signed-off-by: Alexandru Gagniuc Reviewed-on: http://review.coreboot.org/3379 Tested-by: build bot (Jenkins) Reviewed-by: Christian Gmeiner --- src/include/device/early_smbus.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/include/device/early_smbus.h b/src/include/device/early_smbus.h index 77c9078a1b..5e15bb1e00 100644 --- a/src/include/device/early_smbus.h +++ b/src/include/device/early_smbus.h @@ -55,7 +55,7 @@ /** * \brief printk macro for SMBus debugging */ -#if defined(CONFIG_DEBUG_SMBUS_SETUP) && (CONFIG_DEBUG_SMBUS_SETUP) +#if defined(CONFIG_DEBUG_SMBUS) && (CONFIG_DEBUG_SMBUS) #define printsmbus(x, ...) printk(BIOS_DEBUG, x, ##__VA_ARGS__) #else #define printsmbus(x, ...) -- cgit v1.2.3