From: Masahiro Yamada <yamada.masahiro@socionext.com>
Date: Tue, 30 Aug 2016 09:51:40 +0000 (+0900)
Subject: ARM: am335x: select DM_GPIO
X-Git-Tag: v2025.01-rc5-pxa1908~8626
X-Git-Url: http://git.dujemihanovic.xyz/%22http:/kyber.dk/phpMyBuilder/static/%7B%7B%20%28.OutputFormats.Get?a=commitdiff_plain;h=174245b90910438efe31153dd409d53163ea066d;p=u-boot.git

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>
---

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