On Fri, 04 Aug 2006 16:41:12 +0800
David Woodhouse <dwmw2@xxxxxxxxxxxxx> wrote:
> On Fri, 2006-08-04 at 10:28 +0200, Haavard Skinnemoen wrote:
> > What's the best way to do this? Unlock the flash in the
> > board-specific mapping driver perhaps?
> That's what we used to do. If more people are emulating the Intel
> brain damage and having chips which render the lock operation entirely
> pointless by locking the chips at every power cycle, then I suppose we
> ought to consider making auto-unlock a function of the chip type.
It appears that Atmel has reverted this in later chips, like the
AT49BV642D. Updated patch below, if you still want it. Please disregard
the jedec_probe patch as I've got AT49BV6416 working in CFI mode now.
This patch depends on "MTD: Convert Atmel PRI information to AMD
format" which I just submitted, as it needs the definition