[U-Boot] [PATCH] board/BuR/common: Add CONFIG_CMD_I2C

Hannes Petermaier oe5hpm at oevsv.at
Wed Jun 4 10:28:39 CEST 2014


in almost all cases we need the i2c commands within the u-boot shell.
So we enable them within the common section.

Cc: trini at ti.com
Signed-off-by: Hannes Petermaier <oe5hpm at oevsv.at>
---
 include/configs/bur_am335x_common.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/configs/bur_am335x_common.h b/include/configs/bur_am335x_common.h
index 11d24e6..32e99ec 100644
--- a/include/configs/bur_am335x_common.h
+++ b/include/configs/bur_am335x_common.h
@@ -98,7 +98,7 @@
 #define CONFIG_SYS_OMAP24_I2C_SPEED	100000
 #define CONFIG_SYS_OMAP24_I2C_SLAVE	1
 #define CONFIG_SYS_I2C_OMAP24XX
-
+#define CONFIG_CMD_I2C
 /* GPIO */
 #define CONFIG_OMAP_GPIO
 #define CONFIG_CMD_GPIO
-- 
1.7.9.5



More information about the U-Boot mailing list