Explorar el Código

ARM: OC_ETM should not select ARM_AMBA

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>
Arnd Bergmann hace 14 años
padre
commit
53eebb0df8
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      arch/arm/Kconfig.debug

+ 1 - 1
arch/arm/Kconfig.debug

@@ -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