Re[2]: [PATCH 2/2] i2c: Added switch for allowing usage 16bit register addresses
Alexander Shiyan
shc_work at mail.ru
Fri May 11 14:17:25 EDT 2012
Fri, 11 May 2012 20:15:08 +0200 от Sascha Hauer <s.hauer at pengutronix.de>:
> On Fri, May 11, 2012 at 07:42:19PM +0400, Alexander Shiyan wrote:
> > ---
> > printf("0x%02x ", *(buf + i));
> > @@ -135,7 +138,8 @@ static const __maybe_unused char cmd_i2c_write_help[] =
> > "write to i2c device.\n"
> > " -a 0x<addr> i2c device address\n"
> > " -b <bus_num> i2c bus number (default = 0)\n"
> > -" -r 0x<reg> start register\n";
> > +" -r 0x<reg> start register\n"
> > +" -w use the word as an address\n";
> Can we have 'do word (16bit) accesses' here to make this a bit more
> explicit?
Maybe "use 16bit-wide address access" ?
More information about the barebox
mailing list