ipq40xx: 5.4: enable NAND
authorRobert Marko <robert.marko@sartura.hr>
Sun, 15 Mar 2020 12:36:40 +0000 (13:36 +0100)
committerChristian Lamparter <chunkeey@gmail.com>
Sun, 15 Mar 2020 14:26:34 +0000 (15:26 +0100)
Lets enable RAW NAND and Qcom NANDC drivers again in kernel 5.4.
They were dropped when 5.4 support was introduced due to upstream
changing the symbol names so refreshing was not enough.

Signed-off-by: Robert Marko <robert.marko@sartura.hr>
[cut long line in commit message, enabled BCH as well]
Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
target/linux/ipq40xx/config-5.4

index fcd7c11b1fb0bbf9afc533b05c27069f6d52a268..f94eb78b34c233a5bb8326fd579e576ae8be92fb 100644 (file)
@@ -70,6 +70,7 @@ CONFIG_ARM_UNWIND=y
 CONFIG_ARM_VIRT_EXT=y
 CONFIG_AT803X_PHY=y
 CONFIG_AUTO_ZRELADDR=y
+CONFIG_BCH=y
 CONFIG_BINFMT_FLAT_ARGVP_ENVP_ON_STACK=y
 CONFIG_BLK_DEV_LOOP=y
 CONFIG_BLK_MQ_PCI=y
@@ -336,6 +337,10 @@ CONFIG_MODULES_USE_ELF_REL=y
 # CONFIG_MSM_MMCC_8996 is not set
 CONFIG_MTD_CMDLINE_PARTS=y
 CONFIG_MTD_NAND_CORE=y
+CONFIG_MTD_NAND_ECC_SW_BCH=y
+CONFIG_MTD_NAND_ECC_SW_HAMMING=y
+CONFIG_MTD_NAND_QCOM=y
+CONFIG_MTD_RAW_NAND=y
 CONFIG_MTD_SPI_NAND=y
 CONFIG_MTD_SPI_NOR=y
 CONFIG_MTD_SPLIT_FIRMWARE=y