From: Piotr Dymacz Date: Mon, 3 Jul 2017 16:57:36 +0000 (+0200) Subject: ar71xx: generic: enable CONFIG_MTD_SPLIT_TPLINK_FW X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=0a2e4204dbe0b7bf31cb4100491a01b2837d7f3f;p=openwrt%2Fstaging%2Fblogic.git 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 --- diff --git a/target/linux/ar71xx/config-4.4 b/target/linux/ar71xx/config-4.4 index f1ecfd1948f4..4a6545a7e6fd 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 9caf9f551da3..71f186716ca7 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 e2ced9b8bba4..51bab804a7f0 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