aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips
diff options
context:
space:
mode:
authorIlya Lipnitskiy <ilya.lipnitskiy@gmail.com>2021-03-07 19:31:50 -0800
committerHauke Mehrtens <hauke@hauke-m.de>2021-03-19 01:25:26 +0100
commitf65b0afadb5398d1c1957c9b6a1c3bc735ff7a60 (patch)
treeb236ee6dfa92fa4630f37cf3924ea79d7cbf8b9a /target/linux/ramips
parentb1d0f66388e67ecf0c8b0fdfee8e2bfda947d319 (diff)
downloadupstream-f65b0afadb5398d1c1957c9b6a1c3bc735ff7a60.tar.gz
upstream-f65b0afadb5398d1c1957c9b6a1c3bc735ff7a60.tar.bz2
upstream-f65b0afadb5398d1c1957c9b6a1c3bc735ff7a60.zip
ramips: move spi-nor-add-gd25q512 patch to generic
A SPI NOR flash should not be target-specific, so move it to generic in case another platform needs to use it. Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Diffstat (limited to 'target/linux/ramips')
-rw-r--r--target/linux/ramips/patches-5.10/420-spi-nor-add-gd25q512.patch12
1 files changed, 0 insertions, 12 deletions
diff --git a/target/linux/ramips/patches-5.10/420-spi-nor-add-gd25q512.patch b/target/linux/ramips/patches-5.10/420-spi-nor-add-gd25q512.patch
deleted file mode 100644
index 6f41546964..0000000000
--- a/target/linux/ramips/patches-5.10/420-spi-nor-add-gd25q512.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- 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 = {