aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ar71xx/mikrotik
diff options
context:
space:
mode:
authorGabor Juhos <juhosg@freemail.hu>2018-01-09 08:18:15 +0100
committerJo-Philipp Wich <jo@mein.io>2018-01-09 08:34:03 +0100
commit7f7eb18455e24854c23983894ad2200fee3f47f9 (patch)
tree09c04b043e8e62f99a6a220897f15a068d71c751 /target/linux/ar71xx/mikrotik
parent660ee2d0f0d336a342973b64c03b631651cea5a2 (diff)
downloadupstream-7f7eb18455e24854c23983894ad2200fee3f47f9.tar.gz
upstream-7f7eb18455e24854c23983894ad2200fee3f47f9.tar.bz2
upstream-7f7eb18455e24854c23983894ad2200fee3f47f9.zip
ar71xx/mikrotik: disable unused MTD partitioning and split drivers
Reduces the compressed kernel size by ~2.5KB. Signed-off-by: Gabor Juhos <juhosg@freemail.hu>
Diffstat (limited to 'target/linux/ar71xx/mikrotik')
-rw-r--r--target/linux/ar71xx/mikrotik/config-default6
1 files changed, 6 insertions, 0 deletions
diff --git a/target/linux/ar71xx/mikrotik/config-default b/target/linux/ar71xx/mikrotik/config-default
index 815ac60e68..da0c9dacc9 100644
--- a/target/linux/ar71xx/mikrotik/config-default
+++ b/target/linux/ar71xx/mikrotik/config-default
@@ -223,6 +223,7 @@ CONFIG_LZO_DECOMPRESS=y
# CONFIG_MARVELL_PHY is not set
# CONFIG_MTD_CFI is not set
CONFIG_MTD_CFI_I2=y
+# CONFIG_MTD_CMDLINE_PARTS is not set
# CONFIG_MTD_CYBERTAN_PARTS is not set
CONFIG_MTD_MAP_BANK_WIDTH_1=y
CONFIG_MTD_MAP_BANK_WIDTH_4=y
@@ -233,10 +234,15 @@ CONFIG_MTD_NAND_ECC=y
CONFIG_MTD_NAND_RB4XX=y
CONFIG_MTD_NAND_RB750=y
CONFIG_MTD_NAND_RB91X=y
+# CONFIG_MTD_OF_PARTS is not set
# CONFIG_MTD_REDBOOT_PARTS is not set
CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y
# CONFIG_MTD_SPLIT_EVA_FW is not set
+# CONFIG_MTD_SPLIT_LZMA_FW is not set
+# CONFIG_MTD_SPLIT_SEAMA_FW is not set
# CONFIG_MTD_SPLIT_TPLINK_FW is not set
+# CONFIG_MTD_SPLIT_UIMAGE_FW is not set
+# CONFIG_MTD_SPLIT_WRGG_FW is not set
# CONFIG_MTD_TPLINK_PARTS is not set
CONFIG_MTD_UBI=y
CONFIG_MTD_UBI_BEB_LIMIT=20