forked from luck/tmp_suning_uos_patched
d77e270c53
Integrator/CP has the 24MHz counter which Versatile and later platforms also have, which we use for sched_clock support. Allow this counter to be used when building a kernel targetting Integrator/CP alone. Integrator/AP does not have this counter, so we must exclude support for the Integrator family when this is enabled. Acked-by: Catalin Marinas <catalin.marinas@arm.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
18 lines
290 B
Plaintext
18 lines
290 B
Plaintext
if PLAT_VERSATILE
|
|
|
|
config PLAT_VERSATILE_CLCD
|
|
bool
|
|
|
|
config PLAT_VERSATILE_FPGA_IRQ
|
|
bool
|
|
|
|
config PLAT_VERSATILE_LEDS
|
|
def_bool y if LEDS_CLASS
|
|
depends on ARCH_REALVIEW || ARCH_VERSATILE
|
|
|
|
config PLAT_VERSATILE_SCHED_CLOCK
|
|
def_bool y if !ARCH_INTEGRATOR_AP
|
|
select HAVE_SCHED_CLOCK
|
|
|
|
endif
|