]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: simplify ACTLR.SMP bit set #ifdef
authorAndre Przywara <andre.przywara@arm.com>
Thu, 16 Feb 2017 01:20:21 +0000 (01:20 +0000)
committerJagan Teki <jagan@amarulasolutions.com>
Wed, 5 Apr 2017 09:33:17 +0000 (15:03 +0530)
commit85db5831ad4b62719775ff0fd0918a944755b967
tree3fedd00444ea4d6e9d0195c5fb5826a290056f35
parent4d24e5f175fee197cb39027de9048a8c18fa6dba
sunxi: simplify ACTLR.SMP bit set #ifdef

Instead of enumerating all SoC families that need that bit set, let's
just express this more clearly: The SMP bits needs to be set on
SMP capable ARMv7 CPUs. It's much easier in Kconfig to express it the
other way round, so we use ! CPU_IS_UP and ! ARM64.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
arch/arm/Kconfig
arch/arm/mach-sunxi/board.c
board/sunxi/Kconfig