From: Reinhard Meyer Date: Mon, 1 Mar 2004 12:27:02 +0100 Subject: [U-Boot-Users] Patch generalizing IDE Reset function for MPC5200 Message-ID: <00ee01c3ff80$3b641f60$644ba8c0@alb.sub.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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