* [U-Boot] [PATCH] mtd: add spi flash id s25fl128l
@ 2018-07-11 7:38 Clément Laigle
2018-07-16 8:52 ` Jagan Teki
0 siblings, 1 reply; 2+ messages in thread
From: Clément Laigle @ 2018-07-11 7:38 UTC (permalink / raw)
To: u-boot
From: Clement Laigle <c.laigle@catie.fr>
Add support for SPANSION s25fl128l 256k and 64k
Signed-off-by: Clément Laigle <c.laigle@catie.fr>
---
drivers/mtd/spi/spi_flash_ids.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/mtd/spi/spi_flash_ids.c b/drivers/mtd/spi/spi_flash_ids.c
index 9212373dae..f7e9e92955 100644
--- a/drivers/mtd/spi/spi_flash_ids.c
+++ b/drivers/mtd/spi/spi_flash_ids.c
@@ -107,6 +107,8 @@ const struct spi_flash_info spi_flash_ids[] = {
{"s25fl064p", INFO(0x010216, 0x4d00, 64 * 1024, 128, RD_FULL | WR_QPP) },
{"s25fl128s_256k", INFO(0x012018, 0x4d00, 256 * 1024, 64, RD_FULL | WR_QPP) },
{"s25fl128s_64k", INFO(0x012018, 0x4d01, 64 * 1024, 256, RD_FULL | WR_QPP) },
+ {"s25fl128l_256k", INFO(0x016018, 0x0, 256 * 1024, 64, RD_FULL | WR_QPP) },
+ {"s25fl128l_64k", INFO(0x016018, 0x0, 64 * 1024, 256, RD_FULL | WR_QPP) },
{"s25fl256s_256k", INFO(0x010219, 0x4d00, 256 * 1024, 128, RD_FULL | WR_QPP) },
{"s25fs256s_64k", INFO6(0x010219, 0x4d0181, 64 * 1024, 512, RD_FULL | WR_QPP | SECT_4K) },
{"s25fl256s_64k", INFO(0x010219, 0x4d01, 64 * 1024, 512, RD_FULL | WR_QPP) },
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] [PATCH] mtd: add spi flash id s25fl128l
2018-07-11 7:38 [U-Boot] [PATCH] mtd: add spi flash id s25fl128l Clément Laigle
@ 2018-07-16 8:52 ` Jagan Teki
0 siblings, 0 replies; 2+ messages in thread
From: Jagan Teki @ 2018-07-16 8:52 UTC (permalink / raw)
To: u-boot
On Wed, Jul 11, 2018 at 1:08 PM, Clément Laigle <c.laigle@catie.fr> wrote:
> From: Clement Laigle <c.laigle@catie.fr>
>
> Add support for SPANSION s25fl128l 256k and 64k
>
> Signed-off-by: Clément Laigle <c.laigle@catie.fr>
> ---
> drivers/mtd/spi/spi_flash_ids.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/drivers/mtd/spi/spi_flash_ids.c b/drivers/mtd/spi/spi_flash_ids.c
> index 9212373dae..f7e9e92955 100644
> --- a/drivers/mtd/spi/spi_flash_ids.c
> +++ b/drivers/mtd/spi/spi_flash_ids.c
> @@ -107,6 +107,8 @@ const struct spi_flash_info spi_flash_ids[] = {
> {"s25fl064p", INFO(0x010216, 0x4d00, 64 * 1024, 128, RD_FULL | WR_QPP) },
> {"s25fl128s_256k", INFO(0x012018, 0x4d00, 256 * 1024, 64, RD_FULL | WR_QPP) },
> {"s25fl128s_64k", INFO(0x012018, 0x4d01, 64 * 1024, 256, RD_FULL | WR_QPP) },
> + {"s25fl128l_256k", INFO(0x016018, 0x0, 256 * 1024, 64, RD_FULL | WR_QPP) },
> + {"s25fl128l_64k", INFO(0x016018, 0x0, 64 * 1024, 256, RD_FULL | WR_QPP) },
256 vs 64 have change in EXT_ID, update the same otherwise it will
detect 256k even if the chip is 64k
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-07-16 8:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-11 7:38 [U-Boot] [PATCH] mtd: add spi flash id s25fl128l Clément Laigle
2018-07-16 8:52 ` Jagan Teki
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.