Dear Heiko Schocher, In message <[EMAIL PROTECTED]> you wrote: > Signed-off-by: Heiko Schocher <[EMAIL PROTECTED]> > --- > common/cmd_i2c.c | 9 +++++++++ > 1 files changed, 9 insertions(+), 0 deletions(-) > > diff --git a/common/cmd_i2c.c b/common/cmd_i2c.c > index ef3928e..414c888 100644 > --- a/common/cmd_i2c.c > +++ b/common/cmd_i2c.c > @@ -1182,6 +1182,12 @@ int do_sdram (cmd_tbl_t * cmdtp, int flag, int argc, > char *argv[]) > #endif > > #if defined(CONFIG_I2C_CMD_TREE) > +int do_i2c_res(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[]) > +{ > + i2c_init (CFG_I2C_SPEED, CFG_I2C_SLAVE); > + return 0; > +}
What does "res" mean? "Resource"? "resync"? "rescale"? "rescan"? If you mean reset, then please write reset. Also, in which way is this supposed to reset the I2C controller? In short: which problem is this supposed to fix? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] One of the advantages of being a captain is being able to ask for ad- vice without necessarily having to take it. -- Kirk, "Dagger of the Mind", stardate 2715.2 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot