Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cronyx committed Nov 7, 2023
1 parent 653c4e0 commit 9143123
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/hal/ingenic.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,21 +176,21 @@ static int get_cpu_id() {
if (!mem_reg(0x13540250, &subsoctypet41, OP_READ))
return -1;
switch (HIWORD(subsoctypet41)) {
case 0x33331111:
case 0x3333:
return 28;
case 0x55551111:
case 0x5555:
return 29;
case 0x88881111:
case 0x8888:
return 30;
case 0x99991111:
case 0x9999:
return 31;
case 0x11112222:
case 0x1111:
return 32;
case 0x77772222:
case 0x7777:
return 33;
case 0xAAAA2222:
case 0xAAAA:
return 34;
case 0x66662222:
case 0x6666:
return 35;
default:
return -1;
Expand Down

0 comments on commit 9143123

Please sign in to comment.