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

Fabio Estevam festevam at gmail.com
Thu Dec 6 02:23:22 CET 2012


On Wed, Dec 5, 2012 at 10:46 PM, Simon Glass <sjg at chromium.org> wrote:
> From: Vadim Bendebury <vbendeb at chromium.org>
>
> 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: 00000094
>     boot > iod.w 80
>     0080: 0094
>     boot > iod.b 80
>     0080: 94
>     boot > iow.b 0x80 12
>     boot > iod 0x80
>     0080: 00000012

Doesn't md/mw accomplish the same?

Regards,

Fabio Estevam


More information about the U-Boot mailing list