PERFORCE change 109426 for review
Warner Losh
imp at FreeBSD.org
Tue Nov 7 09:16:47 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=109426
Change 109426 by imp at imp_lighthouse on 2006/11/07 09:15:53
Ooops, wait for the bit to turn ON, not OFF. Should fix
hangs on boot when this is enabled.
Affected files ...
.. //depot/projects/arm/src/sys/dev/flash/at45d.c#8 edit
Differences ...
==== //depot/projects/arm/src/sys/dev/flash/at45d.c#8 (text+ko) ====
@@ -188,7 +188,7 @@
static void
at45d_wait_for_device_ready(device_t dev)
{
- while (at45d_get_status(dev) & 0x80)
+ while (!(at45d_get_status(dev) & 0x80))
continue;
}
More information about the p4-projects
mailing list