From 8cce5d31ba5b74782f8176cad79cfde36788c2c5 Mon Sep 17 00:00:00 2001 From: Daniel Leung Date: Wed, 8 Jan 2020 10:47:27 -0800 Subject: [PATCH] soc: intel_apl_adsp: select CONFIG_ATOMIC_OPERATIONS_BUILTIN The GCC 9.2 toolchain for intel_apl_adsp has builtin atomic functions already so we can use that instead of the custom one in arch. This allows the atomic function calls to be inlined. Signed-off-by: Daniel Leung --- soc/xtensa/intel_apl_adsp/Kconfig.soc | 1 + 1 file changed, 1 insertion(+) diff --git a/soc/xtensa/intel_apl_adsp/Kconfig.soc b/soc/xtensa/intel_apl_adsp/Kconfig.soc index 89cb3f9b45b..72e0d27f0ed 100644 --- a/soc/xtensa/intel_apl_adsp/Kconfig.soc +++ b/soc/xtensa/intel_apl_adsp/Kconfig.soc @@ -6,3 +6,4 @@ config SOC_INTEL_APL_ADSP select XTENSA select XTENSA_RESET_VECTOR select XTENSA_USE_CORE_CRT1 + select ATOMIC_OPERATIONS_BUILTIN