bcm53xx: 5.4: enable NAND
authorDENG Qingfang <dengqf6@mail2.sysu.edu.cn>
Wed, 15 Apr 2020 04:49:54 +0000 (12:49 +0800)
committerHauke Mehrtens <hauke@hauke-m.de>
Sun, 26 Apr 2020 19:45:41 +0000 (21:45 +0200)
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@mail2.sysu.edu.cn>
target/linux/bcm53xx/config-5.4

index 676015f200375c203c35543a3a5a30cb718403b0..ae9c7278183ca76dffb660c359d40c4264ae776f 100644 (file)
@@ -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