[U-Boot] [PATCH] i2c: Fix chip address.0

Joakim Tjernlund joakim.tjernlund at transmode.se
Mon Jan 31 08:29:50 CET 2011


Heiko Schocher <hs at denx.de> wrote on 2011/01/31 08:18:56:
>
> Hello Joakim,
>
> Joakim Tjernlund write:
> > According to the i2c command alen 0 should be allowed
> > but this is not allowed in the implementation, fix.
> > Also cleanup all cmd_usage cases while at it. It is cleaner
> > to return cmd_usage(cmdtp); instead of
> > {
> >   cmd_usage(cmdtp);
> >   return 1;
> > }
> >
> > Signed-off-by: Joakim Tjernlund <Joakim.Tjernlund at transmode.se>
> > ---
> >  common/cmd_i2c.c |  107 +++++++++++++++++++++---------------------------------
> >  1 files changed, 41 insertions(+), 66 deletions(-)
>
> Hmm... did you use actual top of tree?

Ahh, I used my current tree and it is a little behind.
I see it fixed in TOT.

    Jocke



More information about the U-Boot mailing list