add delays around 16-bit enable/disable a la the driver; w/o this

operation on my ixp435 Cambria board is unreliable
This commit is contained in:
Sam Leffler 2008-12-19 00:56:47 +00:00
parent b4e11e4f1a
commit 656c23db6e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/projects/cambria/; revision=186307

View File

@ -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