some additional ST M29Fxxx 8bit JEDEC chips for 2.4.21
PATCH 1/1 some additional ST M29Fxxx 8bit JEDEC chips for 2.4.21
Hallo,
I've add some 8bit chips from ST to the chip table in jedec_probe.c from kernel 2.4.21. I've testet the M29F040B and it seems to work pretty well with MTD and jffs2.
Guido
-----------------------------------------------------
mtd/chips/jedec_probe.c +42 -0
@@ -98,6 +98,12 @@#define M29W160DT 0x22C4#define M29W160DB 0x2249#define M29W040B 0x00E3 +/* 2003-06-06 gc: */ +#define M29F010B 0x0020/* 8 blocks a 16kByte */ +#define M29F040B 0x00e2/* 8 blocks a 64kByte */ +#define M29F080D 0x00f1/* 16 blocks a 64kByte */ +#define M29F016D 0x00ad/* 32 blocks a 64kByte */ +#define M29F032D 0x00ac/* 64 blocks a 64kByte */ /* SST */ #define SST29EE512 0x005d
@@ -649,6 +655,42 @@ ERASEINFO(0x10000,31) } }, { + mfr_id: MANUFACTURER_ST, + dev_id: M29F010B, + name: "ST M29F010B", + DevSize: SIZE_128KiB, + NumEraseRegions: 1, + regions: {ERASEINFO(0x04000,8), + } + }, { + mfr_id: MANUFACTURER_ST, + dev_id: M29F040B, + name: "ST M29F040B", + DevSize: SIZE_512KiB, + NumEraseRegions: 1, + regions: {ERASEINFO(0x10000, 8) } + }, { + mfr_id: MANUFACTURER_ST, + dev_id: M29F080D, + name: "ST M29F080D", + DevSize: SIZE_1MiB, + NumEraseRegions: 1, + regions: {ERASEINFO(0x10000, 16) } + }, { + mfr_id: MANUFACTURER_ST, + dev_id: M29F016D, + name: "ST M29F016D", + DevSize: SIZE_2MiB, + NumEraseRegions: 1, + regions: {ERASEINFO(0x10000, 32) } + }, { + mfr_id: MANUFACTURER_ST, + dev_id: M29F032D, + name: "ST M29F032D", + DevSize: SIZE_4MiB, + NumEraseRegions: 1, + regions: {ERASEINFO(0x10000, 64) } + }, { mfr_id: MANUFACTURER_ATMEL, dev_id: AT49BV512, name: "Atmel AT49BV512",
Quoted 5 lines · Guido Classen
Hallo,
I've add some 8bit chips from ST to the chip table in
jedec_probe.cfrom kernel 2.4.21. I've testet the M29F040B and it seems to work pretty well with MTD and jffs2.
Wonderful. It will take me a bit to wedge your patch in - the MTD CVS tree has significantly diverged from what is in 2.4.21. I'll be doing some significant work on MTD jedec_probe.c in the next few weeks and I'll put it in then. If you _really_ want the patch to go in now then check out the latest jedec_probe.c and diff against that.
Once again, thanks for the contribution.
Signature · 2 lines
Thayne Harbaugh Linux Networx