File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -421,7 +421,7 @@ def _imx8mx_id(self) -> Optional[str]:
421
421
if "Phanbell" in board_value :
422
422
return boards .CORAL_EDGE_TPU_DEV
423
423
return None
424
-
424
+
425
425
def _imx8mp_id (self ) -> Optional [str ]:
426
426
"""Check what type iMX8M board."""
427
427
board_value = self .detector .get_device_model ()
Original file line number Diff line number Diff line change @@ -269,6 +269,9 @@ def _linux_id(self) -> Optional[str]:
269
269
if self .detector .check_dt_compatible_value ("sun20i-d1" ):
270
270
return chips .D1_RISCV
271
271
272
+ if self .detector .check_dt_compatible_value ("imx8mp" ):
273
+ return chips .IMX8MP
274
+
272
275
if self .detector .check_dt_compatible_value ("libretech,aml-s905x-cc" ):
273
276
return chips .S905X
274
277
@@ -311,11 +314,7 @@ def _linux_id(self) -> Optional[str]:
311
314
elif "nvidia,tegra234" in compats :
312
315
linux_id = chips .T234
313
316
if compatible and "imx8m" in compatible :
314
- compats = compatible .split ("\x00 " )
315
- if "imx8mp" in compats :
316
- linux_id = chips .IMX8MP
317
- else :
318
- linux_id = chips .IMX8MX
317
+ linux_id = chips .IMX8MX
319
318
if compatible and "odroid-c2" in compatible :
320
319
linux_id = chips .S905
321
320
if compatible and "amlogic" in compatible :
You can’t perform that action at this time.
0 commit comments