summaryrefslogtreecommitdiff
path: root/include/configs
diff options
context:
space:
mode:
authorAdam Ford <aford173@gmail.com>2017-09-18 04:43:48 +0300
committerTom Rini <trini@konsulko.com>2017-09-29 21:07:18 +0300
commitc774207f48585544664bd9675c14a7812ecce348 (patch)
tree868daeac911f0fd466bc2466de6e8d91a8910ad2 /include/configs
parentf4fad7161242b62ad1c79a2dfe558d1598e2e6e6 (diff)
downloadu-boot-c774207f48585544664bd9675c14a7812ecce348.tar.xz
ARM: da850-evm: Enable DM_I2C
With DM now enabled with the device tree pulled from Linux, we can enable DM_I2C in U-Boot. Reviewed-by: Jagan Teki <jagan@openedev.com> Signed-off-by: Adam Ford <aford173@gmail.com> [trini: Add DM_I2C_COMPAT to da850_am18xxevm to fix warning] Signed-off-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs')
-rw-r--r--include/configs/da850evm.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index 0bdf0cb134..821b1fe534 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -167,11 +167,10 @@
/*
* I2C Configuration
*/
-#define CONFIG_SYS_I2C
+#ifndef CONFIG_SPL_BUILD
#define CONFIG_SYS_I2C_DAVINCI
-#define CONFIG_SYS_DAVINCI_I2C_SPEED 25000
-#define CONFIG_SYS_DAVINCI_I2C_SLAVE 10 /* Bogus, master-only in U-Boot */
#define CONFIG_SYS_I2C_EXPANDER_ADDR 0x20
+#endif
/*
* Flash & Environment