aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Kresin <dev@kresin.me>2020-03-12 10:41:20 +0100
committerMathias Kresin <dev@kresin.me>2020-03-16 22:28:17 +0100
commite3eaf578082ee26ebc0021faed8ae42aca007f9e (patch)
tree4cca70d13666bb2846ba948f80ba66f96b336443
parent6bf179b27004eb76df3e466bd080fc5a83ccf0dd (diff)
downloadupstream-e3eaf578082ee26ebc0021faed8ae42aca007f9e.tar.gz
upstream-e3eaf578082ee26ebc0021faed8ae42aca007f9e.tar.bz2
upstream-e3eaf578082ee26ebc0021faed8ae42aca007f9e.zip
lantiq: kernel 5.4: debloat kernel config
The etop driver is used by all targets except xrx200. Remove the UBIFS compression support for zlib and zstd from the xway subtarget. The hardware is EOL for a long time and it's unlikely to ever see a board shipped with an UBIFS using these compression methods. Remove the JFFS2 support. Support for jjfs2 images was dropped years ago. It shrinks the compressed kernel up to 130 KByte. Signed-off-by: Mathias Kresin <dev@kresin.me>
-rw-r--r--target/linux/lantiq/ase/config-5.41
-rw-r--r--target/linux/lantiq/config-5.43
-rw-r--r--target/linux/lantiq/falcon/config-5.41
-rw-r--r--target/linux/lantiq/xway/config-5.413
-rw-r--r--target/linux/lantiq/xway_legacy/config-5.41
5 files changed, 8 insertions, 11 deletions
diff --git a/target/linux/lantiq/ase/config-5.4 b/target/linux/lantiq/ase/config-5.4
index 159c57bca7..455cd54d10 100644
--- a/target/linux/lantiq/ase/config-5.4
+++ b/target/linux/lantiq/ase/config-5.4
@@ -11,6 +11,7 @@ CONFIG_GENERIC_ALLOCATOR=y
CONFIG_GPIO_GENERIC=y
CONFIG_GPIO_GENERIC_PLATFORM=y
# CONFIG_ISDN is not set
+CONFIG_LANTIQ_ETOP=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
CONFIG_NLS=y
# CONFIG_PSB6970_PHY is not set
diff --git a/target/linux/lantiq/config-5.4 b/target/linux/lantiq/config-5.4
index 3d3b7db958..501bd77fbd 100644
--- a/target/linux/lantiq/config-5.4
+++ b/target/linux/lantiq/config-5.4
@@ -129,9 +129,10 @@ CONFIG_IRQ_DOMAIN_HIERARCHY=y
CONFIG_IRQ_FORCED_THREADING=y
CONFIG_IRQ_MIPS_CPU=y
CONFIG_IRQ_WORK=y
+# CONFIG_JFFS2_FS is not set
CONFIG_LANTIQ=y
CONFIG_LANTIQ_DT_NONE=y
-CONFIG_LANTIQ_ETOP=y
+# CONFIG_LANTIQ_ETOP is not set
CONFIG_LANTIQ_WDT=y
# CONFIG_LANTIQ_XRX200 is not set
# CONFIG_LANTIQ_XRX200_LEGACY is not set
diff --git a/target/linux/lantiq/falcon/config-5.4 b/target/linux/lantiq/falcon/config-5.4
index e2f94b54d0..a6d9e944f0 100644
--- a/target/linux/lantiq/falcon/config-5.4
+++ b/target/linux/lantiq/falcon/config-5.4
@@ -1,3 +1,4 @@
+CONFIG_LANTIQ_ETOP=y
CONFIG_MTD_NAND_CORE=y
CONFIG_MTD_NAND_ECC_SW_HAMMING=y
CONFIG_MTD_RAW_NAND=y
diff --git a/target/linux/lantiq/xway/config-5.4 b/target/linux/lantiq/xway/config-5.4
index 7c539ba2ca..16e9de8f95 100644
--- a/target/linux/lantiq/xway/config-5.4
+++ b/target/linux/lantiq/xway/config-5.4
@@ -4,16 +4,14 @@ CONFIG_AT803X_PHY=y
CONFIG_BLK_MQ_PCI=y
CONFIG_CRC16=y
CONFIG_CRYPTO_ACOMP2=y
-CONFIG_CRYPTO_DEFLATE=y
CONFIG_CRYPTO_HASH_INFO=y
CONFIG_CRYPTO_LZO=y
-CONFIG_CRYPTO_ZSTD=y
CONFIG_GENERIC_ALLOCATOR=y
CONFIG_INPUT=y
CONFIG_INPUT_EVDEV=y
CONFIG_INPUT_POLLDEV=y
# CONFIG_ISDN is not set
-CONFIG_LEDS_TRIGGER_HEARTBEAT=y
+CONFIG_LANTIQ_ETOP=y
CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y
CONFIG_MTD_NAND_CORE=y
@@ -41,14 +39,9 @@ CONFIG_SGL_ALLOC=y
CONFIG_UBIFS_FS=y
CONFIG_UBIFS_FS_ADVANCED_COMPR=y
CONFIG_UBIFS_FS_LZO=y
-CONFIG_UBIFS_FS_ZLIB=y
-CONFIG_UBIFS_FS_ZSTD=y
+# CONFIG_UBIFS_FS_ZLIB is not set
+# CONFIG_UBIFS_FS_ZSTD is not set
CONFIG_USB=y
CONFIG_USB_COMMON=y
# CONFIG_USB_EHCI_HCD is not set
CONFIG_USB_SUPPORT=y
-CONFIG_XXHASH=y
-CONFIG_ZLIB_DEFLATE=y
-CONFIG_ZLIB_INFLATE=y
-CONFIG_ZSTD_COMPRESS=y
-CONFIG_ZSTD_DECOMPRESS=y
diff --git a/target/linux/lantiq/xway_legacy/config-5.4 b/target/linux/lantiq/xway_legacy/config-5.4
index 63452a7487..1d1c2f187c 100644
--- a/target/linux/lantiq/xway_legacy/config-5.4
+++ b/target/linux/lantiq/xway_legacy/config-5.4
@@ -12,6 +12,7 @@ CONFIG_INPUT=y
CONFIG_INPUT_EVDEV=y
CONFIG_INPUT_POLLDEV=y
# CONFIG_ISDN is not set
+CONFIG_LANTIQ_ETOP=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
# CONFIG_LEDS_TRIGGER_TIMER is not set
CONFIG_LZO_COMPRESS=y