mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 08:51:13 +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>
22 lines
787 B
Diff
22 lines
787 B
Diff
From: Roman Yeryomin <roman@advem.lv>
|
|
Subject: mtd/spi-nor/gigadevice: Add gd25q512 SPI NOR flash
|
|
|
|
Submitted-by: Roman Yeryomin <roman@advem.lv>
|
|
Submitted-by: John Crispin <john@phrozen.org>
|
|
---
|
|
drivers/mtd/spi-nor/gigadevice.c | 3 +++
|
|
1 files changed, 3 insertions(+)
|
|
|
|
--- a/drivers/mtd/spi-nor/gigadevice.c
|
|
+++ b/drivers/mtd/spi-nor/gigadevice.c
|
|
@@ -53,6 +53,9 @@ static const struct flash_info gigadevic
|
|
SPI_NOR_4B_OPCODES | SPI_NOR_HAS_LOCK |
|
|
SPI_NOR_HAS_TB | SPI_NOR_TB_SR_BIT6)
|
|
.fixups = &gd25q256_fixups },
|
|
+ { "gd25q512", INFO(0xc84020, 0, 64 * 1024, 1024,
|
|
+ SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ |
|
|
+ SPI_NOR_HAS_LOCK | SPI_NOR_HAS_TB | SPI_NOR_4B_OPCODES) },
|
|
};
|
|
|
|
const struct spi_nor_manufacturer spi_nor_gigadevice = {
|