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

Wolfgang Denk wd at denx.de
Sat Nov 3 16:26:38 CET 2012


Dear Simon Glass,

In message <1351902453-27956-16-git-send-email-sjg at chromium.org> you 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

What are the exact use cases where this is necessary, i. e. where
plain md / mw does not work?

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: wd at denx.de
Quantum particles: The dreams that stuff is made of.


More information about the U-Boot mailing list