Skip to content

Commit

Permalink
Fix IDE stability problems on CPC45 board.
Browse files Browse the repository at this point in the history
wdenk committed Jan 22, 2005
1 parent c3d2b4b commit cd172b7
Showing 3 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -2,6 +2,8 @@
Changes for U-Boot 1.1.3:
======================================================================

* Fix IDE stability problems on CPC45 board (needs 2 x EIEIO).

* Code cleanup

* Patch by Robin Getz, 13 Oct 2004:
4 changes: 4 additions & 0 deletions common/cmd_ide.c
Original file line number Diff line number Diff line change
@@ -957,13 +957,17 @@ input_data(int dev, ulong *sect_buf, int words)
pbuf_odd = (uchar *)(ATA_CURR_BASE(dev)+ATA_DATA_ODD);
dbuf = (uchar *)sect_buf;
while (words--) {
EIEIO;
EIEIO;
*dbuf++ = *pbuf_even;
EIEIO;
EIEIO;
*dbuf++ = *pbuf_odd;
EIEIO;
EIEIO;
*dbuf++ = *pbuf_even;
EIEIO;
EIEIO;
*dbuf++ = *pbuf_odd;
}
#endif /* CONFIG_HMI10 */
6 changes: 6 additions & 0 deletions include/pcmcia/cirrus.h
Original file line number Diff line number Diff line change
@@ -166,9 +166,15 @@ static int has_led = -1;
static int has_ring = -1;
static int dynamic_mode = 0;
static int freq_bypass = -1;
#ifdef CONFIG_CPC45
static int setup_time = 2;
static int cmd_time = 6;
static int recov_time = 1;
#else
static int setup_time = -1;
static int cmd_time = -1;
static int recov_time = -1;
#endif


#endif /* _LINUX_CIRRUS_H */

0 comments on commit cd172b7

Please sign in to comment.