[OpenWrt-Devel] [PATCH v2] bcm53xx: 5.4: enable NAND

DENG Qingfang dengqf6 at mail2.sysu.edu.cn
Wed Apr 15 00:49:54 EDT 2020


NAND driver was dropped in the 5.4 bump, so enable it back

Fixes: 50c6938b95a0 ("bcm53xx: add v5.4 support")
Signed-off-by: DENG Qingfang <dengqf6 at mail2.sysu.edu.cn>
---
v1->v2
- Remove duplicate symbol

 target/linux/bcm53xx/config-5.4 | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/target/linux/bcm53xx/config-5.4 b/target/linux/bcm53xx/config-5.4
index 676015f200..ae9c727818 100644
--- a/target/linux/bcm53xx/config-5.4
+++ b/target/linux/bcm53xx/config-5.4
@@ -307,8 +307,11 @@ CONFIG_MODULES_USE_ELF_REL=y
 CONFIG_MTD_BCM47XXSFLASH=y
 CONFIG_MTD_BCM47XX_PARTS=y
 # CONFIG_MTD_HYPERBUS is not set
+CONFIG_MTD_NAND_BRCMNAND=y
+CONFIG_MTD_NAND_CORE=y
+CONFIG_MTD_NAND_ECC_SW_HAMMING=y
 CONFIG_MTD_PARSER_TRX=y
-# CONFIG_MTD_RAW_NAND is not set
+CONFIG_MTD_RAW_NAND=y
 CONFIG_MTD_SPI_NOR=y
 CONFIG_MTD_SPLIT_SEAMA_FW=y
 CONFIG_MTD_UBI=y
-- 
2.16.6




_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list