arm: mvebu: axp: Properly check for Armada XP in mach/soc.h
authorPali Rohár <pali@kernel.org>
Wed, 11 Aug 2021 18:53:29 +0000 (20:53 +0200)
committerStefan Roese <sr@denx.de>
Wed, 1 Sep 2021 06:07:04 +0000 (08:07 +0200)
commit3404aa464696fbb5a976bdde0746e6ca82b8af82
tree9b357d8215da21bf0e3bc22cfa2af140fa4746cf
parente515a33040af6c637f8f17d9bd4166b0c3bba22d
arm: mvebu: axp: Properly check for Armada XP in mach/soc.h

File mach/soc.h is included also in 64-bit mvebu processors, so define
Armada XP related macros only when compiling for Armada XP.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Stefan Roese <sr@denx.de>
arch/arm/mach-mvebu/include/mach/soc.h