projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f9bbd9
)
arm: pxa: colibri_pxa270: add optional i2c support
author
Marcel Ziswiler
<marcel@ziswiler.com>
Sun, 16 Aug 2015 02:16:36 +0000
(
04:16
+0200)
committer
Marek Vasut
<marex@denx.de>
Mon, 24 Aug 2015 18:30:38 +0000
(20:30 +0200)
This is useful once Andrew's PXA I2C driver gets merged.
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
include/configs/colibri_pxa270.h
patch
|
blob
|
history
diff --git
a/include/configs/colibri_pxa270.h
b/include/configs/colibri_pxa270.h
index f2fa85ee59c911c3b076de3ffb05ee1c90c1cedf..4efc9c5f3e6f3d7d7d3a2ece7f8866f717e57b23 100644
(file)
--- a/
include/configs/colibri_pxa270.h
+++ b/
include/configs/colibri_pxa270.h
@@
-59,6
+59,15
@@
#define CONFIG_CMD_MMC
#define CONFIG_CMD_USB
+/* I2C support */
+#ifdef CONFIG_SYS_I2C
+#define CONFIG_CMD_I2C
+#define CONFIG_SYS_I2C_PXA
+#define CONFIG_PXA_STD_I2C
+#define CONFIG_PXA_PWR_I2C
+#define CONFIG_SYS_I2C_SPEED 100000
+#endif
+
/* LCD support */
#ifdef CONFIG_LCD
#define CONFIG_PXA_LCD