svn commit: r186307 - projects/cambria/sys/boot/arm/ixp425/boot2
Sam Leffler
sam at FreeBSD.org
Thu Dec 18 16:56:47 PST 2008
Author: sam
Date: Fri Dec 19 00:56:47 2008
New Revision: 186307
URL: http://svn.freebsd.org/changeset/base/186307
Log:
add delays around 16-bit enable/disable a la the driver; w/o this
operation on my ixp435 Cambria board is unreliable
Modified:
projects/cambria/sys/boot/arm/ixp425/boot2/ixp425_board.c
Modified: projects/cambria/sys/boot/arm/ixp425/boot2/ixp425_board.c
==============================================================================
--- projects/cambria/sys/boot/arm/ixp425/boot2/ixp425_board.c Fri Dec 19 00:20:48 2008 (r186306)
+++ projects/cambria/sys/boot/arm/ixp425/boot2/ixp425_board.c Fri Dec 19 00:56:47 2008 (r186307)
@@ -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
More information about the svn-src-projects
mailing list