All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] mtd: spi: Add Macronix MX25U3235F device
@ 2020-03-26 21:59 tomcwarren3959 at gmail.com
  2020-03-31 10:00 ` Peter Robinson
  0 siblings, 1 reply; 4+ messages in thread
From: tomcwarren3959 at gmail.com @ 2020-03-26 21:59 UTC (permalink / raw)
  To: u-boot

From: Tom Warren <twarren@nvidia.com>

Add Macronix MX25U3235F flash device description.
This is a 4MiB part.

Signed-off-by: Tom Warren <twarren@nvidia.com>
---
 drivers/mtd/spi/spi-nor-ids.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
index 973b6f8..abdf560 100644
--- a/drivers/mtd/spi/spi-nor-ids.c
+++ b/drivers/mtd/spi/spi-nor-ids.c
@@ -147,6 +147,7 @@ const struct flash_info spi_nor_ids[] = {
 	{ INFO("mx25l6405d",  0xc22017, 0, 64 * 1024, 128, SECT_4K) },
 	{ INFO("mx25u2033e",  0xc22532, 0, 64 * 1024,   4, SECT_4K) },
 	{ INFO("mx25u1635e",  0xc22535, 0, 64 * 1024,  32, SECT_4K) },
+	{ INFO("mx25u3235f",  0xc22536, 0, 4 * 1024,  1024, SECT_4K) },
 	{ INFO("mx25u6435f",  0xc22537, 0, 64 * 1024, 128, SECT_4K) },
 	{ INFO("mx25l12805d", 0xc22018, 0, 64 * 1024, 256, 0) },
 	{ INFO("mx25l12855e", 0xc22618, 0, 64 * 1024, 256, 0) },
-- 
1.8.2.1.610.g562af5b


-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------

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

* [PATCH] mtd: spi: Add Macronix MX25U3235F device
  2020-03-26 21:59 [PATCH] mtd: spi: Add Macronix MX25U3235F device tomcwarren3959 at gmail.com
@ 2020-03-31 10:00 ` Peter Robinson
  2020-03-31 23:59   ` Tom Warren
  0 siblings, 1 reply; 4+ messages in thread
From: Peter Robinson @ 2020-03-31 10:00 UTC (permalink / raw)
  To: u-boot

On Thu, Mar 26, 2020 at 9:59 PM <tomcwarren3959@gmail.com> wrote:
>
> From: Tom Warren <twarren@nvidia.com>
>
> Add Macronix MX25U3235F flash device description.
> This is a 4MiB part.

Is there potentially more than one part used on the Jetson nano as I
get the following on mine:

Loading Environment from SPI Flash... unrecognized JEDEC id bytes: 00, 40, ff

> Signed-off-by: Tom Warren <twarren@nvidia.com>
> ---
>  drivers/mtd/spi/spi-nor-ids.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
> index 973b6f8..abdf560 100644
> --- a/drivers/mtd/spi/spi-nor-ids.c
> +++ b/drivers/mtd/spi/spi-nor-ids.c
> @@ -147,6 +147,7 @@ const struct flash_info spi_nor_ids[] = {
>         { INFO("mx25l6405d",  0xc22017, 0, 64 * 1024, 128, SECT_4K) },
>         { INFO("mx25u2033e",  0xc22532, 0, 64 * 1024,   4, SECT_4K) },
>         { INFO("mx25u1635e",  0xc22535, 0, 64 * 1024,  32, SECT_4K) },
> +       { INFO("mx25u3235f",  0xc22536, 0, 4 * 1024,  1024, SECT_4K) },
>         { INFO("mx25u6435f",  0xc22537, 0, 64 * 1024, 128, SECT_4K) },
>         { INFO("mx25l12805d", 0xc22018, 0, 64 * 1024, 256, 0) },
>         { INFO("mx25l12855e", 0xc22618, 0, 64 * 1024, 256, 0) },
> --
> 1.8.2.1.610.g562af5b
>
>
> -----------------------------------------------------------------------------------
> This email message is for the sole use of the intended recipient(s) and may contain
> confidential information.  Any unauthorized review, use, disclosure or distribution
> is prohibited.  If you are not the intended recipient, please contact the sender by
> reply email and destroy all copies of the original message.
> -----------------------------------------------------------------------------------

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

* [PATCH] mtd: spi: Add Macronix MX25U3235F device
  2020-03-31 10:00 ` Peter Robinson
