Skip to content

Commit f0f7138

Browse files
committed
Add ingenic t23
1 parent 93117c6 commit f0f7138

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

src/hal/ingenic.c

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,16 @@ static int get_cpu_id() {
113113
return -1;
114114
}
115115
return 11;
116+
case 0x23:
117+
chip_generation = 0x23;
118+
switch (HIWORD(subsoctype)) {
119+
case 0x1111:
120+
return 36;
121+
case 0x2222:
122+
return 37;
123+
default:
124+
return -1;
125+
}
116126
case 0x31:
117127
chip_generation = 0x31;
118128
if ((uint8_t)cppsr == 1) {
@@ -275,6 +285,10 @@ static const char *ingenic_cpu_name() {
275285
return "T41NQ";
276286
case 35:
277287
return "T41X";
288+
case 36:
289+
return "T23N";
290+
case 37:
291+
return "T23X";
278292
}
279293
return "unknown";
280294
}

0 commit comments

Comments
 (0)