Skip to content

Commit 0f0a622

Browse files
rghaddabrlubos
authored andcommitted
[nrf fromtree] flash: nrf_mram: limit Ready register check only to nrf54h series
Ready registers are defined for the nrf54h series but not necesssary for other soc families. Limit the Ready register check only to this family of socs. Signed-off-by: Riadh Ghaddab <riadh.ghaddab@nordicsemi.no> (cherry picked from commit 8736e21)
1 parent d08a935 commit 0f0a622

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/flash/soc_flash_nrf_mram.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ static int nrf_mram_erase_and_verify_word(uint32_t addr, size_t len)
177177
return -EIO;
178178
}
179179

180-
#ifdef CONFIG_MRAM_LATENCY
180+
#if defined(CONFIG_MRAM_LATENCY) && defined(CONFIG_SOC_SERIES_NRF54H)
181181
static inline bool nrf_mram_ready(uint32_t addr, uint32_t ironside_se_ver)
182182
{
183183
if (ironside_se_ver < IRONSIDE_SE_SUPPORT_READY_VER) {

0 commit comments

Comments
 (0)