diff options
author | wdenk <wdenk> | 2005-01-22 18:26:04 +0000 |
---|---|---|
committer | wdenk <wdenk> | 2005-01-22 18:26:04 +0000 |
commit | cd172b710822fe170db04fa1e78c08adea56425a (patch) | |
tree | 0b255bea431a8303537e7d247ee7d21fa32c1fbc | |
parent | c3d2b4b48a225edd35f80f4b7b8e70e628366575 (diff) | |
download | u-boot-imx-cd172b710822fe170db04fa1e78c08adea56425a.zip u-boot-imx-cd172b710822fe170db04fa1e78c08adea56425a.tar.gz u-boot-imx-cd172b710822fe170db04fa1e78c08adea56425a.tar.bz2 |
Fix IDE stability problems on CPC45 board.
-rw-r--r-- | CHANGELOG | 2 | ||||
-rw-r--r-- | common/cmd_ide.c | 4 | ||||
-rw-r--r-- | include/pcmcia/cirrus.h | 6 |
3 files changed, 12 insertions, 0 deletions
@@ -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: diff --git a/common/cmd_ide.c b/common/cmd_ide.c index 851ba52..b8e0bef 100644 --- a/common/cmd_ide.c +++ b/common/cmd_ide.c @@ -958,12 +958,16 @@ input_data(int dev, ulong *sect_buf, int words) 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 */ diff --git a/include/pcmcia/cirrus.h b/include/pcmcia/cirrus.h index f53b85a..cd34dd8 100644 --- a/include/pcmcia/cirrus.h +++ b/include/pcmcia/cirrus.h @@ -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 */ |