increased timeout count to fix

[ 1882111 ] Timeout in amdstatus() too small


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@986 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Arnim Läuger 17 years ago
parent 8e7063f591
commit 9c8052ef7d

@ -1,3 +1,8 @@
2008-02-02 Arnim Laeuger <arniml@users.sourceforge.net>
* src/flash/amd.c (amdstatus): increase timeout count to address
[ 1882111 ] Timeout in amdstatus() too small
2008-02-02 Kolja Waschk <kawk>
* src/tap/cable.c: Automatically resize JTAG activity queue if necessary,

@ -140,7 +140,7 @@ amdstatus( bus_t *bus, uint32_t adr, int data )
uint32_t togglemask = ((1 << 6) << 16) + (1 << 6); /* DQ 6 */
/* int dq5mask = ((1 << 5) << 16) + (1 << 5); DQ5 */
for (timeout = 0; timeout < 100; timeout++) {
for (timeout = 0; timeout < 7000; timeout++) {
uint32_t data1 = bus_read( bus, adr );
uint32_t data2 = bus_read( bus, adr );

Loading…
Cancel
Save