diff options
author | Richard Weinberger <richard@nod.at> | 2016-01-02 17:06:36 -0500 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2016-01-11 12:45:12 -0500 |
commit | 863ee050726b67db82869e8e4221a7385a28b067 (patch) | |
tree | 1208b6bfe7bf597d6efda41cb73eab99c76146a1 /drivers/clocksource/Kconfig | |
parent | 01414888eaf725a677171605cb051b1c6311e6ab (diff) |
clocksource/drivers: Fix dependencies for !HAS_IOMEM archs
Not every arch has io memory.
So, unbreak the build by fixing the dependencies.
Signed-off-by: Richard Weinberger <richard@nod.at>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/clocksource/Kconfig')
-rw-r--r-- | drivers/clocksource/Kconfig | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index b251013eef0a..796efbe7bea5 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig | |||
@@ -152,7 +152,7 @@ config CLKSRC_EFM32 | |||
152 | 152 | ||
153 | config CLKSRC_LPC32XX | 153 | config CLKSRC_LPC32XX |
154 | bool "Clocksource for LPC32XX" if COMPILE_TEST | 154 | bool "Clocksource for LPC32XX" if COMPILE_TEST |
155 | depends on GENERIC_CLOCKEVENTS | 155 | depends on GENERIC_CLOCKEVENTS && HAS_IOMEM |
156 | select CLKSRC_MMIO | 156 | select CLKSRC_MMIO |
157 | select CLKSRC_OF | 157 | select CLKSRC_OF |
158 | help | 158 | help |
@@ -160,6 +160,7 @@ config CLKSRC_LPC32XX | |||
160 | 160 | ||
161 | config CLKSRC_PISTACHIO | 161 | config CLKSRC_PISTACHIO |
162 | bool "Clocksource for Pistachio SoC" if COMPILE_TEST | 162 | bool "Clocksource for Pistachio SoC" if COMPILE_TEST |
163 | depends on HAS_IOMEM | ||
163 | select CLKSRC_OF | 164 | select CLKSRC_OF |
164 | help | 165 | help |
165 | Enables the clocksource for the Pistachio SoC. | 166 | Enables the clocksource for the Pistachio SoC. |
@@ -269,7 +270,7 @@ config SYS_SUPPORTS_SH_CMT | |||
269 | 270 | ||
270 | config MTK_TIMER | 271 | config MTK_TIMER |
271 | bool "Mediatek timer driver" if COMPILE_TEST | 272 | bool "Mediatek timer driver" if COMPILE_TEST |
272 | depends on GENERIC_CLOCKEVENTS | 273 | depends on GENERIC_CLOCKEVENTS && HAS_IOMEM |
273 | select CLKSRC_OF | 274 | select CLKSRC_OF |
274 | select CLKSRC_MMIO | 275 | select CLKSRC_MMIO |
275 | help | 276 | help |
@@ -365,20 +366,20 @@ config CLKSRC_PXA | |||
365 | 366 | ||
366 | config H8300_TMR8 | 367 | config H8300_TMR8 |
367 | bool "Clockevent timer for the H8300 platform" if COMPILE_TEST | 368 | bool "Clockevent timer for the H8300 platform" if COMPILE_TEST |
368 | depends on GENERIC_CLOCKEVENTS | 369 | depends on GENERIC_CLOCKEVENTS && HAS_IOMEM |
369 | help | 370 | help |
370 | This enables the 8 bits timer for the H8300 platform. | 371 | This enables the 8 bits timer for the H8300 platform. |
371 | 372 | ||
372 | config H8300_TMR16 | 373 | config H8300_TMR16 |
373 | bool "Clockevent timer for the H83069 platform" if COMPILE_TEST | 374 | bool "Clockevent timer for the H83069 platform" if COMPILE_TEST |
374 | depends on GENERIC_CLOCKEVENTS | 375 | depends on GENERIC_CLOCKEVENTS && HAS_IOMEM |
375 | help | 376 | help |
376 | This enables the 16 bits timer for the H8300 platform with the | 377 | This enables the 16 bits timer for the H8300 platform with the |
377 | H83069 cpu. | 378 | H83069 cpu. |
378 | 379 | ||
379 | config H8300_TPU | 380 | config H8300_TPU |
380 | bool "Clocksource for the H8300 platform" if COMPILE_TEST | 381 | bool "Clocksource for the H8300 platform" if COMPILE_TEST |
381 | depends on GENERIC_CLOCKEVENTS | 382 | depends on GENERIC_CLOCKEVENTS && HAS_IOMEM |
382 | help | 383 | help |
383 | This enables the clocksource for the H8300 platform with the | 384 | This enables the clocksource for the H8300 platform with the |
384 | H8S2678 cpu. | 385 | H8S2678 cpu. |
@@ -391,6 +392,7 @@ config CLKSRC_IMX_GPT | |||
391 | config CLKSRC_ST_LPC | 392 | config CLKSRC_ST_LPC |
392 | bool "Low power clocksource found in the LPC" if COMPILE_TEST | 393 | bool "Low power clocksource found in the LPC" if COMPILE_TEST |
393 | select CLKSRC_OF if OF | 394 | select CLKSRC_OF if OF |
395 | depends on HAS_IOMEM | ||
394 | help | 396 | help |
395 | Enable this option to use the Low Power controller timer | 397 | Enable this option to use the Low Power controller timer |
396 | as clocksource. | 398 | as clocksource. |