mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
IDE: fix bug in reset sequence
According to the ata (ata5) specification the RESET- signal shall be asserted for at least 25 us. Without this patch, the RESET- signal is asserted on some boards for only < 1 us (e. g. on the TQM5200). This patch adds a general delay of 25 us to the RESET- signal. Without this patch a Platinum 4 GiB CF card is not recognised properly on boards with a TQM5200 (STK52xx, TB5200). Signed-off-by: Martin Krause <martin.krause@tqs.de>
This commit is contained in:
parent
813bea96a9
commit
e175eacc87
1 changed files with 3 additions and 0 deletions
|
@ -1529,6 +1529,9 @@ static void ide_reset (void)
|
|||
|
||||
ide_set_reset (1); /* assert reset */
|
||||
|
||||
/* the reset signal shall be asserted for et least 25 us */
|
||||
udelay(25);
|
||||
|
||||
WATCHDOG_RESET();
|
||||
|
||||
#ifdef CFG_PB_12V_ENABLE
|
||||
|
|
Loading…
Reference in a new issue