From a2ae9a07d2d4843665d04ddcc1357ee22a72216a Mon Sep 17 00:00:00 2001
From: Christian Lamparter <chunkeey@gmail.com>
Date: Fri, 14 Feb 2020 17:19:53 +0100
Subject: [PATCH] apm821xx: 5.4: add important NAND symbols

This patch adds important NAND config symbols.
These are necessary as otherwise the devices
won't find the rootfs on the NAND chips.

Signed-off-by: Christian Lamparter <chunkeey@gmail.com>
---
 target/linux/apm821xx/nand/config-default | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/target/linux/apm821xx/nand/config-default b/target/linux/apm821xx/nand/config-default
index 1c05a83fb1f..f53167f75b1 100644
--- a/target/linux/apm821xx/nand/config-default
+++ b/target/linux/apm821xx/nand/config-default
@@ -31,6 +31,9 @@ CONFIG_THERMAL_HWMON=y
 CONFIG_HWMON=y
 CONFIG_SENSORS_GPIO_FAN=y
 CONFIG_CMDLINE="rootfstype=squashfs noinitrd"
+CONFIG_MTD_NAND_ECC_SW_BCH=y
+CONFIG_MTD_NAND_NDFC=y
+CONFIG_MTD_RAW_NAND=y
 CONFIG_MTD_UBI=y
 CONFIG_MTD_UBI_BEB_LIMIT=20
 CONFIG_MTD_UBI_BLOCK=y
-- 
GitLab