drivers: nordic: Align VPR launcher for nRF54L15 FLPR core
Add nRF54L15 FLPR support for nordic_vpr_launcher. Signed-off-by: Jakub Zymelka <jakub.zymelka@nordicsemi.no>
This commit is contained in:
parent
aa1690f8c6
commit
65f743619d
|
@ -14,6 +14,9 @@
|
|||
#include <zephyr/toolchain.h>
|
||||
|
||||
#include <hal/nrf_vpr.h>
|
||||
#if defined(CONFIG_SOC_NRF54L15_ENGA_CPUAPP) && !defined(CONFIG_TRUSTED_EXECUTION_NONSECURE)
|
||||
#include <hal/nrf_spu.h>
|
||||
#endif
|
||||
|
||||
LOG_MODULE_REGISTER(nordic_vpr_launcher, CONFIG_NORDIC_VPR_LAUNCHER_LOG_LEVEL);
|
||||
|
||||
|
@ -38,6 +41,10 @@ static int nordic_vpr_launcher_init(const struct device *dev)
|
|||
}
|
||||
#endif
|
||||
|
||||
#if defined(CONFIG_SOC_NRF54L15_ENGA_CPUAPP) && !defined(CONFIG_TRUSTED_EXECUTION_NONSECURE)
|
||||
nrf_spu_periph_perm_secattr_set(NRF_SPU00, nrf_address_slave_get((uint32_t)config->vpr),
|
||||
true);
|
||||
#endif
|
||||
LOG_DBG("Launching VPR (%p) from %p", config->vpr, (void *)config->exec_addr);
|
||||
nrf_vpr_initpc_set(config->vpr, config->exec_addr);
|
||||
nrf_vpr_cpurun_set(config->vpr, true);
|
||||
|
|
Loading…
Reference in a new issue