(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 <mr.nuke.me@gmail.com> Reviewed-on: http://review.coreboot.org/3379 Tested-by: build bot (Jenkins) Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
This commit is contained in:
		
				
					committed by
					
						 Christian Gmeiner
						Christian Gmeiner
					
				
			
			
				
	
			
			
			
						parent
						
							3979eda571
						
					
				
				
					commit
					5c4645b0ee
				
			| @@ -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, ...) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user