]> git.ipfire.org Git - thirdparty/openwrt.git/commit
realtek: Enhance MTD/ECC kernel configuration for NAND targets
authorMarkus Stockhausen <markus.stockhausen@gmx.de>
Wed, 1 Oct 2025 06:01:48 +0000 (02:01 -0400)
committerRobert Marko <robimarko@gmail.com>
Sun, 5 Oct 2025 10:14:05 +0000 (12:14 +0200)
commitaf7a74bad1a4bba9fdb348c06436c843c5f287e4
tree7281d1e11fd0a454f09282534646af6ab04181f0
parenta64db95a23dfabc40e429efa928d4c2cec75874f
realtek: Enhance MTD/ECC kernel configuration for NAND targets

The Realtek NAND kernel configuration has some shortcomings.
Fix this as follows:

- MTD_NAND_ECC_REALTEK selects MTD_NAND_ECC and this selects
  MTD_NAND_CORE. For consistency add both config options.

- The partition layout of the Linksys switches requires some tricky
  concatenation to keep dual boot active. Add CONFIG_MTD_VIRT_CONCAT

Signed-off-by: Markus Stockhausen <markus.stockhausen@gmx.de>
Link: https://github.com/openwrt/openwrt/pull/20255
Signed-off-by: Robert Marko <robimarko@gmail.com>
target/linux/realtek/rtl930x_nand/config-6.12
target/linux/realtek/rtl931x_nand/config-6.12