]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
km/common: remove unneeded ifdefs for I2C
authorHolger Brunck <holger.brunck@keymile.com>
Mon, 21 Jan 2013 03:55:13 +0000 (03:55 +0000)
committerKim Phillips <kim.phillips@freescale.com>
Fri, 15 Feb 2013 23:47:19 +0000 (17:47 -0600)
All boards from this serie use i2c. There is no need to #ifdef the
header.

Signed-off-by: Holger Brunck <holger.brunck@keymile.com>
board/keymile/common/common.c

index 6f407b78f259f35805f6a78f1159550530483561..468c755d67c6cb6c3694e0701899bf3e1a35920d 100644 (file)
@@ -38,9 +38,7 @@
 #include "post.h"
 #endif
 #include "common.h"
-#if defined(CONFIG_HARD_I2C) || defined(CONFIG_SOFT_I2C)
 #include <i2c.h>
-#endif
 
 #if !defined(CONFIG_MPC83xx)
 static void i2c_write_start_seq(void);