Commit cd172b710822fe170db04fa1e78c08adea56425a

Authored by wdenk
1 parent c3d2b4b48a

Fix IDE stability problems on CPC45 board.

Showing 3 changed files with 12 additions and 0 deletions Side-by-side Diff

... ... @@ -2,6 +2,8 @@
2 2 Changes for U-Boot 1.1.3:
3 3 ======================================================================
4 4  
  5 +* Fix IDE stability problems on CPC45 board (needs 2 x EIEIO).
  6 +
5 7 * Code cleanup
6 8  
7 9 * Patch by Robin Getz, 13 Oct 2004:
... ... @@ -958,11 +958,15 @@
958 958 dbuf = (uchar *)sect_buf;
959 959 while (words--) {
960 960 EIEIO;
  961 + EIEIO;
961 962 *dbuf++ = *pbuf_even;
962 963 EIEIO;
  964 + EIEIO;
963 965 *dbuf++ = *pbuf_odd;
964 966 EIEIO;
  967 + EIEIO;
965 968 *dbuf++ = *pbuf_even;
  969 + EIEIO;
966 970 EIEIO;
967 971 *dbuf++ = *pbuf_odd;
968 972 }
include/pcmcia/cirrus.h
... ... @@ -166,9 +166,15 @@
166 166 static int has_ring = -1;
167 167 static int dynamic_mode = 0;
168 168 static int freq_bypass = -1;
  169 +#ifdef CONFIG_CPC45
  170 +static int setup_time = 2;
  171 +static int cmd_time = 6;
  172 +static int recov_time = 1;
  173 +#else
169 174 static int setup_time = -1;
170 175 static int cmd_time = -1;
171 176 static int recov_time = -1;
  177 +#endif
172 178  
173 179  
174 180 #endif /* _LINUX_CIRRUS_H */