aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd/chips
diff options
context:
space:
mode:
authorHiroshi Ito <ito@mlb.co.jp>2009-09-18 15:51:51 -0400
committerDavid Woodhouse <David.Woodhouse@intel.com>2009-09-19 14:25:56 -0400
commit9aff1b1afe9a30c358d1c3a0bb50ae77bd7f994b (patch)
treeeaa1a66b5f2776b91d23427922821f933d562695 /drivers/mtd/chips
parenta57ca0466af5da83e379d636b8c01fd53b41e2c6 (diff)
mtd: jedec_probe: fix NEC uPD29F064115 detection
linux v2.6.31-rc6 can not detect NEC uPD29F064115. uPD29F064115 is a 16 bit device. datasheet: http://www.cn.necel.com/memory/cn/download/M16062EJ2V0DS00.pdf This applies the same fix as used for SST chips in commit ca6f12c67ed19718cf37d0f531af9438de85b70c ("jedec_probe: Fix SST 16-bit chip detection"). Signed-off-by: Hiroshi Ito <ito@mlb.co.jp> Cc: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Diffstat (limited to 'drivers/mtd/chips')
-rw-r--r--drivers/mtd/chips/jedec_probe.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c
index ccc4cfc7e4b5..0f7065d190f5 100644
--- a/drivers/mtd/chips/jedec_probe.c
+++ b/drivers/mtd/chips/jedec_probe.c
@@ -1156,8 +1156,8 @@ static const struct amd_flash_info jedec_table[] = {
1156 .mfr_id = MANUFACTURER_NEC, 1156 .mfr_id = MANUFACTURER_NEC,
1157 .dev_id = UPD29F064115, 1157 .dev_id = UPD29F064115,
1158 .name = "NEC uPD29F064115", 1158 .name = "NEC uPD29F064115",
1159 .devtypes = CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8, 1159 .devtypes = CFI_DEVICETYPE_X16,
1160 .uaddr = MTD_UADDR_0x0555_0x02AA, /* ???? */ 1160 .uaddr = MTD_UADDR_0xAAAA_0x5555,
1161 .dev_size = SIZE_8MiB, 1161 .dev_size = SIZE_8MiB,
1162 .cmd_set = P_ID_AMD_STD, 1162 .cmd_set = P_ID_AMD_STD,
1163 .nr_regions = 3, 1163 .nr_regions = 3,