From ac43fdb2562c732d4d54d93758dcefa5b79eb51b Mon Sep 17 00:00:00 2001
From: Ran Wang <ran.wang_1@nxp.com>
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 <Shengzhou.Liu@nxp.com>
Signed-off-by: Ran Wang <ran.wang_1@nxp.com>
---
 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 f1178bb3669217..0a21b724367bf0 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
-- 
GitLab