From 11d6f4bc0e851b3d1db003bbeee83ab94513a0c5 Mon Sep 17 00:00:00 2001 From: sam Date: Fri, 19 Dec 2008 00:56:47 +0000 Subject: add delays around 16-bit enable/disable a la the driver; w/o this operation on my ixp435 Cambria board is unreliable --- sys/boot/arm/ixp425/boot2/ixp425_board.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/boot') 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 -- cgit v1.1