Skip to content
Closed
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
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
7 changes: 1 addition & 6 deletions soc/nordic/common/vpr/soc_context.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,9 @@

#define SOC_ESF_MEMBERS \
unsigned long minttresh; \
unsigned long sp_align; \
unsigned long padding0; \
unsigned long padding1; \
unsigned long padding2
unsigned long sp_align;

Check notice on line 11 in soc/nordic/common/vpr/soc_context.h

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

You may want to run clang-format on this change

soc/nordic/common/vpr/soc_context.h:11 -#define SOC_ESF_MEMBERS \ - unsigned long minttresh; \ +#define SOC_ESF_MEMBERS \ + unsigned long minttresh; \

#define SOC_ESF_INIT \
0, \
0, \
0, \
0

Expand Down
4 changes: 1 addition & 3 deletions soc/nordic/common/vpr/soc_isr_stacking.h
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
struct arch_esf { \
unsigned long s0; \
unsigned long mstatus; \
unsigned long tp; \
struct soc_esf soc_context; \
\
unsigned long t2; \
Expand All @@ -43,7 +42,6 @@
struct arch_esf { \
unsigned long s0; \
unsigned long mstatus; \
unsigned long tp; \
struct soc_esf soc_context; \
\
unsigned long ra; \
Expand Down Expand Up @@ -79,8 +77,8 @@
* Size of the SW managed part of the ESF in case of interrupt
* sizeof(__padding) + ... + sizeof(soc_context)
*/
#define ESF_SW_IRQ_SIZEOF (0x20)
#define ESF_SW_IRQ_SIZEOF (0x10)

Check notice on line 81 in soc/nordic/common/vpr/soc_isr_stacking.h

View workflow job for this annotation

GitHub Actions / Run compliance checks on patch series (PR)

You may want to run clang-format on this change

soc/nordic/common/vpr/soc_isr_stacking.h:81 -#define ESF_SW_IRQ_SIZEOF (0x10) +#define ESF_SW_IRQ_SIZEOF (0x10)
/*
* VPR needs aligned(8) SP when doing HW stacking, if this condition is not fulfilled it will move
* SP by additional 4 bytes when HW stacking is done. This will be indicated by LSB bit in stacked
Expand Down
Loading