* [PATCH 0/2] OMAP2+: misc. defconfig cleanups for 2.6.37
@ 2010-09-28 19:07 Kevin Hilman
2010-09-28 19:07 ` [PATCH 1/2] OMAP2+: defconfig: disable CPUfreq Kevin Hilman
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Kevin Hilman @ 2010-09-28 19:07 UTC (permalink / raw)
To: linux-arm-kernel
A couple of small defconfig changes for 2.6.37 with the goal of working
towards a smaller default kernel image.
Kevin Hilman (2):
OMAP2+: defconfig: disable CPUfreq
OMAP2+: defconfig: modularize bluetooth, audio and WLAN
arch/arm/configs/omap2plus_defconfig | 34 +++++++++++++++-------------------
1 files changed, 15 insertions(+), 19 deletions(-)
--
1.7.2.1
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH 1/2] OMAP2+: defconfig: disable CPUfreq
2010-09-28 19:07 [PATCH 0/2] OMAP2+: misc. defconfig cleanups for 2.6.37 Kevin Hilman
@ 2010-09-28 19:07 ` Kevin Hilman
2010-09-28 19:07 ` [PATCH 2/2] OMAP2+: defconfig: modularize bluetooth, audio and WLAN Kevin Hilman
2010-09-29 17:40 ` [PATCH 0/2] OMAP2+: misc. defconfig cleanups for 2.6.37 Tony Lindgren
2 siblings, 0 replies; 4+ messages in thread
From: Kevin Hilman @ 2010-09-28 19:07 UTC (permalink / raw)
To: linux-arm-kernel
Disable CPUfreq since
1) is not yet supported in mainline, and
2) the current driver fails to suspend properly
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
---
arch/arm/configs/omap2plus_defconfig | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
index 9ca8df0..a3db92b 100644
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -65,10 +65,6 @@ CONFIG_ZBOOT_ROM_TEXT=0x0
CONFIG_ZBOOT_ROM_BSS=0x0
CONFIG_CMDLINE="root=/dev/mmcblk0p2 rootwait console=ttyS2,115200"
CONFIG_KEXEC=y
-CONFIG_CPU_FREQ=y
-CONFIG_CPU_FREQ_STAT_DETAILS=y
-CONFIG_CPU_FREQ_GOV_USERSPACE=y
-CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_FPE_NWFPE=y
CONFIG_VFP=y
CONFIG_NEON=y
--
1.7.2.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 2/2] OMAP2+: defconfig: modularize bluetooth, audio and WLAN
2010-09-28 19:07 [PATCH 0/2] OMAP2+: misc. defconfig cleanups for 2.6.37 Kevin Hilman
2010-09-28 19:07 ` [PATCH 1/2] OMAP2+: defconfig: disable CPUfreq Kevin Hilman
@ 2010-09-28 19:07 ` Kevin Hilman
2010-09-29 17:40 ` [PATCH 0/2] OMAP2+: misc. defconfig cleanups for 2.6.37 Tony Lindgren
2 siblings, 0 replies; 4+ messages in thread
From: Kevin Hilman @ 2010-09-28 19:07 UTC (permalink / raw)
To: linux-arm-kernel
In working towards a smaller default kernel, only devices used for
early boot should be built in. Toward that end, build the following
as modules by default:
- bluetooth
- audio: ALSA, ASoC
- WLAN
Uncompressed kernel size comparison:
Before:
text data bss dec hex filename
6557576 465088 5616024 12638688 c0d9e0 vmlinux
After:
text data bss dec hex filename
5616572 436448 5610800 11663820 b1f9cc vmlinux
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
---
arch/arm/configs/omap2plus_defconfig | 30 +++++++++++++++---------------
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/arch/arm/configs/omap2plus_defconfig b/arch/arm/configs/omap2plus_defconfig
index a3db92b..7deec89 100644
--- a/arch/arm/configs/omap2plus_defconfig
+++ b/arch/arm/configs/omap2plus_defconfig
@@ -87,23 +87,23 @@ CONFIG_IP_PNP_RARP=y
# CONFIG_INET_LRO is not set
# CONFIG_IPV6 is not set
CONFIG_NETFILTER=y
-CONFIG_BT=y
-CONFIG_BT_L2CAP=y
-CONFIG_BT_SCO=y
+CONFIG_BT=m
+CONFIG_BT_L2CAP=m
+CONFIG_BT_SCO=m
CONFIG_BT_RFCOMM=y
CONFIG_BT_RFCOMM_TTY=y
-CONFIG_BT_BNEP=y
+CONFIG_BT_BNEP=m
CONFIG_BT_BNEP_MC_FILTER=y
CONFIG_BT_BNEP_PROTO_FILTER=y
-CONFIG_BT_HIDP=y
-CONFIG_BT_HCIUART=y
+CONFIG_BT_HIDP=m
+CONFIG_BT_HCIUART=m
CONFIG_BT_HCIUART_H4=y
CONFIG_BT_HCIUART_BCSP=y
CONFIG_BT_HCIUART_LL=y
-CONFIG_BT_HCIBCM203X=y
-CONFIG_BT_HCIBPA10X=y
-CONFIG_CFG80211=y
-CONFIG_MAC80211=y
+CONFIG_BT_HCIBCM203X=m
+CONFIG_BT_HCIBPA10X=m
+CONFIG_CFG80211=m
+CONFIG_MAC80211=m
CONFIG_MAC80211_RC_PID=y
CONFIG_MAC80211_RC_DEFAULT_PID=y
CONFIG_MAC80211_LEDS=y
@@ -139,9 +139,9 @@ CONFIG_SMC91X=y
CONFIG_SMSC911X=y
CONFIG_KS8851=y
CONFIG_KS8851_MLL=y
-CONFIG_LIBERTAS=y
-CONFIG_LIBERTAS_USB=y
-CONFIG_LIBERTAS_SDIO=y
+CONFIG_LIBERTAS=m
+CONFIG_LIBERTAS_USB=m
+CONFIG_LIBERTAS_SDIO=m
CONFIG_LIBERTAS_DEBUG=y
CONFIG_USB_USBNET=y
CONFIG_USB_ALI_M5632=y
@@ -203,8 +203,8 @@ CONFIG_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
CONFIG_LOGO=y
-CONFIG_SOUND=y
-CONFIG_SND=y
+CONFIG_SOUND=m
+CONFIG_SND=m
CONFIG_SND_MIXER_OSS=y
CONFIG_SND_PCM_OSS=y
CONFIG_SND_VERBOSE_PRINTK=y
--
1.7.2.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH 0/2] OMAP2+: misc. defconfig cleanups for 2.6.37
2010-09-28 19:07 [PATCH 0/2] OMAP2+: misc. defconfig cleanups for 2.6.37 Kevin Hilman
2010-09-28 19:07 ` [PATCH 1/2] OMAP2+: defconfig: disable CPUfreq Kevin Hilman
2010-09-28 19:07 ` [PATCH 2/2] OMAP2+: defconfig: modularize bluetooth, audio and WLAN Kevin Hilman
@ 2010-09-29 17:40 ` Tony Lindgren
2 siblings, 0 replies; 4+ messages in thread
From: Tony Lindgren @ 2010-09-29 17:40 UTC (permalink / raw)
To: linux-arm-kernel
* Kevin Hilman <khilman@deeprootsystems.com> [100928 11:59]:
> A couple of small defconfig changes for 2.6.37 with the goal of working
> towards a smaller default kernel image.
Thanks, adding both to omap-for-linus.
Tony
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-09-29 17:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-28 19:07 [PATCH 0/2] OMAP2+: misc. defconfig cleanups for 2.6.37 Kevin Hilman
2010-09-28 19:07 ` [PATCH 1/2] OMAP2+: defconfig: disable CPUfreq Kevin Hilman
2010-09-28 19:07 ` [PATCH 2/2] OMAP2+: defconfig: modularize bluetooth, audio and WLAN Kevin Hilman
2010-09-29 17:40 ` [PATCH 0/2] OMAP2+: misc. defconfig cleanups for 2.6.37 Tony Lindgren
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).