]> git.karo-electronics.de Git - karo-tx-uboot.git/commit
dm: i2c: Provide an offset length parameter where needed
authorSimon Glass <sjg@chromium.org>
Sun, 25 Jan 2015 15:26:55 +0000 (08:26 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 30 Jan 2015 00:09:53 +0000 (17:09 -0700)
commit25ab4b0303f2df5e6b94ed92e37875a7c98f4de3
treef8fecc4b22da4c7fe5c4e6d6a6623459e255af47
parent73845350b6281a7afeeb279475e6eb613d7a89f9
dm: i2c: Provide an offset length parameter where needed

Rather than assuming that the chip offset length is 1, allow it to be
provided. This allows chips that don't use the default offset length to
be used (at present they are only supported by the command line 'i2c'
command which sets the offset length explicitly).

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Heiko Schocher <hs@denx.de>
12 files changed:
arch/arm/cpu/tegra20-common/pmu.c
board/avionic-design/common/tamonten-ng.c
board/nvidia/cardhu/cardhu.c
board/nvidia/dalmore/dalmore.c
board/nvidia/whistler/whistler.c
board/toradex/apalis_t30/apalis_t30.c
common/cmd_i2c.c
drivers/i2c/i2c-uclass.c
drivers/i2c/sandbox_i2c.c
drivers/power/as3722.c
include/i2c.h
test/dm/i2c.c