clocksource/drivers/u300: Add the COMPILE_TEST option
authorDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 3 Jun 2016 12:31:16 +0000 (14:31 +0200)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Tue, 28 Jun 2016 08:22:13 +0000 (10:22 +0200)
commit85f98db4adbbd3ec6b41537d31241b59bf47c66f
tree157ab3e368a7d5189a7cdee5badfcd3840b8e6e0
parentf3550d499576c423db0d902930cf8d848fe09744
clocksource/drivers/u300: Add the COMPILE_TEST option

Change the Kconfig option logic to fullfil with the current approach.

A new Kconfig option is added, CONFIG_U300_TIMER and is selected by the
platform. Then the clocksource's Kconfig is changed to make this option
selectable by the user if the COMPILE_TEST option is set. Otherwise, it is
up to the platform's Kconfig to select the timer.

Due on the delay specific code, this driver will compile only on the ARM
architecture.

Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
arch/arm/mach-u300/Kconfig
drivers/clocksource/Kconfig
drivers/clocksource/Makefile
This page took 0.027871 seconds and 5 git commands to generate.