Skip to content

Commit 22b91f3

Browse files
[nrf noup] soc: nordic: nrf54h: extend clobbers list for s2ram
Prevent using link register by the `pm_s2ram_mark_check_and_clear` function. Signed-off-by: Adam Kondraciuk <[email protected]>
1 parent 90eeeeb commit 22b91f3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

soc/nordic/nrf54h/pm_s2ram.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,5 +167,5 @@ bool __attribute__((naked)) pm_s2ram_mark_check_and_clear(void)
167167
[restorevalid_offs] "r"(offsetof(NRF_RESETINFO_Type, RESTOREVALID)),
168168
[restorevalid_present_mask] "r"(RESETINFO_RESTOREVALID_RESTOREVALID_Msk)
169169

170-
: "r0", "r1", "r3", "r4", "memory");
170+
: "r0", "r1", "r3", "r4", "ip", "lr", "memory");
171171
}

0 commit comments

Comments
 (0)