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

soc: nordic: vpr: minor improvements #84513

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

masz-nordic
Copy link
Collaborator

@masz-nordic masz-nordic commented Jan 24, 2025

  • soc: riscv_privileged: support soc_reset_hook
  • soc: nordic: vpr: use SystemInit() as soc_reset_hook
  • soc: nordic: vpr: enable GP relative addressing
  • soc: nordic: vpr: fix CLOCK_CONTROL default value

Add call to `soc_reset_hook` if `CONFIG_SOC_RESET_HOOK` is enabled.

Signed-off-by: Marcin Szymczyk <[email protected]>
Similarly to ARM cores, VPRs should call `SystemInit()`
at reset.

Signed-off-by: Marcin Szymczyk <[email protected]>
`RISCV_GP` will now be used to reduce code size and speed up
execution.

Signed-off-by: Marcin Szymczyk <[email protected]>
VPR cores should not enable this option.

Signed-off-by: Marcin Szymczyk <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: RISCV RISCV Architecture (32-bit & 64-bit) platform: nRF Nordic nRFx
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants