[Build] Change CONFIG_TFM_FP to CONFIG_TFM_FLOAT_ABI
Signed-off-by: Gabor Toth <gabor.toth@arm.com>
Change-Id: I089f05025b6fe46606621b442b439303cbbaf05c
diff --git a/app/main_ns.c b/app/main_ns.c
index 19224e5..9537487 100644
--- a/app/main_ns.c
+++ b/app/main_ns.c
@@ -22,7 +22,7 @@
#endif
#include "tfm_log.h"
#include "uart_stdout.h"
-#if (CONFIG_TFM_FP >= 1)
+#if (CONFIG_TFM_FLOAT_ABI >= 1)
#include "cmsis.h"
#endif
@@ -129,7 +129,7 @@
__WEAK int32_t tfm_ns_cp_init(void)
{
-#if (CONFIG_TFM_FP >= 1)
+#if (CONFIG_TFM_FLOAT_ABI >= 1)
#ifdef __GNUC__
/* Enable NSPE privileged and unprivilged access to the FP Extension */
SCB->CPACR |= (3U << 10U*2U) /* enable CP10 full access */