Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions drivers/misc/nordic_vpr_launcher/nordic_vpr_launcher.c
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

#include <string.h>

#include <zephyr/cache.h>
#include <zephyr/devicetree.h>
#include <zephyr/init.h>
#include <zephyr/logging/log.h>
Expand Down Expand Up @@ -38,6 +39,11 @@ static int nordic_vpr_launcher_init(const struct device *dev)
LOG_DBG("Loading VPR (%p) from %p to %p (%zu bytes)", config->vpr,
(void *)config->src_addr, (void *)config->exec_addr, config->size);
memcpy((void *)config->exec_addr, (void *)config->src_addr, config->size);
#if defined(CONFIG_DCACHE)
LOG_DBG("Writing back cache with loaded VPR (from %p %zu bytes)",
(void *)config->exec_addr, config->size);
sys_cache_data_flush_range((void *)config->exec_addr, config->size);
#endif
}
#endif

Expand Down
2 changes: 1 addition & 1 deletion dts/common/nordic/nrf54h20.dtsi
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
device_type = "cpu";
clock-frequency = <DT_FREQ_M(320)>;
riscv,isa = "rv32emc";
nordic,bus-width = <64>;
nordic,bus-width = <32>;

cpuflpr_vevif_rx: mailbox {
compatible = "nordic,nrf-vevif-task-rx";
Expand Down
Loading