@ 2020-03-31 23:59   ` Tom Warren
  0 siblings, 0 replies; 4+ messages in thread
From: Tom Warren @ 2020-03-31 23:59 UTC (permalink / raw)
  To: u-boot

-----Original Message-----
From: Peter Robinson <pbrobinson@gmail.com> 
Sent: Tuesday, March 31, 2020 3:00 AM
To: tomcwarren3959 at gmail.com
Cc: u-boot at lists.denx.de; Stephen Warren <swarren@nvidia.com>; Thierry Reding <treding@nvidia.com>; Jonathan Hunter <jonathanh@nvidia.com>; Tom Warren <TWarren@nvidia.com>; jagan at amarulasolutions.com
Subject: Re: [PATCH] mtd: spi: Add Macronix MX25U3235F device

External email: Use caution opening links or attachments


On Thu, Mar 26, 2020 at 9:59 PM <tomcwarren3959@gmail.com> wrote:
>
> From: Tom Warren <twarren@nvidia.com>
>
> Add Macronix MX25U3235F flash device description.
> This is a 4MiB part.

Is there potentially more than one part used on the Jetson nano as I get the following on mine:

Loading Environment from SPI Flash... unrecognized JEDEC id bytes: 00, 40, ff
[Tom] No, just the Macronix 4MB part. You probably need the VI_I2C fix, there was a problem with the index of the internal_id table. The Macronix part is JEDEC C2, 25, 36 IIRC.
See "i2c: t210: Add VI_I2C clock source support", just posted a few days ago, should be in tegra-next.

--nvpublic

> Signed-off-by: Tom Warren <twarren@nvidia.com>
> ---
>  drivers/mtd/spi/spi-nor-ids.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mtd/spi/spi-nor-ids.c 
> b/drivers/mtd/spi/spi-nor-ids.c index 973b6f8..abdf560 100644
> --- a/drivers/mtd/spi/spi-nor-ids.c
> +++ b/drivers/mtd/spi/spi-nor-ids.c
> @@ -147,6 +147,7 @@ const struct flash_info spi_nor_ids[] = {
>         { INFO("mx25l6405d",  0xc22017, 0, 64 * 1024, 128, SECT_4K) },
>         { INFO("mx25u2033e",  0xc22532, 0, 64 * 1024,   4, SECT_4K) },
>         { INFO("mx25u1635e",  0xc22535, 0, 64 * 1024,  32, SECT_4K) },
> +       { INFO("mx25u3235f",  0xc22536, 0, 4 * 1024,  1024, SECT_4K) 
> + },
>         { INFO("mx25u6435f",  0xc22537, 0, 64 * 1024, 128, SECT_4K) },
>         { INFO("mx25l12805d", 0xc22018, 0, 64 * 1024, 256, 0) },
>         { INFO("mx25l12855e", 0xc22618, 0, 64 * 1024, 256, 0) },
> --
> 1.8.2.1.610.g562af5b
>
>
> ----------------------------------------------------------------------
> ------------- This email message is for the sole use of the intended 
> recipient(s) and may contain confidential information.  Any 
> unauthorized review, use, disclosure or distribution is prohibited.  
> If you are not the intended recipient, please contact the sender by 
> reply email and destroy all copies of the original message.
> ----------------------------------------------------------------------
> -------------

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

* [PATCH] mtd: spi: Add Macronix MX25U3235F device
@ 2020-03-20 21:27 twarren at nvidia.com
  0 siblings, 0 replies; 4+ messages in thread
From: twarren at nvidia.com @ 2020-03-20 21:27 UTC (permalink / raw)
  To: u-boot

From: Tom Warren <twarren@nvidia.com>

Add Macronix MX25U3235F flash device description.
This is the 4MB part used on Jetson Nano.

Signed-off-by: Tom Warren <twarren@nvidia.com>
---
 drivers/mtd/spi/spi-nor-ids.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/mtd/spi/spi-nor-ids.c b/drivers/mtd/spi/spi-nor-ids.c
index 973b6f8..abdf560 100644
--- a/drivers/mtd/spi/spi-nor-ids.c
+++ b/drivers/mtd/spi/spi-nor-ids.c
@@ -147,6 +147,7 @@ const struct flash_info spi_nor_ids[] = {
 	{ INFO("mx25l6405d",  0xc22017, 0, 64 * 1024, 128, SECT_4K) },
 	{ INFO("mx25u2033e",  0xc22532, 0, 64 * 1024,   4, SECT_4K) },
 	{ INFO("mx25u1635e",  0xc22535, 0, 64 * 1024,  32, SECT_4K) },
+	{ INFO("mx25u3235f",  0xc22536, 0, 4 * 1024,  1024, SECT_4K) },
 	{ INFO("mx25u6435f",  0xc22537, 0, 64 * 1024, 128, SECT_4K) },
 	{ INFO("mx25l12805d", 0xc22018, 0, 64 * 1024, 256, 0) },
 	{ INFO("mx25l12855e", 0xc22618, 0, 64 * 1024, 256, 0) },
-- 
1.8.2.1.610.g562af5b


-----------------------------------------------------------------------------------
This email message is for the sole use of the intended recipient(s) and may contain
confidential information.  Any unauthorized review, use, disclosure or distribution
is prohibited.  If you are not the intended recipient, please contact the sender by
reply email and destroy all copies of the original message.
-----------------------------------------------------------------------------------

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

end of thread, other threads:[~2020-03-31 23:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-03-26 21:59 [PATCH] mtd: spi: Add Macronix MX25U3235F device tomcwarren3959 at gmail.com
2020-03-31 10:00 ` Peter Robinson
2020-03-31 23:59   ` Tom Warren
  -- strict thread matches above, loose matches on Subject: below --
2020-03-20 21:27 twarren at nvidia.com

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.