diff options
author | sam <sam@FreeBSD.org> | 2008-12-19 00:56:47 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2008-12-19 00:56:47 +0000 |
commit | 11d6f4bc0e851b3d1db003bbeee83ab94513a0c5 (patch) | |
tree | f539bad20c941c1d2be6df3b041cee703ec0185e | |
parent | d31587da9431cef6ad76c501d06a3a7af00409e6 (diff) | |
download | FreeBSD-src-11d6f4bc0e851b3d1db003bbeee83ab94513a0c5.zip FreeBSD-src-11d6f4bc0e851b3d1db003bbeee83ab94513a0c5.tar.gz |
add delays around 16-bit enable/disable a la the driver; w/o this
operation on my ixp435 Cambria board is unreliable
-rw-r--r-- | sys/boot/arm/ixp425/boot2/ixp425_board.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/boot/arm/ixp425/boot2/ixp425_board.c b/sys/boot/arm/ixp425/boot2/ixp425_board.c index 5c8d54c..50e317d 100644 --- a/sys/boot/arm/ixp425/boot2/ixp425_board.c +++ b/sys/boot/arm/ixp425/boot2/ixp425_board.c @@ -330,6 +330,7 @@ cfenable16(void) val = *dskinf.cs1to; *dskinf.cs1to = val &~ EXP_BYTE_EN; + DELAY(100); #if 0 DPRINTF("%s: cs1 timing reg %x\n", *dskinf.cs1to, __func__); #endif @@ -340,6 +341,7 @@ cfdisable16(void) { u_int32_t val; + DELAY(100); val = *dskinf.cs1to; *dskinf.cs1to = val | EXP_BYTE_EN; #if 0 |