From 174245b90910438efe31153dd409d53163ea066d Mon Sep 17 00:00:00 2001
From: Masahiro Yamada <yamada.masahiro@socionext.com>
Date: Tue, 30 Aug 2016 18:51:40 +0900
Subject: [PATCH] ARM: am335x: select DM_GPIO

We are supposed to not add config entries with only "default y"
in board/SoC Kconfig files.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Enric Balletbo i Serra <enric.balletbo@collabora.com>
---
 arch/arm/Kconfig       | 1 +
 board/tcl/sl50/Kconfig | 6 ------
 2 files changed, 1 insertion(+), 6 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 37fee43d9a..e63309ae9b 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -459,6 +459,7 @@ config TARGET_AM335X_SL50
 	select CPU_V7
 	select SUPPORT_SPL
 	select DM
+	select DM_GPIO
 	select DM_SERIAL
 
 config TARGET_BAV335X
diff --git a/board/tcl/sl50/Kconfig b/board/tcl/sl50/Kconfig
index 390a47631e..d0068d9324 100644
--- a/board/tcl/sl50/Kconfig
+++ b/board/tcl/sl50/Kconfig
@@ -22,10 +22,4 @@ config CONS_INDEX
 	  board you may want something other than UART0 as for example the IDK
 	  uses UART3 so enter 4 here.
 
-config DM_GPIO
-	default y
-
-config DM_SERIAL
-	default y
-
 endif
-- 
2.39.5