提交 a0645ce9 编写于 作者: M Michał Mirosław 提交者: David Woodhouse

mtd: add SST39SF040 chip to jedec_probe

Add SST39SF040 chip (like SST39SF020A but bigger - 4Mbit).
Signed-off-by: NMichał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: NArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: NDavid Woodhouse <David.Woodhouse@intel.com>
上级 f19e8999
...@@ -166,6 +166,7 @@ ...@@ -166,6 +166,7 @@
#define SST39LF040 0x00D7 #define SST39LF040 0x00D7
#define SST39SF010A 0x00B5 #define SST39SF010A 0x00B5
#define SST39SF020A 0x00B6 #define SST39SF020A 0x00B6
#define SST39SF040 0x00B7
#define SST49LF004B 0x0060 #define SST49LF004B 0x0060
#define SST49LF040B 0x0050 #define SST49LF040B 0x0050
#define SST49LF008A 0x005a #define SST49LF008A 0x005a
...@@ -1391,6 +1392,18 @@ static const struct amd_flash_info jedec_table[] = { ...@@ -1391,6 +1392,18 @@ static const struct amd_flash_info jedec_table[] = {
.regions = { .regions = {
ERASEINFO(0x01000,64), ERASEINFO(0x01000,64),
} }
}, {
.mfr_id = MANUFACTURER_SST,
.dev_id = SST39SF040,
.name = "SST 39SF040",
.devtypes = CFI_DEVICETYPE_X8,
.uaddr = MTD_UADDR_0x5555_0x2AAA,
.dev_size = SIZE_512KiB,
.cmd_set = P_ID_AMD_STD,
.nr_regions = 1,
.regions = {
ERASEINFO(0x01000,128),
}
}, { }, {
.mfr_id = MANUFACTURER_SST, .mfr_id = MANUFACTURER_SST,
.dev_id = SST49LF040B, .dev_id = SST49LF040B,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册