mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-20 22:23:27 +00:00
d5bf46bbe8
OpenWRT's developer guide prefers having actual patches so they an be sent upstream more easily. However, in this case, Adding proper fields also allows for `git am` to properly function. Some of these patches are quite old, and lack much traceable history. This commit tries to rectify that, by digging in the history to find where and how it was first added. It is by no means perfect and also shows some patches that should have been long gone. Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
25 lines
839 B
Diff
25 lines
839 B
Diff
From: Jihoon Han <rapid_renard@renard.ga>
|
|
Subject: mtd/spi-nor/esmt: Add support for ESMT F25L16PA(2S) SPI-NOR
|
|
|
|
This fixes support for Dongwon T&I DW02-412H which uses F25L16PA(2S) flash.
|
|
|
|
Submitted-by: Jihoon Han <rapid_renard@renard.ga>
|
|
Reviewed-by: Sungbo Eo <mans0n@gorani.run>
|
|
[refresh patches]
|
|
Submitted-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
|
|
---
|
|
drivers/mtd/spi-nor/esmt.c | 2 ++
|
|
1 files changed, 2 insertions(+)
|
|
|
|
--- a/drivers/mtd/spi-nor/esmt.c
|
|
+++ b/drivers/mtd/spi-nor/esmt.c
|
|
@@ -10,6 +10,8 @@
|
|
|
|
static const struct flash_info esmt_parts[] = {
|
|
/* ESMT */
|
|
+ { "f25l16pa-2s", INFO(0x8c2115, 0, 64 * 1024, 32,
|
|
+ SECT_4K | SPI_NOR_HAS_LOCK) },
|
|
{ "f25l32pa", INFO(0x8c2016, 0, 64 * 1024, 64,
|
|
SECT_4K | SPI_NOR_HAS_LOCK) },
|
|
{ "f25l32qa", INFO(0x8c4116, 0, 64 * 1024, 64,
|