commands: md, mw: add the '-x' option (swap bytes)

Sascha Hauer s.hauer at pengutronix.de
Mon Nov 26 05:16:57 EST 2012


On Mon, Nov 26, 2012 at 01:51:38PM +0400, Antony Pavlov wrote:
> Most of my MIPS boards run barebox in big-endian mode, but
> sometimes I need see state of little-endian registers
> (e.g. registers of PCI-connected peripherals) and it is not
> very handy to swap bytes manually.
> 
> This patch series adds to memory commands md and mw the ability
> to swap bytes "on the fly".

Applied, thanks

Sascha

> 
> [PATCH 1/3] mem: add the swab (swap bytes) option to
> [PATCH 2/3] commands: md: add the '-x' option (swap bytes)
> [PATCH 3/3] commands: mw: add the '-x' option (swap bytes)
> 
> _______________________________________________
> barebox mailing list
> barebox at lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |



More information about the barebox mailing list