From 0a2e4204dbe0b7bf31cb4100491a01b2837d7f3f Mon Sep 17 00:00:00 2001 From: Piotr Dymacz Date: Mon, 3 Jul 2017 18:57:36 +0200 Subject: [PATCH] ar71xx: generic: enable CONFIG_MTD_SPLIT_TPLINK_FW We can use "tplink-fw" mtd splitter for TP-Link devices which use kernel with TP-Link header embedded inside "safeloader" image type and thus get rid of statically defined "kernel" and "rootfs" partitions in cmdline. Signed-off-by: Piotr Dymacz --- target/linux/ar71xx/config-4.4 | 1 + target/linux/ar71xx/mikrotik/config-default | 1 + target/linux/ar71xx/nand/config-default | 1 + 3 files changed, 3 insertions(+) diff --git a/target/linux/ar71xx/config-4.4 b/target/linux/ar71xx/config-4.4 index f1ecfd1948..4a6545a7e6 100644 --- a/target/linux/ar71xx/config-4.4 +++ b/target/linux/ar71xx/config-4.4 @@ -395,6 +395,7 @@ CONFIG_MTD_SPLIT_FIRMWARE=y CONFIG_MTD_SPLIT_LZMA_FW=y CONFIG_MTD_SPLIT_MINOR_FW=y CONFIG_MTD_SPLIT_SEAMA_FW=y +CONFIG_MTD_SPLIT_TPLINK_FW=y CONFIG_MTD_SPLIT_UIMAGE_FW=y CONFIG_MTD_SPLIT_WRGG_FW=y CONFIG_MTD_TPLINK_PARTS=y diff --git a/target/linux/ar71xx/mikrotik/config-default b/target/linux/ar71xx/mikrotik/config-default index 9caf9f551d..71f186716c 100644 --- a/target/linux/ar71xx/mikrotik/config-default +++ b/target/linux/ar71xx/mikrotik/config-default @@ -229,6 +229,7 @@ CONFIG_MTD_NAND_RB750=y CONFIG_MTD_NAND_RB91X=y # CONFIG_MTD_REDBOOT_PARTS is not set # CONFIG_MTD_SPLIT_EVA_FW is not set +# CONFIG_MTD_SPLIT_TPLINK_FW is not set # CONFIG_MTD_TPLINK_PARTS is not set CONFIG_MTD_UBI=y CONFIG_MTD_UBI_BEB_LIMIT=20 diff --git a/target/linux/ar71xx/nand/config-default b/target/linux/ar71xx/nand/config-default index e2ced9b8bb..51bab804a7 100644 --- a/target/linux/ar71xx/nand/config-default +++ b/target/linux/ar71xx/nand/config-default @@ -230,6 +230,7 @@ CONFIG_MTD_NAND_ECC_BCH=y # CONFIG_MTD_REDBOOT_PARTS is not set # CONFIG_MTD_SPLIT_EVA_FW is not set # CONFIG_MTD_SPLIT_SEAMA_FW is not set +# CONFIG_MTD_SPLIT_TPLINK_FW is not set # CONFIG_MTD_TPLINK_PARTS is not set CONFIG_MTD_UBI=y CONFIG_MTD_UBI_BEB_LIMIT=20