File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 71
71
BINHO_NOVA = "BINHO_NOVA"
72
72
73
73
ONION_OMEGA = "ONION_OMEGA"
74
- ONION_OMEGA2 = "ONION_OMEGA2"
74
+ ONION_OMEGA2 = "ONION_OMEGA2"
75
75
76
76
# pylint: enable=bad-whitespace
77
77
@@ -354,6 +354,8 @@ def id(self):
354
354
board_id = BINHO_NOVA
355
355
elif chip_id == ap_chip .MIPS24KC :
356
356
board_id = ONION_OMEGA
357
+ elif chip_id == ap_chip .MIPS24KEC :
358
+ board_id = ONION_OMEGA2
357
359
return board_id
358
360
# pylint: enable=invalid-name
359
361
Original file line number Diff line number Diff line change 23
23
MCP2221 = "MCP2221"
24
24
BINHO = "BINHO"
25
25
MIPS24KC = "MIPS24KC"
26
+ MIPS24KEC = "MIPS24KEC"
26
27
27
28
class Chip :
28
29
"""Attempt detection of current chip / CPU."""
@@ -108,6 +109,8 @@ def _linux_id(self): # pylint: disable=too-many-branches
108
109
109
110
if "MIPS 24Kc" in cpu_model :
110
111
linux_id = MIPS24KC
112
+ elif "MIPS 24KEc" in cpu_model :
113
+ linux_id = MIPS24KEC
111
114
112
115
elif hardware in ("BCM2708" , "BCM2709" , "BCM2835" ):
113
116
linux_id = BCM2XXX
You can’t perform that action at this time.
0 commit comments