ARM: omap5: Only select errata 798181 if SMP
authorOlof Johansson <olof@lixom.net>
Wed, 24 Jul 2013 23:55:23 +0000 (16:55 -0700)
committerOlof Johansson <olof@lixom.net>
Thu, 25 Jul 2013 00:06:23 +0000 (17:06 -0700)
Avoids the following warning when SMP is off:

warning: (ARCH_KEYSTONE && SOC_OMAP5) selects ARM_ERRATA_798181 which
has unmet direct dependencies (CPU_V7 && SMP)

Reported-by: Emilio López <emilio@elopez.com.ar>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-omap2/Kconfig

index 627fa7e41fbabbeccf38c1703dc26ed2a98d66db..3eed0006d189c0c0e88412485dba67e1800b2d6e 100644 (file)
@@ -62,7 +62,7 @@ config SOC_OMAP5
        select HAVE_SMP
        select COMMON_CLK
        select HAVE_ARM_ARCH_TIMER
-       select ARM_ERRATA_798181
+       select ARM_ERRATA_798181 if SMP
 
 config SOC_AM33XX
        bool "AM33XX support"