File tree Expand file tree Collapse file tree 1 file changed +1
-12
lines changed
drivers/firmware/nrf_ironside Expand file tree Collapse file tree 1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change 10
10
11
11
static enum ironside_dvfs_oppoint current_dvfs_oppoint = IRONSIDE_DVFS_OPP_HIGH ;
12
12
13
- #if defined(CONFIG_SOC_SERIES_NRF54HX )
14
- #define ABB_STATUSANA_LOCKED_L_Pos (0UL)
15
- #define ABB_STATUSANA_LOCKED_L_Msk (0x1UL << ABB_STATUSANA_LOCKED_L_Pos)
16
- #define ABB_STATUSANA_REG_OFFSET (0x102UL)
17
- #else
18
- #error "Unsupported SoC series for IRONside DVFS"
19
- #endif
20
-
21
13
struct dvfs_hsfll_data_t {
22
14
uint32_t new_f_mult ;
23
15
uint32_t new_f_trim_entry ;
@@ -126,10 +118,7 @@ static void ironside_dvfs_change_oppoint_complete(enum ironside_dvfs_oppoint dvf
126
118
static inline bool ironside_dvfs_is_abb_locked (NRF_ABB_Type * abb )
127
119
{
128
120
/* Check if ABB analog part is locked. */
129
- /* Temporary workaround until STATUSANA register is visible. */
130
- volatile const uint32_t * statusana = (uint32_t * )abb + ABB_STATUSANA_REG_OFFSET ;
131
-
132
- return ((* statusana & ABB_STATUSANA_LOCKED_L_Msk ) != 0 );
121
+ return ((abb -> STATUSANA & ABB_STATUSANA_LOCKED_Msk ) != 0 );
133
122
}
134
123
135
124
/**
You can’t perform that action at this time.
0 commit comments