Support Macronix MX29LV040C
PATCH 1/1 Support Macronix MX29LV040C
Hello
The following patch adds support for the Macronix MX29LV040C to jedec_probe chip driver.
Please apply.
Regards
Pantelis
===== drivers/mtd/chips/jedec_probe.c 1.14 vs edited =====
drivers/mtd/chips/jedec_probe.c +14 -0
@@ -113,6 +113,7 @@#define MX29F002T 0x00B0#define MX29F004T 0x0045#define MX29F004B 0x0046 +#define MX29LV040C 0x004F/* PMC */ #define PM49FL002 0x006D
@@ -502,6 +503,19 @@ .mfr_id = MANUFACTURER_AMD, .dev_id = AM29LV040B, .name = "AMD AM29LV040B", + .uaddr = { + [0 ] = MTD_UADDR_0x0555_0x02AA/* x8 */ + }, + .DevSize = SIZE_512KiB, + .CmdSet = P_ID_AMD_STD, + .NumEraseRegions= 1, + .regions = { + ERASEINFO(0x10000,8), + } + }, { + .mfr_id = MANUFACTURER_MACRONIX, + .dev_id = MX29LV040C, + .name = "Macronix MX29LV040C", .uaddr = { [0 ] = MTD_UADDR_0x0555_0x02AA/* x8 */ },
Thayne Harbaugh
AppliedQuoted 4 lines · Pantelis Antoniou
Hello
The following patch adds support for the Macronix MX29LV040C to
jedec_probechip driver.
Thanks.
Applied.
I had to shuffle things with the patch because the device wasn't sorted correctly WRT the other devices in jedec_table[] 8(.
Quoted 8 lines · Thayne Harbaugh
Quoted 4 lines · Pantelis Antoniou
Hello
The following patch adds support for the Macronix MX29LV040C to
jedec_probechip driver.
Quoted 10 lines
Thanks.
Applied.
I had to shuffle things with the patch because the device wasn't sorted correctly WRT the other devices in jedec_table[] 8(.
The table is sorted? :)
Regards
Pantelis