From 3b78de6887bc7c3ba0210365e42af071202000a4 Mon Sep 17 00:00:00 2001 From: Markus Boas Date: Thu, 30 Aug 2007 10:11:08 +0000 Subject: Add support for the Winbond W29C040P. Signed-off-by: Markus Boas Acked-by: Uwe Hermann git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2752 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- util/flashrom/README | 1 + util/flashrom/flash.h | 1 + util/flashrom/flashchips.c | 2 ++ 3 files changed, 4 insertions(+) diff --git a/util/flashrom/README b/util/flashrom/README index 12be20dcf9..06b58032e3 100644 --- a/util/flashrom/README +++ b/util/flashrom/README @@ -149,6 +149,7 @@ SyncMOS S29C51004T/B SyncMOS S29C31004T Winbond W29C011 Winbond W29C020C +Winbond W29C040P Winbond W49F002U Winbond W49V002A Winbond W49V002FA diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h index 55e218c75f..850bf33a2f 100644 --- a/util/flashrom/flash.h +++ b/util/flashrom/flash.h @@ -101,6 +101,7 @@ extern struct flashchip flashchips[]; #define WINBOND_ID 0xDA /* Winbond */ #define W_29C011 0xC1 #define W_29C020C 0x45 +#define W_29C040P 0x46 #define W_39V040FA 0x34 #define W_39V040A 0x3D #define W_39V040B 0x54 diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c index aeca7bcdbe..291530794e 100644 --- a/util/flashrom/flashchips.c +++ b/util/flashrom/flashchips.c @@ -82,6 +82,8 @@ struct flashchip flashchips[] = { probe_jedec, erase_chip_jedec, write_49fl004}, {"W29C011", WINBOND_ID, W_29C011, 128, 128, probe_jedec, erase_chip_jedec, write_jedec}, + {"W29C040P", WINBOND_ID, W_29C040P, 512, 256, + probe_jedec, erase_chip_jedec, write_jedec}, {"W29C020C", WINBOND_ID, W_29C020C, 256, 128, probe_jedec, erase_chip_jedec, write_jedec}, {"W49F002U", WINBOND_ID, W_49F002U, 256, 128, -- cgit v1.2.3