summaryrefslogtreecommitdiff
path: root/include/configs/siemens-am33x-common.h
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2015-07-15 16:02:22 +0200
committerTom Rini <trini@konsulko.com>2015-07-27 15:02:05 -0400
commit2cb81b6bcd446952e83ef65279d01c3933ba0baa (patch)
tree029899df17c439ba5f05c1d5f9437a0b065b56c6 /include/configs/siemens-am33x-common.h
parentdf844772f74886b55515b9f7f5c807facc312184 (diff)
downloadu-boot-2cb81b6bcd446952e83ef65279d01c3933ba0baa.tar.gz
siemens-am33x-common: Hardcoded value instead of non-included define
The config file for the siemens-am33x-common was using OMAP_I2C_STANDARD, which is defined in a header that is not included in the config header. In most cases, it was being included by the code using CONFIG_SYS_OMAP24_I2C_SPEED, but it might not always be the case. In particular, when introducing I2C SPL support in omap-common's boot-common.c, the header is missing and including it breaks other devices. Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'include/configs/siemens-am33x-common.h')
-rw-r--r--include/configs/siemens-am33x-common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/configs/siemens-am33x-common.h b/include/configs/siemens-am33x-common.h
index f33f9b413d..f7bef706eb 100644
--- a/include/configs/siemens-am33x-common.h
+++ b/include/configs/siemens-am33x-common.h
@@ -133,7 +133,7 @@
#define CONFIG_I2C
#define CONFIG_CMD_I2C
#define CONFIG_SYS_I2C
-#define CONFIG_SYS_OMAP24_I2C_SPEED OMAP_I2C_STANDARD
+#define CONFIG_SYS_OMAP24_I2C_SPEED 100000
#define CONFIG_SYS_OMAP24_I2C_SLAVE 1
#define CONFIG_SYS_I2C_OMAP24XX