[PATCH 2/3] mtd: m25p80: add support for the Intel/Numonyx {16, 32, 64}0S33B SPI flash chips
Gabor Juhos
juhosg at openwrt.org
Thu Aug 5 10:58:22 EDT 2010
2010.08.05. 15:19 keltezéssel, Luigi Zambrano írta:
> Actually I’m not sure about this patch. From the datasheet, the 16Mbit
> device has 32 sectors (32*64KB = 16Mbit), the 32Mbit device has 64 sectors
> (64*64KB = 32Mbit) and the 64Mbit device has 128 sectors (128*64KB =
> 64Mbit). So, I think the patch has to be modified in the following way
>
>
>
> + { "160s33b", INFO(0x898911, 0, 64 * 1024, 32, 0) },
>
> + { "320s33b", INFO(0x898912, 0, 64 * 1024, 64, 0) },
>
> + { "640s33b", INFO(0x898913, 0, 64 * 1024, 128, 0) },
>
Oops, you are right. We are using this patch in OpenWrt since a year or so, but
nobody noticed this so far. Good catch, thanks!
I will send a fixed version.
Regards,
Gabor
More information about the linux-mtd
mailing list