VisionFive2 OpenSBI

StarFive Tech OpenSBI for VisionFive (JH7110) boards (mirror)

1266 Commits   10 Branches   49 Tags
author: David Abdurachmanov <david.abdurachmanov@gmail.com> 2021-05-20 12:47:45 +0300 committer: Tekkaman Ninja <tekkamanninja@163.com> 2021-06-18 01:36:08 +0800 commit: 2acaad3729d20761480cd1f355f75fc1e5c18c8b parent: 79f9b4220ffa7f74356054be25d450d7958bf16c
Commit Summary:
Clear 0x7c1 CSR
Diffstat:
1 file changed, 1 insertion, 0 deletions
diff --git a/firmware/fw_base.S b/firmware/fw_base.S
index a5ce946..db7cc06 100644
--- a/firmware/fw_base.S
+++ b/firmware/fw_base.S
@@ -47,6 +47,7 @@
 	.globl _start
 	.globl _start_warm
 _start:
+	csrwi	0x7c1, 0
 	/* Find preferred boot HART id */
 	MOV_3R	s0, a0, s1, a1, s2, a2
 	call	fw_boot_hart