ARM: aspeed: ast2500 is ARMv6K
authorArnd Bergmann <arnd@arndb.de>
Thu, 29 Aug 2019 13:43:49 +0000 (15:43 +0200)
committerArnd Bergmann <arnd@arndb.de>
Fri, 20 Sep 2019 07:41:41 +0000 (09:41 +0200)
Linux supports both the original ARMv6 level (early ARM1136) and ARMv6K
(later ARM1136, ARM1176 and ARM11mpcore).

ast2500 falls into the second categoy, being based on arm1176jzf-s.
This is enabled by default when using ARCH_MULTI_V6, so we should
not 'select CPU_V6'.

Removing this will lead to more efficient use of atomic instructions.

Fixes: 8c2ed9bcfbeb ("arm: Add Aspeed machine")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Joel Stanley <joel@jms.id.au>
arch/arm/mach-aspeed/Kconfig

index a15c3a2913861b116b916beb8a0f519d8ce25201..44ee6bac255e6fa4b5e43f75b7e3403fe6a16b94 100644 (file)
@@ -26,7 +26,6 @@ config MACH_ASPEED_G4
 config MACH_ASPEED_G5
        bool "Aspeed SoC 5th Generation"
        depends on ARCH_MULTI_V6
-       select CPU_V6
        select PINCTRL_ASPEED_G5
        help
         Say yes if you intend to run on an Aspeed ast2500 or similar