From: geert@linux-m68k.org (Geert Uytterhoeven)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH/RFC 2/2] ARM: multi_v7_defconfig: Make fbdev support modular
Date: Fri, 29 May 2015 15:25:26 +0200 [thread overview]
Message-ID: <1432905926-31606-2-git-send-email-geert@linux-m68k.org> (raw)
In-Reply-To: <1432905926-31606-1-git-send-email-geert@linux-m68k.org>
From: Geert Uytterhoeven <geert+renesas@glider.be>
Make fbdev support modular to reduce kernel size (-158 KiB):
text data bss dec hex filename
11581470 1387196 338264 13306930 cb0c32 vmlinux.before
11430531 1384340 330584 13145455 c8956f vmlinux.after
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
This one is more controversial:
- Does anyone need fbdev for boot-testing?
- This disables two drivers that cannot be modular (FB_WM8505 and
FB_SIMPLE), and the PLAT_VERSATILE_CLCD helper support.
arch/arm/configs/multi_v7_defconfig | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig
index 9b4e33d5b15e340f..af94ade61b1400d6 100644
--- a/arch/arm/configs/multi_v7_defconfig
+++ b/arch/arm/configs/multi_v7_defconfig
@@ -436,18 +436,15 @@ CONFIG_DRM_EXYNOS_HDMI=y
CONFIG_DRM_RCAR_DU=m
CONFIG_DRM_TEGRA=m
CONFIG_DRM_PANEL_SIMPLE=m
-CONFIG_FB=y
-CONFIG_FB_ARMCLCD=y
-CONFIG_FB_WM8505=y
-CONFIG_FB_SH_MOBILE_LCDC=y
-CONFIG_FB_SIMPLE=y
+CONFIG_FB_ARMCLCD=m
+CONFIG_FB_SH_MOBILE_LCDC=m
CONFIG_FB_SH_MOBILE_MERAM=y
CONFIG_BACKLIGHT_LCD_SUPPORT=y
CONFIG_BACKLIGHT_CLASS_DEVICE=y
CONFIG_LCD_PLATFORM=m
CONFIG_BACKLIGHT_PWM=y
CONFIG_BACKLIGHT_AS3711=y
-CONFIG_FRAMEBUFFER_CONSOLE=y
+CONFIG_FRAMEBUFFER_CONSOLE=m
CONFIG_FRAMEBUFFER_CONSOLE_ROTATION=y
CONFIG_SOUND=m
CONFIG_SND=m
--
1.9.1
next prev parent reply other threads:[~2015-05-29 13:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-05-29 13:25 [PATCH/RFC 1/2] ARM: multi_v7_defconfig: Make drm support modular Geert Uytterhoeven
2015-05-29 13:25 ` Geert Uytterhoeven [this message]
2015-05-29 14:31 ` [PATCH/RFC 2/2] ARM: multi_v7_defconfig: Make fbdev " Arnd Bergmann
2015-05-29 15:41 ` [PATCH/RFC 1/2] ARM: multi_v7_defconfig: Make drm " Arnd Bergmann
2015-05-29 16:33 ` Geert Uytterhoeven
2015-06-05 11:39 ` Thierry Reding
2015-06-08 2:09 ` Alexandre Courbot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1432905926-31606-2-git-send-email-geert@linux-m68k.org \
--to=geert@linux-m68k.org \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).