Macpaul Lin írta: > Description: > > 1. Suggestion: > 1.a This patch add support of m25p80 with mx25lxxx support to kirkwood > based platform. > 1.b Because mx25lxxx series are used by many kind of platform with many CPU. > I also suggest someone to merge the patch related to m25p80 in > /target/linux/ar71xx with this patch (for kirkwood) into > /target/linux/generic-2.6/patches
Done, although only for 2.6.32. > > 2. Patch file placement: > /trunk/target/linux/kirkwood/patches > > 3. Patch filename: > 100-mtd_m25p80_add_mx25lxxx_support.patch > > Signed-off-by: Macpaul Lin <macp...@gmail.com> > > --- > > Index: linux-2.6.32.7/drivers/mtd/devices/m25p80.c > =================================================================== > --- a/drivers/mtd/devices/m25p80.c 2009-06-10 11:05:27.000000000 +0800 > +++ b/drivers/mtd/devices/m25p80.c 2009-06-19 18:31:21.000000000 +0800 > @@ -500,6 +500,12 @@ > { "at26df161a", 0x1f4601, 0, 64 * 1024, 32, SECT_4K, }, > { "at26df321", 0x1f4701, 0, 64 * 1024, 64, SECT_4K, }, > > + /* Macronix */ > + { "mx25l3205d", 0xc22016, 0, 16 * 1024, 256, }, ^^^^^^^^^^^^^^^ wrong values > + { "mx25l6405d", 0xc22017, 0, 64 * 1024, 128, }, > + { "mx25l12805d", 0xc22018, 0, 64 * 1024, 256, }, > + { "mx25l12855e", 0xc22618, 0, 64 * 1024, 256, }, > + > /* Spansion -- single (large) sector size only, at least > * for the chips listed here (without boot sectors). > */ > _______________________________________________ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel > _______________________________________________ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel