"Reset registers to enhance robustness."
PATCH 1/1 "Reset registers to enhance robustness."
Signed-off-by Pope B.Lei <[email protected]>
---
V1: If the registers are not initialized, they may remain in an x-state in certain DV verification environments due to the lack of written values, causing the x-state to propagate during the boot process. Adding register initialization enhances robustness.
firmware/fw_base.S | 2 ++ 1 file changed, 2 insertions(+)
firmware/fw_base.S +2 -0
@@ -36,6 +36,8 @@ .globl _start .globl _start_warm _start: + /* Reset registers to enhance robustness. */ + call _reset_regs /* Find preferred boot HART id */ MOV_3R s0, a0, s1, a1, s2, a2 call fw_boot_hart
Signature · 1 line
2.35.2.windows.1