[openwrt/openwrt] generic: 5.15: fix broken BoHong bh25q128as patch
LEDE Commits
lede-commits at lists.infradead.org
Mon Apr 22 02:27:17 PDT 2024
ansuel pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/e890820579f34bff0090a3194772e9b9e954cff2
commit e890820579f34bff0090a3194772e9b9e954cff2
Author: Christian Marangi <ansuelsmth at gmail.com>
AuthorDate: Mon Apr 22 11:21:08 2024 +0200
generic: 5.15: fix broken BoHong bh25q128as patch
Fix broken BoHong bh25q128as patch that used wrong define for kernel
5.15.
Fixes: 4cb814d403bb ("generic: 5.15: Make support for BoHong bh25q128as generic")
Signed-off-by: Christian Marangi <ansuelsmth at gmail.com>
---
.../405-mtd-spi-nor-Add-support-for-BoHong-bh25q128as.patch | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/target/linux/generic/pending-5.15/405-mtd-spi-nor-Add-support-for-BoHong-bh25q128as.patch b/target/linux/generic/pending-5.15/405-mtd-spi-nor-Add-support-for-BoHong-bh25q128as.patch
index 0e68aa5907..ab3c24ff7f 100644
--- a/target/linux/generic/pending-5.15/405-mtd-spi-nor-Add-support-for-BoHong-bh25q128as.patch
+++ b/target/linux/generic/pending-5.15/405-mtd-spi-nor-Add-support-for-BoHong-bh25q128as.patch
@@ -44,8 +44,8 @@ Signed-off-by: David Bauer <mail at david-bauer.net>
+
+static const struct flash_info bohong_parts[] = {
+ /* BoHong Microelectronics */
-+ { "bh25q128as", INFO(0x684018, 0, 64 * 1024, 256)
-+ NO_SFDP_FLAGS(SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
++ { "bh25q128as", INFO(0x684018, 0, 64 * 1024, 256,
++ SECT_4K | SPI_NOR_DUAL_READ | SPI_NOR_QUAD_READ) },
+};
+
+const struct spi_nor_manufacturer spi_nor_bohong = {
More information about the lede-commits
mailing list