2022-10-18 20:26:34 +00:00
|
|
|
From 87363cc0e522de3294ea6ae10fb468d2a8d6fb2f Mon Sep 17 00:00:00 2001
|
|
|
|
From: OpenWrt community <openwrt-devel@lists.openwrt.org>
|
|
|
|
Date: Wed, 13 Jul 2022 12:17:21 +0200
|
|
|
|
Subject: [PATCH] spi-nor/esmt.c: add esmt f25l16pa
|
|
|
|
|
|
|
|
This fixes support for Dongwon T&I DW02-412H which uses F25L16PA(2S)
|
|
|
|
flash.
|
|
|
|
|
|
|
|
---
|
|
|
|
drivers/mtd/spi-nor/esmt.c | 2 ++
|
|
|
|
1 file changed, 2 insertions(+)
|
|
|
|
|
|
|
|
--- a/drivers/mtd/spi-nor/esmt.c
|
|
|
|
+++ b/drivers/mtd/spi-nor/esmt.c
|
2022-10-18 21:24:43 +00:00
|
|
|
@@ -10,6 +10,9 @@
|
2022-10-18 20:26:34 +00:00
|
|
|
|
2023-05-22 16:07:49 +00:00
|
|
|
static const struct flash_info esmt_nor_parts[] = {
|
2022-10-18 20:26:34 +00:00
|
|
|
/* ESMT */
|
2022-10-18 21:24:43 +00:00
|
|
|
+ { "f25l16pa-2s", INFO(0x8c2115, 0, 64 * 1024, 32)
|
|
|
|
+ FLAGS(SPI_NOR_HAS_LOCK)
|
|
|
|
+ NO_SFDP_FLAGS(SECT_4K) },
|
|
|
|
{ "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64)
|
2023-05-22 16:07:49 +00:00
|
|
|
FLAGS(SPI_NOR_HAS_LOCK | SPI_NOR_SWP_IS_VOLATILE)
|
|
|
|
NO_SFDP_FLAGS(SECT_4K) },
|