arch/arm/{nrf53|nrf91}: enable fpu if CONFIG_ARCH_FPU=y

enable fpu if CONFIG_ARCH_FPU=y, the previous condition depended on CONFIG_ARCH_HAVE_FPU=y
This commit is contained in:
raiden00pl 2024-07-26 13:30:46 +02:00 committed by Xiang Xiao
parent 83c0877a50
commit e75c19ce58
2 changed files with 2 additions and 2 deletions

View File

@ -240,7 +240,7 @@ void __start(void)
arm_stack_check_init();
#endif
#ifdef CONFIG_ARCH_HAVE_FPU
#ifdef CONFIG_ARCH_FPU
/* Initialize the FPU (if available) */
arm_fpuconfig();

View File

@ -224,7 +224,7 @@ void __start(void)
showprogress('C');
#ifdef CONFIG_ARCH_HAVE_FPU
#ifdef CONFIG_ARCH_FPU
/* Initialize the FPU (if available) */
arm_fpuconfig();