> I'm aware of this. Changing register contents seems a useful extension
> to me, too. That's why I wrote "add such code". I think something like

> Print all (or a predefined set of) registers:

 <      => reg

> Print a specific register:
<       => reg name

>Set a specific register to "value":
>       => reg name value

> would be generally useful, not only for parallel I/O registers.

Specifying parallel I/O ports has whole registers is really
uncomfortable: If for example one would like to write a value to a
parallel I/O port, then he'd need to read the data register first, then
mask off all irrelevant bits, and then write the shifted value to this
register. The pario command does this job in a much more comfortable
way.
Again - we can keep this command in our boards' common code, but I think
it would be a pity, as I think this functionality can be useful for many
other CPU types as well.
David.

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

Reply via email to