diff options
author | Marcel Ziswiler <marcel@ziswiler.com> | 2015-08-16 02:16:36 (GMT) |
---|---|---|
committer | Marek Vasut <marex@denx.de> | 2015-08-24 18:30:38 (GMT) |
commit | 3664fa1beec3921dcfed605a9b37f63dee28ce6a (patch) | |
tree | cd95c8e8dd571c4b507a3a1d7781b34e8ebe5a87 /include/configs | |
parent | 4f9bbd9e69420c156370d5c39a2fc67bc8c76fee (diff) | |
download | u-boot-3664fa1beec3921dcfed605a9b37f63dee28ce6a.tar.xz |
arm: pxa: colibri_pxa270: add optional i2c support
This is useful once Andrew's PXA I2C driver gets merged.
Signed-off-by: Marcel Ziswiler <marcel@ziswiler.com>
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/colibri_pxa270.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/colibri_pxa270.h b/include/configs/colibri_pxa270.h index f2fa85e..4efc9c5 100644 --- 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 |