Skip to content

Commit

Permalink
Merge pull request #109 from cronyx/add_t40nn
Browse files Browse the repository at this point in the history
T40NN detection
  • Loading branch information
cronyx authored Jan 20, 2024
2 parents c446cb4 + 0c5cdf4 commit fd55729
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions src/hal/ingenic.c
Original file line number Diff line number Diff line change
Expand Up @@ -164,10 +164,12 @@ static int get_cpu_id() {
switch (HIWORD(subsoctypet40)) {
case 0x1111:
return 24;
case 0x7777:
case 0x8888:
return 25;
case 0x4444:
case 0x7777:
return 26;
case 0x4444:
return 27;
default:
return -1;
}
Expand Down Expand Up @@ -252,11 +254,11 @@ static const char *ingenic_cpu_name() {
case 24:
return "T40N";
case 25:
return "T40XP";
return "T40NN";
case 26:
return "T40A";
return "T40XP";
case 27:
return "T41A";
return "T40A";
case 28:
return "T41L";
case 29:
Expand Down

0 comments on commit fd55729

Please sign in to comment.