[U-Boot] [PATCH v2 01/26] dm: i2c: Provide an offset length parameter where needed

Heiko Schocher hs at denx.de
Tue Jan 20 07:28:03 CET 2015


Hello Simon,

Am 20.01.2015 04:12, schrieb Simon Glass:
> 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 at chromium.org>
> ---
>
> Changes in v2:
> - Add new patch to provide an offset length parameter where needed
>
>   arch/arm/cpu/tegra20-common/pmu.c         |  2 +-
>   board/avionic-design/common/tamonten-ng.c |  2 +-
>   board/nvidia/cardhu/cardhu.c              |  4 ++--
>   board/nvidia/dalmore/dalmore.c            |  4 ++--
>   board/nvidia/whistler/whistler.c          |  4 ++--
>   board/toradex/apalis_t30/apalis_t30.c     |  2 +-
>   common/cmd_i2c.c                          |  2 +-
>   drivers/i2c/i2c-uclass.c                  | 16 +++++++++-------
>   drivers/i2c/sandbox_i2c.c                 |  2 +-
>   drivers/power/as3722.c                    |  2 +-
>   include/i2c.h                             |  8 ++++++--
>   test/dm/i2c.c                             | 10 +++++-----
>   12 files changed, 32 insertions(+), 26 deletions(-)

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

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list