Browse Source

soc: arm: nordic_nrf: align soc_secure.h to nRF54L

In nRF54L15 FICR can be accessed also from non-secure code,
so it does not have NRF_FICR_S defined.

Signed-off-by: Magdalena Pastula <magdalena.pastula@nordicsemi.no>
pull/68315/head
Magdalena Pastula 1 year ago committed by Fabio Baltieri
parent
commit
e4aebf9cea
  1. 2
      soc/arm/nordic_nrf/common/soc_secure.h

2
soc/arm/nordic_nrf/common/soc_secure.h

@ -59,7 +59,7 @@ static inline void soc_secure_gpio_pin_mcu_select(uint32_t pin_number, @@ -59,7 +59,7 @@ static inline void soc_secure_gpio_pin_mcu_select(uint32_t pin_number,
#if defined(CONFIG_SOC_HFXO_CAP_INTERNAL)
static inline uint32_t soc_secure_read_xosc32mtrim(void)
{
return NRF_FICR_S->XOSC32MTRIM;
return NRF_FICR->XOSC32MTRIM;
}
#endif /* defined(CONFIG_SOC_HFXO_CAP_INTERNAL) */

Loading…
Cancel
Save