From 2398539cf86ff0e00c69d2263534a6d725b60011 Mon Sep 17 00:00:00 2001 From: kszaq Date: Sun, 4 Sep 2016 00:54:20 +0200 Subject: [PATCH] aarch64: define CPU extensions project-wise S905 does not support crypto extensions, while other aarch64 CPUs may implement them. Solution: define CPU extensions project-wise. --- config/arch.aarch64 | 1 - projects/Odroid_C2/options | 1 + projects/WeTek_Hub/options | 1 + 3 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/arch.aarch64 b/config/arch.aarch64 index f80ab57122..ca435df80c 100644 --- a/config/arch.aarch64 +++ b/config/arch.aarch64 @@ -14,7 +14,6 @@ TARGET_SUBARCH=aarch64 TARGET_VARIANT=armv8-a TARGET_ABI=eabi - TARGET_CPU_FLAGS="+crc+crypto" TARGET_EXTRA_FLAGS="-mcpu=${TARGET_CPU}${TARGET_CPU_FLAGS}" SIMD_SUPPORT="yes" ;; diff --git a/projects/Odroid_C2/options b/projects/Odroid_C2/options index e39d5507e6..349a55a01e 100644 --- a/projects/Odroid_C2/options +++ b/projects/Odroid_C2/options @@ -18,6 +18,7 @@ # arm1176jz-s arm1176jzf-s cortex-a8 cortex-a9 cortex-r4 # cortex-r4f cortex-m3 cortex-m1 xscale iwmmxt iwmmxt2 ep9312. TARGET_CPU="cortex-a53" + TARGET_CPU_FLAGS="+crc+fp+simd" ;; esac diff --git a/projects/WeTek_Hub/options b/projects/WeTek_Hub/options index da858c54cd..181167d0c2 100644 --- a/projects/WeTek_Hub/options +++ b/projects/WeTek_Hub/options @@ -19,6 +19,7 @@ # cortex-r4f cortex-m3 cortex-m1 xscale iwmmxt iwmmxt2 ep9312. # TARGET_CPU="cortex-a53" + TARGET_CPU_FLAGS="+crc+fp+simd" ;; esac