[U-Boot] [PATCH v2 09/17] dm: i2c: Implement driver model support in the i2c command

Heiko Schocher
2014-11-17T06:38:48Z

Hello Simon,

Am 11.11.2014 18:46, schrieb Simon Glass:
> 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>
> ---
>
> Changes in v2:
> - Change alen to int so that it can be -1 (this was a bug)
> - Call the deblock() method for 'i2c reset'
>
> common/cmd_i2c.c | 336 ++++++++++++++++++++++++++++++++++++++++++++++---------
> 1 file changed, 284 insertions(+), 52 deletions(-)

Acked-by: Heiko Schocher <hs@denx.de>

bye,
Heiko
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany