[openwrt/openwrt] ath79: mikrotik: enable ecc hamming algorithm for kernel 5.15

LEDE Commits lede-commits at lists.infradead.org
Tue Apr 5 08:34:48 PDT 2022


xback pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/d1456a4ad9fce88014d5d8ade9d11c16b517e2d1

commit d1456a4ad9fce88014d5d8ade9d11c16b517e2d1
Author: Koen Vandeputte <koen.vandeputte at ncentric.com>
AuthorDate: Tue Apr 5 13:52:25 2022 +0200

    ath79: mikrotik: enable ecc hamming algorithm for kernel 5.15
    
    This algorithm has it's own symbol now.
    Enable it to fix nand support
    
    Signed-off-by: Koen Vandeputte <koen.vandeputte at ncentric.com>
---
 target/linux/ath79/mikrotik/config-default | 1 +
 1 file changed, 1 insertion(+)

diff --git a/target/linux/ath79/mikrotik/config-default b/target/linux/ath79/mikrotik/config-default
index 2ff8a14f1d..67d4ca6edc 100644
--- a/target/linux/ath79/mikrotik/config-default
+++ b/target/linux/ath79/mikrotik/config-default
@@ -15,6 +15,7 @@ CONFIG_MTD_NAND=y
 CONFIG_MTD_NAND_AR934X=y
 CONFIG_MTD_NAND_CORE=y
 CONFIG_MTD_NAND_ECC=y
+CONFIG_MTD_NAND_ECC_SW_HAMMING=y
 CONFIG_MTD_NAND_RB4XX=y
 CONFIG_MTD_NAND_RB91X=y
 CONFIG_MTD_RAW_NAND=y




More information about the lede-commits mailing list