ARM: Kconfig.debug: OC_ETM and CORESIGHT are mutually exclusive
The android tree still has the legacy ETM driver, but it cannot
coexist with the new Coresight driver, so make sure they are mutually
exclusive at compile time.
Signed-off-by: Kevin Hilman <khilman@linaro.org>
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug
index 96651f7..21c031f 100644
--- a/arch/arm/Kconfig.debug
+++ b/arch/arm/Kconfig.debug
@@ -1299,7 +1299,7 @@
config OC_ETM
bool "On-chip ETM and ETB"
- depends on ARM_AMBA
+ depends on ARM_AMBA && !CORESIGHT
help
Enables the on-chip embedded trace macrocell and embedded trace
buffer driver that will allow you to collect traces of the