Re: [PATCH] MTD: Add lock/unlock operations for Atmel AT49BV6416

From: Josh Boyer
Date: Wed Aug 16 2006 - 21:16:11 EST


On 8/9/06, Haavard Skinnemoen <hskinnemoen@xxxxxxxxx> wrote:
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
of CFI_MFR_ATMEL.

I've added this patch to my tree.

josh
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/