diff options
author | Will Deacon <will.deacon@arm.com> | 2010-06-21 15:32:54 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2010-07-01 10:13:58 +0100 |
commit | 8954bb0da99b76c7ce5edf2f314807cff68b6ea8 (patch) | |
tree | e49721e0ff9e451fad2550d4aad4b38e176a0c85 /arch | |
parent | 534be1d5a2da940ecc5e528992ea4ace8658157a (diff) | |
download | op-kernel-dev-8954bb0da99b76c7ce5edf2f314807cff68b6ea8.zip op-kernel-dev-8954bb0da99b76c7ce5edf2f314807cff68b6ea8.tar.gz |
ARM: 6195/1: OMAP3: pmu: make CPU_HAS_PMU dependent on OMAP3_EMU
CPU performance event counters on v7 cores will only operate
if either the NIDEN or DBGEN signals are driven high.
For the OMAP3 platform, these signals are driven low by default
but DBGEN can be asserted by selecting the OMAP3_EMU Kconfig option,
which enables the virtual clock for hardware debugging peripherals.
Acked-by: Jean Pihet <jpihet@mvista.com>
Signed-off-by: Will Deacon <will.deacon@arm.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 1f254bd..98922f7 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig @@ -955,7 +955,8 @@ config XSCALE_PMU default y config CPU_HAS_PMU - depends on CPU_V6 || CPU_V7 || XSCALE_PMU + depends on (CPU_V6 || CPU_V7 || XSCALE_PMU) && \ + (!ARCH_OMAP3 || OMAP3_EMU) default y bool |