summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/meson_i2c.c
diff options
context:
space:
mode:
authorTrent Piepho <tpiepho@impinj.com>2019-05-08 23:30:01 +0000
committerHeiko Schocher <hs@denx.de>2019-05-17 05:35:24 +0200
commitd1337210d16a64eb7cf6e8a4393f08ab84656220 (patch)
treec1c0c69e0f5008634d5b317c5a010a458daa89c9 /drivers/i2c/meson_i2c.c
parentc854933f50307f7abcb0280f93f8b2bba70b1ddb (diff)
downloadu-boot-d1337210d16a64eb7cf6e8a4393f08ab84656220.tar.gz
u-boot-d1337210d16a64eb7cf6e8a4393f08ab84656220.tar.xz
u-boot-d1337210d16a64eb7cf6e8a4393f08ab84656220.zip
wandboard: Don't use I2C speed Kconfig settings with DM_I2C
When using DM_I2C the speed value supplied to setup_i2c() is not used, so this code required CONFIG_SYS_MXC_I2C[12]_SPEED to be defined to compile, but did not actually use them. Change this so we no longer need to define an unused macro to compile in DM_I2C mode. Also make it more clear that they do not control the bus speed. Otherwise it is quite easy to mistakenly believe they are used to set the bus speed. Cc: Heiko Schocher <hs@denx.de> Cc: Anatolij Gustschin <agust@denx.de> Signed-off-by: Trent Piepho <tpiepho@impinj.com>
Diffstat (limited to 'drivers/i2c/meson_i2c.c')
0 files changed, 0 insertions, 0 deletions