summaryrefslogtreecommitdiffstats
path: root/platforms
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2021-02-26 09:35:20 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2021-02-26 14:06:44 +0100
commit2c8191fa33b72f5389e70349933fa9a3a0409d13 (patch)
tree21b60c7629d774f7931d848dc86c3a87c3df6f9c /platforms
parente0f17777d6534b92128c18134c04b1e9af75ce9e (diff)
downloadptxdist-2c8191fa33b72f5389e70349933fa9a3a0409d13.tar.gz
ptxdist-2c8191fa33b72f5389e70349933fa9a3a0409d13.tar.xz
enable NEON on ARM64
ARMv8 has NEON as well. From now on ARCH_ARM_NEON means NEON on v7 and v8, and ARCH_ARMV7_NEON means NEON only on v7. For only on v8 ARCH_ARM64 can be uses since neon is not optional here. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'platforms')
-rw-r--r--platforms/architecture.in10
1 files changed, 8 insertions, 2 deletions
diff --git a/platforms/architecture.in b/platforms/architecture.in
index 43eecbcbc..5cb27908a 100644
--- a/platforms/architecture.in
+++ b/platforms/architecture.in
@@ -257,12 +257,18 @@ config ARCH_ARM_IWMMXT
but not all pxa processors.
config ARCH_ARM_NEON
- bool "support NEON extension"
- depends on ARCH_ARM
+ bool "support NEON extension" if ARCH_ARM
+ # NEON is not optional on ARM64
+ default y if ARCH_ARM64
+ depends on ARCH_ARM || ARCH_ARM64
help
This enables the NEON extension. This is e.g. present on
Cortex A8 processors.
+config ARCH_ARMV7_NEON
+ bool
+ default ARCH_ARM_NEON if ARCH_ARM
+
#
# hardware / software floating point
#