Skip to content

Commit

Permalink
Sigmastar: add infinity6f
Browse files Browse the repository at this point in the history
  • Loading branch information
viktorxda committed May 15, 2024
1 parent 9f76227 commit 141a392
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
7 changes: 5 additions & 2 deletions src/hal/sstar.c
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,10 @@ bool sstar_detect_cpu(char *chip_name) {
case INFINITY6:
strcpy(chip_name, "SSC32X");
break;
case INFINITY6E:
case INFINITY6B:
strcpy(chip_name, "SSC33X");
break;
case INFINITY6B:
case INFINITY6E:
strcpy(chip_name, "SSC33X");
break;
case MERCURY6:
Expand All @@ -74,6 +74,9 @@ bool sstar_detect_cpu(char *chip_name) {
case INFINITY6C:
strcpy(chip_name, "SSC37X");
break;
case INFINITY6F:
strcpy(chip_name, "SSC37X");
break;
}
return true;
}
Expand Down
3 changes: 2 additions & 1 deletion src/hal/sstar.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define MSTAR_ADDR 0x1F2025A4
#define SSTAR_ADDR 0x1F003C00

#define INFINITY3 0xC2 // Twinkie
#define INFINITY3 0xC2 // Infinity3
#define INFINITY5 0xED // Pretzel
#define MERCURY5 0xEE // Mercury5
#define INFINITY6 0xEF // Macaron
Expand All @@ -21,6 +21,7 @@
#define MERCURY6 0xF4 // Tiramisu
#define PIONEER3 0xF5 // Ikayaki
#define INFINITY6C 0xF9 // Maruko
#define INFINITY6F 0xFB // Souffle

bool mstar_detect_cpu(char *chip_name);
bool sstar_detect_cpu(char *chip_name);
Expand Down

0 comments on commit 141a392

Please sign in to comment.