@@ -68,7 +68,7 @@ void nrf_poweroff(void)
6868 nrf_resetinfo_resetreas_local_set (NRF_RESETINFO , 0 );
6969 nrf_resetinfo_restore_valid_set (NRF_RESETINFO , false);
7070
71- #if !defined(NRF_RADIOCORE )
71+ #if !defined(CONFIG_SOC_NRF54H20_CPURAD )
7272 /* Disable retention */
7373 nrf_lrcconf_retain_set (NRF_LRCCONF010 , NRF_LRCCONF_POWER_MAIN , false);
7474 nrf_lrcconf_retain_set (NRF_LRCCONF010 , NRF_LRCCONF_POWER_DOMAIN_0 , false);
@@ -98,7 +98,7 @@ static void s2idle_enter(uint8_t substate_id)
9898 case 1 : /* Substate for idle with cache retained - not implemented yet. */
9999 break ;
100100 case 2 : /* Substate for idle with cache disabled. */
101- #if !defined(NRF_RADIOCORE )
101+ #if !defined(CONFIG_SOC_NRF54H20_CPURAD )
102102 soc_lrcconf_poweron_request (node , NRF_LRCCONF_POWER_MAIN );
103103#endif
104104 common_suspend ();
@@ -127,7 +127,7 @@ static void s2idle_exit(uint8_t substate_id)
127127 break ;
128128 case 2 : /* Substate for idle with cache disabled. */
129129 common_resume ();
130- #if !defined(NRF_RADIOCORE )
130+ #if !defined(CONFIG_SOC_NRF54H20_CPURAD )
131131 soc_lrcconf_poweron_release (node , NRF_LRCCONF_POWER_MAIN );
132132#endif
133133 default : /* Unknown substate. */
@@ -140,7 +140,7 @@ static void s2idle_exit(uint8_t substate_id)
140140static void s2ram_exit (void )
141141{
142142 common_resume ();
143- #if !defined(NRF_RADIOCORE )
143+ #if !defined(CONFIG_SOC_NRF54H20_CPURAD )
144144 /* Re-enable domain retention. */
145145 nrf_lrcconf_retain_set (NRF_LRCCONF010 , NRF_LRCCONF_POWER_DOMAIN_0 , true);
146146#endif
@@ -156,7 +156,7 @@ static int sys_suspend_to_ram(void)
156156 NRF_RESETINFO_RESETREAS_LOCAL_UNRETAINED_MASK );
157157 nrf_resetinfo_restore_valid_set (NRF_RESETINFO , true);
158158
159- #if !defined(NRF_RADIOCORE )
159+ #if !defined(CONFIG_SOC_NRF54H20_CPURAD )
160160 /* Disable retention */
161161 nrf_lrcconf_retain_set (NRF_LRCCONF010 , NRF_LRCCONF_POWER_DOMAIN_0 , false);
162162#endif
0 commit comments