
Wolfgang,
See attached patch file (Outlook will wrap lines if I inline it). This implements the iopset command for the mpc8xx. Current u-boot gives you the "not implemented yet" message. I got tired of adding in ioport changes and recompiling each time. Written and tested using u-boot-1.1.1 on an mpc860, but no changes have been made to the edited files since that tag.
I couldn't figure out a simple clean solution since the 4 ioports are not all together, not all have the same number of registers, and some are ushorts while others are uints. So I gave up and did the brute force approach. If anyone else has a better solution, be my guest.
Also noticed that the iopinfo displays ports A, C, and D incorrectly on the mpc8xx. Ports 1-15 and displayed under 16-31 headers. But I'll save that fix for another day...
CHANGELOG: Implemented iopset command on mpc8xx
Dan Eisenhut