[U-Boot-Users] Patch generalizing IDE Reset function for MPC5200

Reinhard Meyer r.meyer at emk-elektronik.de
Mon Mar 1 12:27:02 CET 2004


The following patch generalises the use of PSC1.4 for IDE Reset. The idea
behind is that most probably many 5200 designs will be similiar to IceCube,
_if_ they use the IDE interface. Using the otherwise quite useless PSC1.4
for UDE-Reset seems an obvious choice then.

Instead of continuosly adding more and more boards into the #if defined ()
chain, one define
CONFIG_IDE_RESET_USE_PSC1_4 can be added to the board's configuration file.

If someone else uses another I/O port, that can be easyly added in a
similiar way.

This patch patches cpu/mpc5xxx/ide.c AND include/config/IceCube.h.

Thanks, Pierre, for the good work, the driver works fine on our board.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: u-boot.ide5200.patch
Type: application/octet-stream
Size: 1885 bytes
Desc: not available
Url : http://lists.denx.de/pipermail/u-boot/attachments/20040301/ebade1a2/attachment.obj 


More information about the U-Boot mailing list