ARM: hikey: Select DM, DM_GPIO from Kconfig
authorPeter Griffin <peter.griffin@linaro.org>
Thu, 10 Sep 2015 20:55:16 +0000 (21:55 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 28 Sep 2015 14:48:22 +0000 (10:48 -0400)
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>
arch/arm/Kconfig
include/configs/hikey.h

index c4371c7..5a8d4b2 100644 (file)
@@ -602,6 +602,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.
index 7666bf9..ae8187a 100644 (file)
@@ -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