diff mbox

[v2,6/8] ARM: hikey: Select DM, DM_GPIO from Kconfig

Message ID 1441918518-25629-7-git-send-email-peter.griffin@linaro.org
State Accepted
Commit efd7b60a81fe7a8ecffa585691d835456d5d551a
Headers show

Commit Message

Peter Griffin Sept. 10, 2015, 8:55 p.m. UTC
Most platforms enable these options from Kconfig rather
than the configs header file.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
---
 arch/arm/Kconfig        | 2 ++
 include/configs/hikey.h | 2 --
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Simon Glass Sept. 18, 2015, 4:04 a.m. UTC | #1
On 10 September 2015 at 14:55, Peter Griffin <peter.griffin@linaro.org> wrote:
> Most platforms enable these options from Kconfig rather
> than the configs header file.
>
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> ---
>  arch/arm/Kconfig        | 2 ++
>  include/configs/hikey.h | 2 --
>  2 files changed, 2 insertions(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg@chromium.org>
Tom Rini Sept. 28, 2015, 9:08 p.m. UTC | #2
On Thu, Sep 10, 2015 at 09:55:16PM +0100, Peter Griffin wrote:

> Most platforms enable these options from Kconfig rather
> than the configs header file.
> 
> Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
> Reviewed-by: Simon Glass <sjg@chromium.org>

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

Patch

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 8085a24..9c2b3ab 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -648,6 +648,8 @@  config TARGET_LS2085ARDB
 config TARGET_HIKEY
 	bool "Support HiKey 96boards Consumer Edition Platform"
 	select ARM64
+	select DM
+	select DM_GPIO
 	  help
 	  Support for HiKey 96boards platform. It features a HI6220
 	  SoC, with 8xA53 CPU, mali450 gpu, and 1GB RAM.
diff --git a/include/configs/hikey.h b/include/configs/hikey.h
index 7666bf9..ae8187a 100644
--- a/include/configs/hikey.h
+++ b/include/configs/hikey.h
@@ -83,9 +83,7 @@ 
 #endif
 
 #define CONFIG_HIKEY_GPIO
-#define CONFIG_DM_GPIO
 #define CONFIG_CMD_GPIO
-#define CONFIG_DM
 
 /* SD/MMC configuration */
 #define CONFIG_GENERIC_MMC