]> git.sur5r.net Git - u-boot/commit
dm: i2c: Implement driver model support in the i2c command
authorSimon Glass <sjg@chromium.org>
Wed, 10 Dec 2014 15:55:48 +0000 (08:55 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 11 Dec 2014 20:18:42 +0000 (13:18 -0700)
commit63656b762e50b2f11e228d94fdbb025a84900c71
tree01c00d23e3cf865cdcc6065742cdcd9a61f9ce60
parentc6202d857ebce5d6c8f0ec1d8d30352195546280
dm: i2c: Implement driver model support in the i2c command

The concept of a 'current bus' is now implemented in the command line
rather than in the uclass. Also the address length does not need to
be specified with each command - really we should consider dropping
this from most commands but it works OK for now.

Signed-off-by: Simon Glass <sjg@chromium.org>
Acked-by: Heiko Schocher <hs@denx.de>
Reviewed-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
common/cmd_i2c.c