* [PATCH] mtd: m25p80: add support for the EON EN25Q64 chip
@ 2012-08-26 8:37 Gabor Juhos
2012-08-29 11:04 ` Artem Bityutskiy
0 siblings, 1 reply; 3+ messages in thread
From: Gabor Juhos @ 2012-08-26 8:37 UTC (permalink / raw)
To: David Woodhouse; +Cc: Gabor Juhos, linux-mtd
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
---
drivers/mtd/devices/m25p80.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
index 5d0d68c..d812552 100644
--- a/drivers/mtd/devices/m25p80.c
+++ b/drivers/mtd/devices/m25p80.c
@@ -638,6 +638,7 @@ static const struct spi_device_id m25p_ids[] = {
{ "en25p32", INFO(0x1c2016, 0, 64 * 1024, 64, 0) },
{ "en25q32b", INFO(0x1c3016, 0, 64 * 1024, 64, 0) },
{ "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) },
+ { "en25q64", INFO(0x1c3017, 0, 64 * 1024, 128, SECT_4K) },
/* Everspin */
{ "mr25h256", CAT25_INFO( 32 * 1024, 1, 256, 2) },
--
1.7.10
^ permalink raw reply related [flat|nested] 3+ messages in thread* Re: [PATCH] mtd: m25p80: add support for the EON EN25Q64 chip
2012-08-26 8:37 [PATCH] mtd: m25p80: add support for the EON EN25Q64 chip Gabor Juhos
@ 2012-08-29 11:04 ` Artem Bityutskiy
2012-08-29 11:13 ` John Crispin
0 siblings, 1 reply; 3+ messages in thread
From: Artem Bityutskiy @ 2012-08-29 11:04 UTC (permalink / raw)
To: Gabor Juhos, John Crispin; +Cc: linux-mtd, David Woodhouse
[-- Attachment #1: Type: text/plain, Size: 874 bytes --]
On Sun, 2012-08-26 at 10:37 +0200, Gabor Juhos wrote:
> Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
> ---
> drivers/mtd/devices/m25p80.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
> index 5d0d68c..d812552 100644
> --- a/drivers/mtd/devices/m25p80.c
> +++ b/drivers/mtd/devices/m25p80.c
> @@ -638,6 +638,7 @@ static const struct spi_device_id m25p_ids[] = {
> { "en25p32", INFO(0x1c2016, 0, 64 * 1024, 64, 0) },
> { "en25q32b", INFO(0x1c3016, 0, 64 * 1024, 64, 0) },
> { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) },
> + { "en25q64", INFO(0x1c3017, 0, 64 * 1024, 128, SECT_4K) },
I've already pushed a similar patch from "John Crispin
<blogic@openwrt.org>", but it did not have "SECT_4K". So I am not
picking this one.
--
Best Regards,
Artem Bityutskiy
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [PATCH] mtd: m25p80: add support for the EON EN25Q64 chip
2012-08-29 11:04 ` Artem Bityutskiy
@ 2012-08-29 11:13 ` John Crispin
0 siblings, 0 replies; 3+ messages in thread
From: John Crispin @ 2012-08-29 11:13 UTC (permalink / raw)
To: dedekind1; +Cc: Gabor Juhos, emong, David Woodhouse, linux-mtd
On 29/08/12 13:04, Artem Bityutskiy wrote:
> On Sun, 2012-08-26 at 10:37 +0200, Gabor Juhos wrote:
>> Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
>> ---
>> drivers/mtd/devices/m25p80.c | 1 +
>> 1 file changed, 1 insertion(+)
>>
>> diff --git a/drivers/mtd/devices/m25p80.c b/drivers/mtd/devices/m25p80.c
>> index 5d0d68c..d812552 100644
>> --- a/drivers/mtd/devices/m25p80.c
>> +++ b/drivers/mtd/devices/m25p80.c
>> @@ -638,6 +638,7 @@ static const struct spi_device_id m25p_ids[] = {
>> { "en25p32", INFO(0x1c2016, 0, 64 * 1024, 64, 0) },
>> { "en25q32b", INFO(0x1c3016, 0, 64 * 1024, 64, 0) },
>> { "en25p64", INFO(0x1c2017, 0, 64 * 1024, 128, 0) },
>> + { "en25q64", INFO(0x1c3017, 0, 64 * 1024, 128, SECT_4K) },
> I've already pushed a similar patch from "John Crispin
> <blogic@openwrt.org>", but it did not have "SECT_4K". So I am not
> picking this one.
>
Hi Artem,
the patch is based on this ticket ->
https://dev.openwrt.org/ticket/12077
i verified it against the datasheet. the datasheet indicates that
SECT_4K should work, but as the patch was only runtime tested without
the SECT_4K i did not add it.
Gabor told me that the SECT_4K was runtime tested on the en25q32 which
is from the same family.
I have put the submitter of patch in CC, maybe he can test with the
SECT_4K set.
Thanks,
John
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-08-29 11:15 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-08-26 8:37 [PATCH] mtd: m25p80: add support for the EON EN25Q64 chip Gabor Juhos
2012-08-29 11:04 ` Artem Bityutskiy
2012-08-29 11:13 ` John Crispin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).