* [PATCH] [MTD] [CHIPS] Add JEDEC probe support for the SST38VF6401 flash chip
@ 2010-10-13 17:19 ` zhangyd
0 siblings, 0 replies; 7+ messages in thread
From: zhangyd @ 2010-10-13 17:19 UTC (permalink / raw)
To: dwmw2; +Cc: w.sang, Artem.Bityutskiy, jkosina, linux-mtd, linux-kernel, zhangyd
Add SST38VF6401(8Mbit) chip to jedec_probe.
Signed-off-by: yidong zhang<zhangyd6@gmail.com>
---
drivers/mtd/chips/jedec_probe.c | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c
index d72a5fb..b7a1016 100644
--- a/drivers/mtd/chips/jedec_probe.c
+++ b/drivers/mtd/chips/jedec_probe.c
@@ -163,6 +163,7 @@
#define SST49LF030A 0x001C
#define SST49LF040A 0x0051
#define SST49LF080A 0x005B
+#define SST38VF6401 0x536B
#define SST36VF3203 0x7354
/* Toshiba */
@@ -1569,6 +1570,18 @@ static const struct amd_flash_info jedec_table[] = {
}
}, {
.mfr_id = CFI_MFR_ST,
+ .dev_id = SST38VF6401,
+ .name = "SST 38VF6401",
+ .devtypes = CFI_DEVICETYPE_X16,
+ .uaddr = MTD_UADDR_0X0AAA_0x555,
+ .dev_size = SIZE_8MiB,
+ .cmd_set = P_ID_AMD_STD,
+ .nr_regions = 1,
+ .regions = {
+ ERASEINFO(0x10000,128),
+ }
+ }, {
+ .mfr_id = CFI_MFR_ST,
.dev_id = M29F800AB,
.name = "ST M29F800AB",
.devtypes = CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8,
--
1.7.2.3
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH] [MTD] [CHIPS] Add JEDEC probe support for the SST38VF6401 flash chip
@ 2010-10-13 17:19 ` zhangyd
0 siblings, 0 replies; 7+ messages in thread
From: zhangyd @ 2010-10-13 17:19 UTC (permalink / raw)
To: dwmw2; +Cc: Artem.Bityutskiy, zhangyd, jkosina, w.sang, linux-kernel, linux-mtd
Add SST38VF6401(8Mbit) chip to jedec_probe.
Signed-off-by: yidong zhang<zhangyd6@gmail.com>
---
drivers/mtd/chips/jedec_probe.c | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c
index d72a5fb..b7a1016 100644
--- a/drivers/mtd/chips/jedec_probe.c
+++ b/drivers/mtd/chips/jedec_probe.c
@@ -163,6 +163,7 @@
#define SST49LF030A 0x001C
#define SST49LF040A 0x0051
#define SST49LF080A 0x005B
+#define SST38VF6401 0x536B
#define SST36VF3203 0x7354
/* Toshiba */
@@ -1569,6 +1570,18 @@ static const struct amd_flash_info jedec_table[] = {
}
}, {
.mfr_id = CFI_MFR_ST,
+ .dev_id = SST38VF6401,
+ .name = "SST 38VF6401",
+ .devtypes = CFI_DEVICETYPE_X16,
+ .uaddr = MTD_UADDR_0X0AAA_0x555,
+ .dev_size = SIZE_8MiB,
+ .cmd_set = P_ID_AMD_STD,
+ .nr_regions = 1,
+ .regions = {
+ ERASEINFO(0x10000,128),
+ }
+ }, {
+ .mfr_id = CFI_MFR_ST,
.dev_id = M29F800AB,
.name = "ST M29F800AB",
.devtypes = CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8,
--
1.7.2.3
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [PATCH] [MTD] [CHIPS] Add JEDEC probe support for the SST38VF6401 flash chip
2010-10-15 14:01 ` Wolfram Sang
(?)
@ 2010-10-16 6:45 ` yidong zhang
-1 siblings, 0 replies; 7+ messages in thread
From: yidong zhang @ 2010-10-16 6:45 UTC (permalink / raw)
To: linux-mtd
hi Sang
According to the datasheet, the flash has no externded Query table,
so i try it in the CFI probe mode it failed. The sector-erase size
operates the whole memory, so does the block-erase size. So i use the
JEDEC probe mode. Sorry for the noise.
On Fri, Oct 15, 2010 at 10:01 PM, Wolfram Sang <w.sang@pengutronix.de> wrote:
> On Wed, Oct 13, 2010 at 01:54:42PM -0400, zhangyd wrote:
>> Add SST38VF6401(64Mbit) chip to jedec_probe. Sorry for the wrong description of the flash size in last patch.
>
> Can you explain why CFI can't be used?
>
>>
>> Signed-off-by: yidong zhang<zhangyd6@gmail.com>
>> ---
>> drivers/mtd/chips/jedec_probe.c | 13 +++++++++++++
>> 1 files changed, 13 insertions(+), 0 deletions(-)
>>
>> diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c
>> index d72a5fb..b7a1016 100644
>> --- a/drivers/mtd/chips/jedec_probe.c
>> +++ b/drivers/mtd/chips/jedec_probe.c
>> @@ -163,6 +163,7 @@
>> #define SST49LF030A 0x001C
>> #define SST49LF040A 0x0051
>> #define SST49LF080A 0x005B
>> +#define SST38VF6401 0x536B
>> #define SST36VF3203 0x7354
>>
>> /* Toshiba */
>> @@ -1569,6 +1570,18 @@ static const struct amd_flash_info jedec_table[] = {
>> }
>> }, {
>> .mfr_id = CFI_MFR_ST,
>> + .dev_id = SST38VF6401,
>> + .name = "SST 38VF6401",
>> + .devtypes = CFI_DEVICETYPE_X16,
>> + .uaddr = MTD_UADDR_0X0AAA_0x555,
>> + .dev_size = SIZE_8MiB,
>> + .cmd_set = P_ID_AMD_STD,
>> + .nr_regions = 1,
>> + .regions = {
>> + ERASEINFO(0x10000,128),
>> + }
>> + }, {
>> + .mfr_id = CFI_MFR_ST,
>> .dev_id = M29F800AB,
>> .name = "ST M29F800AB",
>> .devtypes = CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8,
>> --
>> 1.7.2.3
>>
>>
>> ______________________________________________________
>> Linux MTD discussion mailing list
>> http://lists.infradead.org/mailman/listinfo/linux-mtd/
>
> --
> Pengutronix e.K. | Wolfram Sang |
> Industrial Linux Solutions | http://www.pengutronix.de/ |
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iEYEARECAAYFAky4XqcACgkQD27XaX1/VRtKRQCfemn4m3IOVP15NugnbKdkbKgR
> yzoAn2NWzpp/F1GPUO+TW3vB3j9aZR2r
> =Ak1U
> -----END PGP SIGNATURE-----
>
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] [MTD] [CHIPS] Add JEDEC probe support for the SST38VF6401 flash chip
2010-10-13 17:54 ` zhangyd
@ 2010-10-15 14:01 ` Wolfram Sang
-1 siblings, 0 replies; 7+ messages in thread
From: Wolfram Sang @ 2010-10-15 14:01 UTC (permalink / raw)
To: zhangyd; +Cc: dwmw2, Artem.Bityutskiy, ladis, jkosina, linux-kernel, linux-mtd
[-- Attachment #1: Type: text/plain, Size: 1689 bytes --]
On Wed, Oct 13, 2010 at 01:54:42PM -0400, zhangyd wrote:
> Add SST38VF6401(64Mbit) chip to jedec_probe. Sorry for the wrong description of the flash size in last patch.
Can you explain why CFI can't be used?
>
> Signed-off-by: yidong zhang<zhangyd6@gmail.com>
> ---
> drivers/mtd/chips/jedec_probe.c | 13 +++++++++++++
> 1 files changed, 13 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c
> index d72a5fb..b7a1016 100644
> --- a/drivers/mtd/chips/jedec_probe.c
> +++ b/drivers/mtd/chips/jedec_probe.c
> @@ -163,6 +163,7 @@
> #define SST49LF030A 0x001C
> #define SST49LF040A 0x0051
> #define SST49LF080A 0x005B
> +#define SST38VF6401 0x536B
> #define SST36VF3203 0x7354
>
> /* Toshiba */
> @@ -1569,6 +1570,18 @@ static const struct amd_flash_info jedec_table[] = {
> }
> }, {
> .mfr_id = CFI_MFR_ST,
> + .dev_id = SST38VF6401,
> + .name = "SST 38VF6401",
> + .devtypes = CFI_DEVICETYPE_X16,
> + .uaddr = MTD_UADDR_0X0AAA_0x555,
> + .dev_size = SIZE_8MiB,
> + .cmd_set = P_ID_AMD_STD,
> + .nr_regions = 1,
> + .regions = {
> + ERASEINFO(0x10000,128),
> + }
> + }, {
> + .mfr_id = CFI_MFR_ST,
> .dev_id = M29F800AB,
> .name = "ST M29F800AB",
> .devtypes = CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8,
> --
> 1.7.2.3
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PATCH] [MTD] [CHIPS] Add JEDEC probe support for the SST38VF6401 flash chip
@ 2010-10-15 14:01 ` Wolfram Sang
0 siblings, 0 replies; 7+ messages in thread
From: Wolfram Sang @ 2010-10-15 14:01 UTC (permalink / raw)
To: zhangyd; +Cc: Artem.Bityutskiy, ladis, jkosina, linux-kernel, linux-mtd, dwmw2
[-- Attachment #1: Type: text/plain, Size: 1689 bytes --]
On Wed, Oct 13, 2010 at 01:54:42PM -0400, zhangyd wrote:
> Add SST38VF6401(64Mbit) chip to jedec_probe. Sorry for the wrong description of the flash size in last patch.
Can you explain why CFI can't be used?
>
> Signed-off-by: yidong zhang<zhangyd6@gmail.com>
> ---
> drivers/mtd/chips/jedec_probe.c | 13 +++++++++++++
> 1 files changed, 13 insertions(+), 0 deletions(-)
>
> diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c
> index d72a5fb..b7a1016 100644
> --- a/drivers/mtd/chips/jedec_probe.c
> +++ b/drivers/mtd/chips/jedec_probe.c
> @@ -163,6 +163,7 @@
> #define SST49LF030A 0x001C
> #define SST49LF040A 0x0051
> #define SST49LF080A 0x005B
> +#define SST38VF6401 0x536B
> #define SST36VF3203 0x7354
>
> /* Toshiba */
> @@ -1569,6 +1570,18 @@ static const struct amd_flash_info jedec_table[] = {
> }
> }, {
> .mfr_id = CFI_MFR_ST,
> + .dev_id = SST38VF6401,
> + .name = "SST 38VF6401",
> + .devtypes = CFI_DEVICETYPE_X16,
> + .uaddr = MTD_UADDR_0X0AAA_0x555,
> + .dev_size = SIZE_8MiB,
> + .cmd_set = P_ID_AMD_STD,
> + .nr_regions = 1,
> + .regions = {
> + ERASEINFO(0x10000,128),
> + }
> + }, {
> + .mfr_id = CFI_MFR_ST,
> .dev_id = M29F800AB,
> .name = "ST M29F800AB",
> .devtypes = CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8,
> --
> 1.7.2.3
>
>
> ______________________________________________________
> Linux MTD discussion mailing list
> http://lists.infradead.org/mailman/listinfo/linux-mtd/
--
Pengutronix e.K. | Wolfram Sang |
Industrial Linux Solutions | http://www.pengutronix.de/ |
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* [PATCH] [MTD] [CHIPS] Add JEDEC probe support for the SST38VF6401 flash chip
@ 2010-10-13 17:54 ` zhangyd
0 siblings, 0 replies; 7+ messages in thread
From: zhangyd @ 2010-10-13 17:54 UTC (permalink / raw)
To: dwmw2
Cc: w.sang, Artem.Bityutskiy, ladis, jkosina, linux-mtd,
linux-kernel, zhangyd
Add SST38VF6401(64Mbit) chip to jedec_probe. Sorry for the wrong description of the flash size in last patch.
Signed-off-by: yidong zhang<zhangyd6@gmail.com>
---
drivers/mtd/chips/jedec_probe.c | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c
index d72a5fb..b7a1016 100644
--- a/drivers/mtd/chips/jedec_probe.c
+++ b/drivers/mtd/chips/jedec_probe.c
@@ -163,6 +163,7 @@
#define SST49LF030A 0x001C
#define SST49LF040A 0x0051
#define SST49LF080A 0x005B
+#define SST38VF6401 0x536B
#define SST36VF3203 0x7354
/* Toshiba */
@@ -1569,6 +1570,18 @@ static const struct amd_flash_info jedec_table[] = {
}
}, {
.mfr_id = CFI_MFR_ST,
+ .dev_id = SST38VF6401,
+ .name = "SST 38VF6401",
+ .devtypes = CFI_DEVICETYPE_X16,
+ .uaddr = MTD_UADDR_0X0AAA_0x555,
+ .dev_size = SIZE_8MiB,
+ .cmd_set = P_ID_AMD_STD,
+ .nr_regions = 1,
+ .regions = {
+ ERASEINFO(0x10000,128),
+ }
+ }, {
+ .mfr_id = CFI_MFR_ST,
.dev_id = M29F800AB,
.name = "ST M29F800AB",
.devtypes = CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8,
--
1.7.2.3
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH] [MTD] [CHIPS] Add JEDEC probe support for the SST38VF6401 flash chip
@ 2010-10-13 17:54 ` zhangyd
0 siblings, 0 replies; 7+ messages in thread
From: zhangyd @ 2010-10-13 17:54 UTC (permalink / raw)
To: dwmw2
Cc: Artem.Bityutskiy, ladis, zhangyd, jkosina, w.sang, linux-kernel,
linux-mtd
Add SST38VF6401(64Mbit) chip to jedec_probe. Sorry for the wrong description of the flash size in last patch.
Signed-off-by: yidong zhang<zhangyd6@gmail.com>
---
drivers/mtd/chips/jedec_probe.c | 13 +++++++++++++
1 files changed, 13 insertions(+), 0 deletions(-)
diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c
index d72a5fb..b7a1016 100644
--- a/drivers/mtd/chips/jedec_probe.c
+++ b/drivers/mtd/chips/jedec_probe.c
@@ -163,6 +163,7 @@
#define SST49LF030A 0x001C
#define SST49LF040A 0x0051
#define SST49LF080A 0x005B
+#define SST38VF6401 0x536B
#define SST36VF3203 0x7354
/* Toshiba */
@@ -1569,6 +1570,18 @@ static const struct amd_flash_info jedec_table[] = {
}
}, {
.mfr_id = CFI_MFR_ST,
+ .dev_id = SST38VF6401,
+ .name = "SST 38VF6401",
+ .devtypes = CFI_DEVICETYPE_X16,
+ .uaddr = MTD_UADDR_0X0AAA_0x555,
+ .dev_size = SIZE_8MiB,
+ .cmd_set = P_ID_AMD_STD,
+ .nr_regions = 1,
+ .regions = {
+ ERASEINFO(0x10000,128),
+ }
+ }, {
+ .mfr_id = CFI_MFR_ST,
.dev_id = M29F800AB,
.name = "ST M29F800AB",
.devtypes = CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8,
--
1.7.2.3
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-10-16 6:45 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-13 17:19 [PATCH] [MTD] [CHIPS] Add JEDEC probe support for the SST38VF6401 flash chip zhangyd
2010-10-13 17:19 ` zhangyd
2010-10-13 17:54 zhangyd
2010-10-13 17:54 ` zhangyd
2010-10-15 14:01 ` Wolfram Sang
2010-10-15 14:01 ` Wolfram Sang
2010-10-16 6:45 ` yidong zhang
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.