Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport v3.7.99-ncs3-branch] nrf54h20 flpr fixes #2438

Open
wants to merge 2 commits into
base: v3.7.99-ncs3-branch
Choose a base branch
from
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