From b7102b50a54072da8d2af928b8605845c3d82cdd Mon Sep 17 00:00:00 2001 From: Ran Wang Date: Fri, 30 Aug 2019 17:55:23 +0800 Subject: [PATCH] ARM: lsdk.config: Remove non-NXP modules There are many non-NXP modules which are endabled in defconfig by default. Actually we can remove these unused modules in kernel lsdk.config for LSDK to reduce the size of lib/modules. Signed-off-by: Shengzhou Liu Signed-off-by: Ran Wang --- arch/arm/configs/lsdk.config | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/arch/arm/configs/lsdk.config b/arch/arm/configs/lsdk.config index f1178bb36692..0a21b724367b 100644 --- a/arch/arm/configs/lsdk.config +++ b/arch/arm/configs/lsdk.config @@ -75,3 +75,14 @@ CONFIG_FUSE_FS=y # /proc/config.gz CONFIG_IKCONFIG=y CONFIG_IKCONFIG_PROC=y + +# disable unneeded options and override default options set by defconfig to deduce the size of modules +# CONFIG_DRM_TEGRA is not set +# CONFIG_DRM_EXYNOS is not set +# CONFIG_DRM_MSM is not set +# CONFIG_DRM_VC4 is not set +# CONFIG_DRM_ROCKCHIP is not set +# CONFIG_DRM_RCAR_DU is not set +# CONFIG_USB_RENESAS_USBHS is not set +# CONFIG_TEGRA_HOST1X is not set +# CONFIG_SND_SOC_ROCKCHIP is not set