commit | 008f4a7a307ec17dc97bdc808b90e83d15b9b027 | [log] [tgz] |
---|---|---|
author | Henrik Brix Andersen <hebad@vestas.com> | Tue Dec 08 14:40:19 2020 +0100 |
committer | Andrzej Puzdrowski <andrzej.puzdrowski@nordicsemi.no> | Fri Dec 18 18:31:38 2020 +0100 |
tree | 35bdc26b470b57927d7baada81ef0acc61275bac | |
parent | 7cca88ab8ebe7f16dd1c0175bf9a0c289e471690 [diff] [blame] |
boot: zephyr: cleanup NXP MPU configuration before boot Cleanup the NXP MPU configuration before chain-loading the application. Signed-off-by: Henrik Brix Andersen <hebad@vestas.com>
diff --git a/boot/zephyr/main.c b/boot/zephyr/main.c index 36c022a..19c9995 100644 --- a/boot/zephyr/main.c +++ b/boot/zephyr/main.c
@@ -148,7 +148,7 @@ SCB_DisableICache(); #endif -#if CONFIG_CPU_HAS_ARM_MPU +#if CONFIG_CPU_HAS_ARM_MPU || CONFIG_CPU_HAS_NXP_MPU z_arm_clear_arm_mpu_config(); #endif