diff options
-rw-r--r-- | platform/ext/target/nordic_nrf/common/core/nrfx/mdk/system_nrf5340_application.c | 4 | ||||
-rw-r--r-- | platform/ext/target/nordic_nrf/common/core/nrfx/mdk/system_nrf9160.c | 3 |
2 files changed, 0 insertions, 7 deletions
diff --git a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/system_nrf5340_application.c b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/system_nrf5340_application.c index 1f45282f86..fb0b41ad18 100644 --- a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/system_nrf5340_application.c +++ b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/system_nrf5340_application.c @@ -226,10 +226,6 @@ void SystemInit(void) #endif - /* Allow Non-Secure code to run FPU instructions. - * If only the secure code should control FPU power state these registers should be configured accordingly in the secure application code. */ - SCB->NSACR |= (3UL << 10); - /* Handle fw-branch APPROTECT setup. */ nrf53_handle_approtect(); diff --git a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/system_nrf9160.c b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/system_nrf9160.c index 47b198039b..2fc3274ecf 100644 --- a/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/system_nrf9160.c +++ b/platform/ext/target/nordic_nrf/common/core/nrfx/mdk/system_nrf9160.c @@ -218,9 +218,6 @@ void SystemInit(void) */ #endif - /* Allow Non-Secure code to run FPU instructions. - * If only the secure code should control FPU power state these registers should be configured accordingly in the secure application code. */ - SCB->NSACR |= (3UL << 10); #endif /* Enable the FPU if the compiler used floating point unit instructions. __FPU_USED is a MACRO defined by the |