Browse Source

Merge pull request #142 from lurenjia1213/main

fix(prototyper) add `"starfive,jh7110-clint", "sifive,clint0"` to `SIFIVE_CLINT_COMPATIBLE`
guttatus 2 days ago
parent
commit
9aae9ce9e9
1 changed files with 2 additions and 1 deletions
  1. 2 1
      prototyper/prototyper/src/platform/clint.rs

+ 2 - 1
prototyper/prototyper/src/platform/clint.rs

@@ -3,7 +3,8 @@ use core::arch::asm;
 use xuantie_riscv::peripheral::clint::THeadClint;
 
 use crate::sbi::ipi::IpiDevice;
-pub(crate) const SIFIVE_CLINT_COMPATIBLE: [&str; 1] = ["riscv,clint0"];
+pub(crate) const SIFIVE_CLINT_COMPATIBLE: [&str; 3] =
+    ["riscv,clint0", "starfive,jh7110-clint", "sifive,clint0"];
 pub(crate) const THEAD_CLINT_COMPATIBLE: [&str; 1] = ["thead,c900-clint"];
 
 #[doc(hidden)]