diff --git a/boot/zephyr/nrf_cleanup.c b/boot/zephyr/nrf_cleanup.c index f567b97e0..2165159ea 100644 --- a/boot/zephyr/nrf_cleanup.c +++ b/boot/zephyr/nrf_cleanup.c @@ -20,7 +20,7 @@ #include -#if defined(USE_PARTITION_MANAGER) +#if USE_PARTITION_MANAGER #include #endif @@ -86,7 +86,7 @@ void nrf_cleanup_peripheral(void) nrf_cleanup_clock(); } -#if defined(USE_PARTITION_MANAGER) \ +#if USE_PARTITION_MANAGER \ && defined(CONFIG_ARM_TRUSTZONE_M) \ && defined(PM_SRAM_NONSECURE_NAME) void nrf_cleanup_ns_ram(void)