Re: [U-Boot] [PATCH v3 15/20] Add console command to access io space registers

2012-12-12 Thread Tom Rini
On Sat, Dec 08, 2012 at 11:54:13AM -0800, Simon Glass wrote: > Hi Fabio, > > On Wed, Dec 5, 2012 at 5:30 PM, Fabio Estevam wrote: > > On Wed, Dec 5, 2012 at 11:25 PM, Vadim Bendebury > > wrote: > > > >> No - md/mw access memory, the new commands access the IO space (which > >> is an x86 archite

Re: [U-Boot] [PATCH v3 15/20] Add console command to access io space registers

2012-12-08 Thread Simon Glass
Hi Fabio, On Wed, Dec 5, 2012 at 5:30 PM, Fabio Estevam wrote: > On Wed, Dec 5, 2012 at 11:25 PM, Vadim Bendebury wrote: > >> No - md/mw access memory, the new commands access the IO space (which >> is an x86 architecture property). > > Ok, understood. On ARM we are able to access registers via

Re: [U-Boot] [PATCH v3 15/20] Add console command to access io space registers

2012-12-05 Thread Fabio Estevam
On Wed, Dec 5, 2012 at 11:25 PM, Vadim Bendebury wrote: > No - md/mw access memory, the new commands access the IO space (which > is an x86 architecture property). Ok, understood. On ARM we are able to access registers via md/mw. Maybe it would be better to put a note in the commit message that

Re: [U-Boot] [PATCH v3 15/20] Add console command to access io space registers

2012-12-05 Thread Vadim Bendebury
On Wed, Dec 5, 2012 at 5:23 PM, Fabio Estevam wrote: > On Wed, Dec 5, 2012 at 10:46 PM, Simon Glass wrote: >> From: Vadim Bendebury >> >> Provide u-boot console functions to access IO space registers. A no >> thrills implementation, accessing one register at a time. >> >> For example: >> boo

Re: [U-Boot] [PATCH v3 15/20] Add console command to access io space registers

2012-12-05 Thread Fabio Estevam
On Wed, Dec 5, 2012 at 10:46 PM, Simon Glass wrote: > From: Vadim Bendebury > > Provide u-boot console functions to access IO space registers. A no > thrills implementation, accessing one register at a time. > > For example: > boot > iod 80 > 0080: 0094 > boot > iod.w 80 > 008

[U-Boot] [PATCH v3 15/20] Add console command to access io space registers

2012-12-05 Thread Simon Glass
From: Vadim Bendebury Provide u-boot console functions to access IO space registers. A no thrills implementation, accessing one register at a time. For example: boot > iod 80 0080: 0094 boot > iod.w 80 0080: 0094 boot > iod.b 80 0080: 94 boot > iow.b 0x80 12 b