diff mbox

[U-Boot,4/5] omap3: Migrate to using imply

Message ID 1488573213-11586-4-git-send-email-trini@konsulko.com
State Accepted
Commit 7551dcf980f09751fe00cc19cbd21c5da73b0ad6
Delegated to: Tom Rini
Headers show

Commit Message

Tom Rini March 3, 2017, 8:33 p.m. UTC
Move the default y options under arch/arm/mach-omap2/omap3/Kconfig to be
using imply instead in arch/arm/Kconfig

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 arch/arm/Kconfig                  | 11 +++++++++++
 arch/arm/mach-omap2/omap3/Kconfig | 33 ---------------------------------
 2 files changed, 11 insertions(+), 33 deletions(-)

Comments

Tom Rini March 10, 2017, 3:10 p.m. UTC | #1
On Fri, Mar 03, 2017 at 03:33:32PM -0500, Tom Rini wrote:

> Move the default y options under arch/arm/mach-omap2/omap3/Kconfig to be
> using imply instead in arch/arm/Kconfig
> 
> Signed-off-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!
diff mbox

Patch

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 5e1838474e33..afb49fe5e5ef 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -570,6 +570,17 @@  config OMAP34XX
 	bool "OMAP34XX SoC"
 	select ARCH_OMAP2
 	select USE_TINY_PRINTF
+	imply SPL_EXT_SUPPORT
+	imply SPL_FAT_SUPPORT
+	imply SPL_GPIO_SUPPORT
+	imply SPL_I2C_SUPPORT
+	imply SPL_LIBCOMMON_SUPPORT
+	imply SPL_LIBDISK_SUPPORT
+	imply SPL_LIBGENERIC_SUPPORT
+	imply SPL_MMC_SUPPORT
+	imply SPL_NAND_SUPPORT
+	imply SPL_POWER_SUPPORT
+	imply SPL_SERIAL_SUPPORT
 
 config OMAP44XX
 	bool "OMAP44XX SoC"
diff --git a/arch/arm/mach-omap2/omap3/Kconfig b/arch/arm/mach-omap2/omap3/Kconfig
index 4a7957fde85d..933fcba37cf5 100644
--- a/arch/arm/mach-omap2/omap3/Kconfig
+++ b/arch/arm/mach-omap2/omap3/Kconfig
@@ -1,38 +1,5 @@ 
 if OMAP34XX
 
-config SPL_EXT_SUPPORT
-	default y
-
-config SPL_FAT_SUPPORT
-	default y
-
-config SPL_GPIO_SUPPORT
-	default y
-
-config SPL_I2C_SUPPORT
-	default y
-
-config SPL_LIBCOMMON_SUPPORT
-	default y
-
-config SPL_LIBDISK_SUPPORT
-	default y
-
-config SPL_LIBGENERIC_SUPPORT
-	default y
-
-config SPL_MMC_SUPPORT
-	default y
-
-config SPL_NAND_SUPPORT
-	default y
-
-config SPL_POWER_SUPPORT
-	default y
-
-config SPL_SERIAL_SUPPORT
-	default y
-
 choice
 	prompt "OMAP3 board select"
 	optional