diff options
author | Stefan Reinauer <stepan@openbios.org> | 2006-06-25 09:56:45 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2006-06-25 09:56:45 +0000 |
commit | 6472a0e274bbdd374cd2af70c890066f28d0a2dc (patch) | |
tree | 758462be15efb82c04b314de3dbb054b804d3bf7 /util | |
parent | 92e8b809b46c59742ae486ed5a52a0e0e25156b0 (diff) | |
download | coreboot-6472a0e274bbdd374cd2af70c890066f28d0a2dc.tar.xz |
add support for PMC 49FL002 as used in the RD1-PMC2
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@2332 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util')
-rw-r--r-- | util/flashrom/flash.h | 1 | ||||
-rw-r--r-- | util/flashrom/flashchips.c | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/util/flashrom/flash.h b/util/flashrom/flash.h index 673f8b6981..775676ad48 100644 --- a/util/flashrom/flash.h +++ b/util/flashrom/flash.h @@ -52,6 +52,7 @@ extern struct flashchip flashchips[]; #define SST_49LF008A 0x5A /* SST 49LF008A device */ #define PMC_ID 0x9D /* PMC Manufacturer ID[B code */ +#define PMC_49FL002 0x6D /* PMC 49FL002 device code */ #define PMC_49FL004 0x6E /* PMC 49FL004 device code */ #define WINBOND_ID 0xDA /* Winbond Manufacture ID code */ diff --git a/util/flashrom/flashchips.c b/util/flashrom/flashchips.c index 5b5928e8f2..fbaa49e8fb 100644 --- a/util/flashrom/flashchips.c +++ b/util/flashrom/flashchips.c @@ -72,6 +72,8 @@ struct flashchip flashchips[] = { probe_sst_fwhub, erase_sst_fwhub, write_sst_fwhub,NULL}, {"SST49LF008A", SST_ID, SST_49LF008A, NULL, 1024, 64 * 1024 , probe_sst_fwhub, erase_sst_fwhub, write_sst_fwhub, NULL}, + {"Pm49FL002", PMC_ID, PMC_49FL002, NULL, 256, 16 * 1024, + probe_jedec, erase_chip_jedec, write_49fl004,NULL}, {"Pm49FL004", PMC_ID, PMC_49FL004, NULL, 512, 64 * 1024, probe_jedec, erase_chip_jedec, write_49fl004,NULL}, {"W29C011", WINBOND_ID, W_29C011, NULL, 128, 128, |