diff --git a/samples/bluetooth/peripheral_power_profiling/src/main.c b/samples/bluetooth/peripheral_power_profiling/src/main.c index 879f286fc138..7fc66c25b157 100644 --- a/samples/bluetooth/peripheral_power_profiling/src/main.c +++ b/samples/bluetooth/peripheral_power_profiling/src/main.c @@ -27,9 +27,6 @@ #include #include -#ifdef CONFIG_SOC_NRF54L15_CPUAPP -#include -#endif #include "pwr_service.h" @@ -682,14 +679,6 @@ static void system_off(void) } } -#ifdef CONFIG_SOC_NRF54L15_CPUAPP - /* Disable RAM retention in System OFF as it is not utilized by this sample. */ - uint32_t ram_sections = 8; - - nrf_memconf_ramblock_ret_mask_enable_set(NRF_MEMCONF, 0, BIT_MASK(ram_sections), false); - nrf_memconf_ramblock_ret2_mask_enable_set(NRF_MEMCONF, 0, BIT_MASK(ram_sections), false); -#endif - sys_poweroff(); #endif /* !IS_ENABLED(CONFIG_SOC_SERIES_NRF54HX) */ } diff --git a/samples/nfc/system_off/src/main.c b/samples/nfc/system_off/src/main.c index 46202c340f5d..be3619c36900 100644 --- a/samples/nfc/system_off/src/main.c +++ b/samples/nfc/system_off/src/main.c @@ -20,9 +20,6 @@ #include #include -#ifdef CONFIG_SOC_NRF54L15_CPUAPP -#include -#endif #define SYSTEM_OFF_DELAY_S 3 @@ -150,14 +147,6 @@ static void system_off(struct k_work *work) } } -#ifdef CONFIG_SOC_NRF54L15_CPUAPP - /* Disable RAM retention in System OFF as it is not utilized by this sample. */ - uint32_t ram_sections = 8; - - nrf_memconf_ramblock_ret_mask_enable_set(NRF_MEMCONF, 0, BIT_MASK(ram_sections), false); - nrf_memconf_ramblock_ret2_mask_enable_set(NRF_MEMCONF, 0, BIT_MASK(ram_sections), false); -#endif - sys_poweroff(); }