diff options
author | Benjamin Gaignard <benjamin.gaignard@linaro.org> | 2018-03-12 10:32:48 +0100 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2018-03-19 13:49:36 -0700 |
commit | da32d3539fca54f36f6069fafe6ee0e4bc7117d0 (patch) | |
tree | 5089e1b93186f39a853825da4dfc6e50c2339c22 /drivers/clk/Kconfig | |
parent | 3a430067838a4e47ff473999b2f6a5a7be92dba7 (diff) | |
download | linux-da32d3539fca54f36f6069fafe6ee0e4bc7117d0.tar.bz2 |
clk: stm32: add configuration flags for each of the stm32 drivers
Add two configuration flags to be able to not compile all the time
stm32f and stm32h7 drivers when ARCH_STM32 is set.
That help to save some space on those small platforms.
Signed-off-by: Benjamin Gaignard <benjamin.gaignard@st.com>
Acked-by: Gabriel Fernandez <gabriel.fernandez@st.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/Kconfig')
-rw-r--r-- | drivers/clk/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/clk/Kconfig b/drivers/clk/Kconfig index cbb9b0c05442..a26cde051158 100644 --- a/drivers/clk/Kconfig +++ b/drivers/clk/Kconfig @@ -244,6 +244,20 @@ config COMMON_CLK_STM32MP157 ---help--- Support for stm32mp157 SoC family clocks +config COMMON_CLK_STM32F + bool "Clock driver for stm32f4 and stm32f7 SoC families" + depends on MACH_STM32F429 || MACH_STM32F469 || MACH_STM32F746 + help + ---help--- + Support for stm32f4 and stm32f7 SoC families clocks + +config COMMON_CLK_STM32H7 + bool "Clock driver for stm32h7 SoC family" + depends on MACH_STM32H743 + help + ---help--- + Support for stm32h7 SoC family clocks + source "drivers/clk/bcm/Kconfig" source "drivers/clk/hisilicon/Kconfig" source "drivers/clk/imgtec/Kconfig" |