Skip to contentSkip to conversation

ARM: omap2: remove CONFIG_ARCH_OMAP2PLUS_TYPICAL

PATCH New Rob Herring 2 participants 4 messages May 16, 2013

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: omap2: remove CONFIG_ARCH_OMAP2PLUS_TYPICAL

From: Rob Herring <[email protected]>

CONFIG_ARCH_OMAP2PLUS_TYPICAL is selecting user defined features, not h/w required options. This does not play well with multi-platform kernels and belongs in a defconfig.

Cc Tony Lindgren <[email protected]>
Cc linux-omap at vger.kernel.org
---
 arch/arm/mach-omap2/Kconfig | 17 -----------------
 1 file changed, 17 deletions(-)
arch/arm/mach-omap2/Kconfig +0 -17
index f49cd51..9d4b5f7 100644
@@ -26,23 +26,6 @@ if ARCH_OMAP2PLUS
 
 menu "TI OMAP2/3/4 Specific Features"
 
-config ARCH_OMAP2PLUS_TYPICAL
-	bool "Typical OMAP configuration"
-	default y
-	select AEABI
-	select HIGHMEM
-	select I2C
-	select I2C_OMAP
-	select MENELAUS if ARCH_OMAP2
-	select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5
-	select PM_RUNTIME
-	select REGULATOR
-	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
-	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
-	select VFP
-	help
-	  Compile a kernel suitable for booting most boards
-
 config SOC_HAS_OMAP2_SDRC
 	bool "OMAP2 SDRAM Controller support"
 
Signature · 1 line
1.8.1.2
maintainer
#1 lore raw

PATCH 1/1 ARM: omap2: remove CONFIG_ARCH_OMAP2PLUS_TYPICAL

Quoted 5 lines · Rob Herring

From: Rob Herring <[email protected]>

CONFIG_ARCH_OMAP2PLUS_TYPICAL is selecting user defined features, not h/w required options. This does not play well with multi-platform kernels and belongs in a defconfig.

Yes we can remove this. But let's update omap2plus_defconfig with these options where needed. I can update this patch for that and queue it if that works for you.

Regards,

Tony

Quoted 38 lines
Cc Tony Lindgren <[email protected]>
Cc linux-omap at vger.kernel.org
---
 arch/arm/mach-omap2/Kconfig | 17 -----------------
 1 file changed, 17 deletions(-)
arch/arm/mach-omap2/Kconfig +0 -17
index f49cd51..9d4b5f7 100644
@@ -26,23 +26,6 @@ if ARCH_OMAP2PLUS
 
 menu "TI OMAP2/3/4 Specific Features"
 
-config ARCH_OMAP2PLUS_TYPICAL
-	bool "Typical OMAP configuration"
-	default y
-	select AEABI
-	select HIGHMEM
-	select I2C
-	select I2C_OMAP
-	select MENELAUS if ARCH_OMAP2
-	select NEON if ARCH_OMAP3 || ARCH_OMAP4 || SOC_OMAP5
-	select PM_RUNTIME
-	select REGULATOR
-	select TWL4030_CORE if ARCH_OMAP3 || ARCH_OMAP4
-	select TWL4030_POWER if ARCH_OMAP3 || ARCH_OMAP4
-	select VFP
-	help
-	  Compile a kernel suitable for booting most boards
-
 config SOC_HAS_OMAP2_SDRC
 	bool "OMAP2 SDRAM Controller support"
 
Signature · 1 line
1.8.1.2
#2 lore raw

PATCH 1/1 ARM: omap2: remove CONFIG_ARCH_OMAP2PLUS_TYPICAL

Quoted 11 lines · Tony Lindgren
Quoted 5 lines · Rob Herring

From: Rob Herring <[email protected]>

CONFIG_ARCH_OMAP2PLUS_TYPICAL is selecting user defined features, not h/w required options. This does not play well with multi-platform kernels and belongs in a defconfig.

Yes we can remove this. But let's update omap2plus_defconfig with these options where needed. I can update this patch for that and queue it if that works for you.

Yes, that's fine. You might also want to enable the h/w related features to multi_v7_defconfig as well.

Rob

maintainer
#3 lore raw

PATCH 1/1 ARM: omap2: remove CONFIG_ARCH_OMAP2PLUS_TYPICAL

Quoted 8 lines · Rob Herring
Quoted 7 lines · Tony Lindgren
Quoted 5 lines · Rob Herring

From: Rob Herring <[email protected]>

CONFIG_ARCH_OMAP2PLUS_TYPICAL is selecting user defined features, not h/w required options. This does not play well with multi-platform kernels and belongs in a defconfig.

Quoted 7 lines
Quoted 4 lines

Yes we can remove this. But let's update omap2plus_defconfig with these options where needed. I can update this patch for that and queue it if that works for you.

Yes, that's fine. You might also want to enable the h/w related features to multi_v7_defconfig as well.

Yes will do. BTW, getting rid of CONFIG_ARCH_OMAP2PLUS_TYPICAL was the reason I did not update multi_v7_defconfig yet.

I'll also update Arnd's randconfig fix patch and post it, then will stick all three patches into one branch.

Regards,

Tony