aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux
diff options
context:
space:
mode:
authorRobert Marko <robert.marko@sartura.hr>2020-03-15 13:36:40 +0100
committerChristian Lamparter <chunkeey@gmail.com>2020-03-15 15:26:34 +0100
commite09a5efcdbf514751dd5afa78833d2c8d078d87e (patch)
treed9a7ddb40815e6e643812f306fd8c7c00104cdb1 /target/linux
parentf68c48f7dda2e35d343e69c714b8de2ff211957b (diff)
downloadupstream-e09a5efcdbf514751dd5afa78833d2c8d078d87e.tar.gz
upstream-e09a5efcdbf514751dd5afa78833d2c8d078d87e.tar.bz2
upstream-e09a5efcdbf514751dd5afa78833d2c8d078d87e.zip
ipq40xx: 5.4: enable NAND
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>
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/ipq40xx/config-5.45
1 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ipq40xx/config-5.4 b/target/linux/ipq40xx/config-5.4
index fcd7c11b1f..f94eb78b34 100644
--- a/target/linux/ipq40xx/config-5.4
+++ b/target/linux/ipq40xx/config-5.4
@@ -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