All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mtd: jedec_probe: add Eon EN29LV400A IDs
@ 2018-03-03 22:31 Linus Walleij
  2018-03-27 17:52 ` Linus Walleij
  2018-03-29 20:14 ` Boris Brezillon
  0 siblings, 2 replies; 3+ messages in thread
From: Linus Walleij @ 2018-03-03 22:31 UTC (permalink / raw)
  To: David Woodhouse, Brian Norris, Boris Brezillon, Marek Vasut,
	Richard Weinberger, Cyrille Pitchen, linux-mtd
  Cc: Linus Walleij

This adds the JEDEC IDs for Eon EN29LV400A variants
EN29LV400AB and EN29LV400AT. This chip is found in the
D-Link DNS-313.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
---
 drivers/mtd/chips/jedec_probe.c | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c
index b479bd81120b..6f7e7e1b3fe5 100644
--- a/drivers/mtd/chips/jedec_probe.c
+++ b/drivers/mtd/chips/jedec_probe.c
@@ -53,6 +53,8 @@
 #define AT49BV32XT	0x00C9
 
 /* Eon */
+#define EN29LV400AT	0x22B9
+#define EN29LV400AB	0x22BA
 #define EN29SL800BB	0x226B
 #define EN29SL800BT	0x22EA
 
@@ -641,6 +643,36 @@ static const struct amd_flash_info jedec_table[] = {
 			ERASEINFO(0x10000,63),
 			ERASEINFO(0x02000,8)
 		}
+	}, {
+		.mfr_id		= CFI_MFR_EON,
+		.dev_id		= EN29LV400AT,
+		.name		= "Eon EN29LV400AT",
+		.devtypes	= CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8,
+		.uaddr		= MTD_UADDR_0x0AAA_0x0555,
+		.dev_size	= SIZE_512KiB,
+		.cmd_set	= P_ID_AMD_STD,
+		.nr_regions	= 4,
+		.regions	= {
+			ERASEINFO(0x10000,7),
+			ERASEINFO(0x08000,1),
+			ERASEINFO(0x02000,2),
+			ERASEINFO(0x04000,1),
+		}
+	}, {
+		.mfr_id		= CFI_MFR_EON,
+		.dev_id		= EN29LV400AB,
+		.name		= "Eon EN29LV400AB",
+		.devtypes	= CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8,
+		.uaddr		= MTD_UADDR_0x0AAA_0x0555,
+		.dev_size	= SIZE_512KiB,
+		.cmd_set	= P_ID_AMD_STD,
+		.nr_regions	= 4,
+		.regions	= {
+			ERASEINFO(0x04000,1),
+			ERASEINFO(0x02000,2),
+			ERASEINFO(0x08000,1),
+			ERASEINFO(0x10000,7),
+		}
 	}, {
 		.mfr_id		= CFI_MFR_EON,
 		.dev_id		= EN29SL800BT,
-- 
2.14.3

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] mtd: jedec_probe: add Eon EN29LV400A IDs
  2018-03-03 22:31 [PATCH] mtd: jedec_probe: add Eon EN29LV400A IDs Linus Walleij
@ 2018-03-27 17:52 ` Linus Walleij
  2018-03-29 20:14 ` Boris Brezillon
  1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2018-03-27 17:52 UTC (permalink / raw)
  To: David Woodhouse, Brian Norris, Boris Brezillon, Marek Vasut,
	Richard Weinberger, Cyrille Pitchen, linux-mtd
  Cc: Linus Walleij

On Sat, Mar 3, 2018 at 11:31 PM, Linus Walleij <linus.walleij@linaro.org> wrote:

> This adds the JEDEC IDs for Eon EN29LV400A variants
> EN29LV400AB and EN29LV400AT. This chip is found in the
> D-Link DNS-313.
>
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Could someone from the MTD camp please pick up this patch?

I am using this flash chip.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] mtd: jedec_probe: add Eon EN29LV400A IDs
  2018-03-03 22:31 [PATCH] mtd: jedec_probe: add Eon EN29LV400A IDs Linus Walleij
  2018-03-27 17:52 ` Linus Walleij
@ 2018-03-29 20:14 ` Boris Brezillon
  1 sibling, 0 replies; 3+ messages in thread
From: Boris Brezillon @ 2018-03-29 20:14 UTC (permalink / raw)
  To: Linus Walleij
  Cc: David Woodhouse, Brian Norris, Boris Brezillon, Marek Vasut,
	Richard Weinberger, Cyrille Pitchen, linux-mtd

On Sat,  3 Mar 2018 23:31:45 +0100
Linus Walleij <linus.walleij@linaro.org> wrote:

> This adds the JEDEC IDs for Eon EN29LV400A variants
> EN29LV400AB and EN29LV400AT. This chip is found in the
> D-Link DNS-313.
> 
> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>

Applied.

Thanks,

Boris

> ---
>  drivers/mtd/chips/jedec_probe.c | 32 ++++++++++++++++++++++++++++++++
>  1 file changed, 32 insertions(+)
> 
> diff --git a/drivers/mtd/chips/jedec_probe.c b/drivers/mtd/chips/jedec_probe.c
> index b479bd81120b..6f7e7e1b3fe5 100644
> --- a/drivers/mtd/chips/jedec_probe.c
> +++ b/drivers/mtd/chips/jedec_probe.c
> @@ -53,6 +53,8 @@
>  #define AT49BV32XT	0x00C9
>  
>  /* Eon */
> +#define EN29LV400AT	0x22B9
> +#define EN29LV400AB	0x22BA
>  #define EN29SL800BB	0x226B
>  #define EN29SL800BT	0x22EA
>  
> @@ -641,6 +643,36 @@ static const struct amd_flash_info jedec_table[] = {
>  			ERASEINFO(0x10000,63),
>  			ERASEINFO(0x02000,8)
>  		}
> +	}, {
> +		.mfr_id		= CFI_MFR_EON,
> +		.dev_id		= EN29LV400AT,
> +		.name		= "Eon EN29LV400AT",
> +		.devtypes	= CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8,
> +		.uaddr		= MTD_UADDR_0x0AAA_0x0555,
> +		.dev_size	= SIZE_512KiB,
> +		.cmd_set	= P_ID_AMD_STD,
> +		.nr_regions	= 4,
> +		.regions	= {
> +			ERASEINFO(0x10000,7),
> +			ERASEINFO(0x08000,1),
> +			ERASEINFO(0x02000,2),
> +			ERASEINFO(0x04000,1),
> +		}
> +	}, {
> +		.mfr_id		= CFI_MFR_EON,
> +		.dev_id		= EN29LV400AB,
> +		.name		= "Eon EN29LV400AB",
> +		.devtypes	= CFI_DEVICETYPE_X16|CFI_DEVICETYPE_X8,
> +		.uaddr		= MTD_UADDR_0x0AAA_0x0555,
> +		.dev_size	= SIZE_512KiB,
> +		.cmd_set	= P_ID_AMD_STD,
> +		.nr_regions	= 4,
> +		.regions	= {
> +			ERASEINFO(0x04000,1),
> +			ERASEINFO(0x02000,2),
> +			ERASEINFO(0x08000,1),
> +			ERASEINFO(0x10000,7),
> +		}
>  	}, {
>  		.mfr_id		= CFI_MFR_EON,
>  		.dev_id		= EN29SL800BT,



-- 
Boris Brezillon, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-03-29 20:15 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-03-03 22:31 [PATCH] mtd: jedec_probe: add Eon EN29LV400A IDs Linus Walleij
2018-03-27 17:52 ` Linus Walleij
2018-03-29 20:14 ` Boris Brezillon

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.