Implement get_riscv_cpuinfo. Needs testing and further documentation

This commit is contained in:
Dr-Noob
2024-10-02 08:43:18 +01:00
parent 5194976739
commit 2272423163
8 changed files with 110 additions and 15 deletions

View File

@@ -40,7 +40,7 @@ bool match_sipeed(char* soc_name, struct system_on_chip* soc) {
bool match_spacemit(char* soc_name, struct system_on_chip* soc) {
SOC_START
SOC_EQ(soc_name, "k1-x", "X60", SOC_SPACEMIT_X60, soc, 22) // https://github.com/Dr-Noob/cpufetch/issues/286 https://www.spacemit.com/en/spacemit-x60-core/
SOC_EQ(soc_name, "k1-x", "K1", SOC_SPACEMIT_K1, soc, 22) // https://github.com/Dr-Noob/cpufetch/issues/286 https://www.spacemit.com/en/spacemit-x60-core/
SOC_END
}