enable_vpp / disable_vpp

Sascha Hauer sascha at saschahauer.de
Fri May 6 05:51:08 EDT 2005


On Wed, May 04, 2005 at 04:00:20PM -0700, Todd Poynor wrote:
> Sascha Hauer wrote:
> >Hi all,
> >
> >I'm using cfi_cmdset_0001.c (intel strata) on a custom pxa board. Our
> >mapping driver implements enable_vpp and disable_vpp. We often receive
> >"Chip reports voltage low on erase" errors. The driver seems to disable
> >vpp during erase operations. If I short-ciruit the disable_vpp function
> >everything works fine. A comment gives a hint on how to do this correct:
> >
> >/* We should really make set_vpp() count, rather than doing this */
> >
> >Is this feature planned for the future? 
> 
> One stab at this was
> http://lists.infradead.org/pipermail/linux-mtd/2005-January/011517.html
> 

I tried something similar. I copied enable_vpp and disable_vpp from the
dilnetpc, which does exactly that. It did not solve my problem, so maybe
counting is not enough. I can't remember how it behaved, but I think I
had one enable_vpp and one disable_vpp, but too early.

Sascha





More information about the linux-mtd mailing list