jedec: Fix compilation problem with I28F640C3B definition
PATCH 1/1 jedec: Fix compilation problem with I28F640C3B definition
Fix compilation problem with I28F640C3B definition
From: Stefan Roese <[email protected]>
Date: Tue Feb 12 17:05:25 2008 +0100
mtd: Fix compilation problem with I28F640C3B definition
---
This has been sitting in DENX tree for a while, any reason not having it upstream?
drivers/mtd/chips/jedec_probe.c | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
(quoted diff) +0 -0
b/drivers/mtd/chips/jedec_probe.c index ccc4cfc..94a0d8f 100644
drivers/mtd/chips/jedec_probe.c +5 -0
@@ -111,6 +111,11 @@#define I28F320B3B 0x8897#define I28F640B3T 0x8898#define I28F640B3B 0x8899 +#define I28F640C3B 0x88CD +#define I28F160F3T 0x88F3 +#define I28F160F3B 0x88F4 +#define I28F160C3T 0x88C2 +#define I28F160C3B 0x88C3#define I82802AB 0x00ad#define I82802AC 0x00ac
@@ -1103,6 +1108,19 @@ static const struct amd_flash_info jedec_table[]
= { }
}, {
.mfr_id = MANUFACTURER_INTEL,
+ .dev_id = I28F640C3B,
+ .name = "Intel 28F640C3B",
+ .devtypes = CFI_DEVICETYPE_X16,
+ .uaddr = MTD_UADDR_UNNECESSARY,
+ .dev_size = SIZE_8MiB,
+ .cmd_set = P_ID_INTEL_STD,
+ .nr_regions = 2,
+ .regions = {
+ ERASEINFO(0x02000, 8),
+ ERASEINFO(0x10000, 127),
+ }
+ }, {
+ .mfr_id = MANUFACTURER_INTEL,
.dev_id = I82802AB,
.name = "Intel 82802AB",
.devtypes = CFI_DEVICETYPE_X8,