aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-08-20 22:59:36 +0900
committerMasahiro Yamada <yamada.masahiro@socionext.com>2017-08-20 23:05:39 +0900
commit213fcabdfdac829aed2506793567c7d6497a3b8e (patch)
tree25768c6f81f5766f5f264fb9b9e459907c9b661e
parent2629a21e209d91cdb778f43612235ed1f3029488 (diff)
downloadu-boot-213fcabdfdac829aed2506793567c7d6497a3b8e.zip
u-boot-213fcabdfdac829aed2506793567c7d6497a3b8e.tar.gz
u-boot-213fcabdfdac829aed2506793567c7d6497a3b8e.tar.bz2
clk: uniphier: fix unmet direct dependencies warning
Since commit f0776a551764 ("spl: dm: Kconfig: SPL_CLK depends on SPL_DM"), the following warning is displayed: $ make uniphier_v8_defconfig warning: (ARCH_ZYNQ && ARCH_ZYNQMP && STM32F7 && CLK_UNIPHIER) selects SPL_CLK which has unmet direct dependencies (CLK && SPL_DM) While I am here, I am removing the prompt to make it user-unconfigurable option so that "select CLK_UNIPHIER" can be omitted. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
-rw-r--r--arch/arm/Kconfig1
-rw-r--r--drivers/clk/uniphier/Kconfig5
2 files changed, 2 insertions, 4 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 0e8dc01..53d0831 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -1021,7 +1021,6 @@ config TARGET_COLIBRI_PXA270
config ARCH_UNIPHIER
bool "Socionext UniPhier SoCs"
select BOARD_LATE_INIT
- select CLK_UNIPHIER
select DM
select DM_GPIO
select DM_I2C
diff --git a/drivers/clk/uniphier/Kconfig b/drivers/clk/uniphier/Kconfig
index da3e355..3666d84 100644
--- a/drivers/clk/uniphier/Kconfig
+++ b/drivers/clk/uniphier/Kconfig
@@ -1,9 +1,8 @@
config CLK_UNIPHIER
- bool "Clock driver for UniPhier SoCs"
+ def_bool y
depends on ARCH_UNIPHIER
select CLK
- select SPL_CLK
- default y
+ select SPL_CLK if SPL
help
Support for clock controllers on UniPhier SoCs.
Say Y if you want to control clocks provided by System Control