ARM: OC_ETM should not select ARM_AMBA
authorArnd Bergmann <arnd@arndb.de>
Wed, 7 Sep 2011 08:02:35 +0000 (10:02 +0200)
committerArnd Bergmann <arnd@arndb.de>
Sat, 1 Oct 2011 19:11:29 +0000 (21:11 +0200)
The CONFIG_ARM_AMBA symbol is selected by the platforms that support
AMBA, and the other platforms (e.g. orion) might not be able to
build that code at all when they do not support the clk API.

Instead, make sure that OC_ETM is only built on platforms that
do support the amba subsystem already.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
arch/arm/Kconfig.debug

index 81cbe40..0c7a4f5 100644 (file)
@@ -94,7 +94,7 @@ config DEBUG_ICEDCC
 
 config OC_ETM
        bool "On-chip ETM and ETB"
-       select ARM_AMBA
+       depends on ARM_AMBA
        help
          Enables the on-chip embedded trace macrocell and embedded trace
          buffer driver that will allow you to collect traces of the