[PATCH] mtd: AT49BV6416 has swapped erase regions

Haavard Skinnemoen haavard.skinnemoen at atmel.com
Tue Sep 30 08:22:07 EDT 2008


"Leon Woestenberg" <leon.woestenberg at gmail.com> wrote:
> Haavard,
> 
> On Tue, Sep 30, 2008 at 1:55 PM, Haavard Skinnemoen
> <haavard.skinnemoen at atmel.com> wrote:
> > The CFI information read from AT49BV6416 lists the erase regions in the
> > wrong order, causing problems when trying to erase or update the first
> > or last 64K block.
> >
> Are there other Atmel designs with this bug or only the chip with this CFI ID?

That's a good question. I guess there may be others in the same family
with the same bug. I don't really know.

The replacement, AT49BV642D, does not have this bug.

> I ask, because the check in u-boot is too generic; I found u-boot
> wrongly assumes wrong order for another Atmel part, not checking on a
> specific CFI ID.

That's interesting...especially since u-boot only reads the low byte
of the JEDEC ID, so adding a fixup for one particular ID may match tons
of chips with 16-bit IDs.

I'll have to check the latest u-boot and see if it breaks any of my
boards.

Haavard



More information about the linux-mtd mailing list