[Uclinux-dist-devel] [PATCH 4/7] mtd: Blackfin NFC: wait for the ECC reset to finish

Mike Frysinger vapier.adi at gmail.com
Thu Aug 5 11:20:16 EDT 2010


On Thu, Aug 5, 2010 at 11:16, David Woodhouse wrote:
> On Thu, 2010-08-05 at 11:07 -0400, Mike Frysinger wrote:
>>
>> +       while (bfin_read_NFC_RST() & ECC_RST)
>> +               cpu_relax();
>
> All applied, but I'd be happier if this one had some kind of timeout and
> didn't have the potential to loop forever if the hardware misbehaves.

ive opened a tracker item for it
-mike



More information about the linux-mtd mailing list