[U-Boot-Users] [PATCH] iopset implemented for mpc8xx
Eisenhut, Daniel (GE Healthcare)
Daniel.Eisenhut at med.ge.com
Fri Mar 25 23:45:17 CET 2005
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iopset.diff
Type: application/octet-stream
Size: 14535 bytes
Desc: iopset.diff
Url : http://lists.denx.de/pipermail/u-boot/attachments/20050325/e14882db/attachment.obj
More information about the U-Boot
mailing list