]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
siemens-am33x-common: Hardcoded value instead of non-included define
authorPaul Kocialkowski <contact@paulk.fr>
Wed, 15 Jul 2015 14:02:22 +0000 (16:02 +0200)
committerTom Rini <trini@konsulko.com>
Mon, 27 Jul 2015 19:02:05 +0000 (15:02 -0400)
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>
include/configs/siemens-am33x-common.h

index f33f9b413dc2f7303c738328b77bf7d5386d1d83..f7bef706eb6d338a090123eeae2f66424b9020f5 100644 (file)
 #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