Skip to content

Commit 47efdb5

Browse files
authored
Merge pull request #331 from how2flow/odroid
ODROID-M1: Remove RK3568B2 and Use RK3568 instead
2 parents cf5f419 + 028137f commit 47efdb5

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

adafruit_platformdetect/board.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,6 @@ def id(self) -> Optional[str]:
9999
board_id = boards.RASPBERRY_PI_PICO
100100
elif chip_id == chips.S805:
101101
board_id = boards.ODROID_C1
102-
elif chip_id == chips.RK3568B2:
103-
board_id = boards.ODROID_M1
104102
elif chip_id == chips.S905:
105103
board_id = boards.ODROID_C2
106104
elif chip_id == chips.S905X3:
@@ -577,6 +575,8 @@ def _rk3568_id(self) -> Optional[str]:
577575
board = boards.LUBANCAT2
578576
if board_value and "ROCK3 Model A" in board_value:
579577
board = boards.ROCK_PI_3A
578+
if board_value and "Hardkernel ODROID-M1" in board_value:
579+
board = boards.ODROID_M1
580580
return board
581581

582582
def _rk3588_id(self) -> Optional[str]:

adafruit_platformdetect/chip.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -245,9 +245,6 @@ def _linux_id(self) -> Optional[str]:
245245
if self.detector.check_dt_compatible_value("rockchip,rk3568"):
246246
return chips.RK3568
247247

248-
if self.detector.check_dt_compatible_value("rockchip,rk3568b2"):
249-
return chips.RK3568B2
250-
251248
if self.detector.check_dt_compatible_value("rockchip,rk3588"):
252249
return chips.RK3588
253250

adafruit_platformdetect/constants/chips.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@
6161
RK3288 = "RK3288"
6262
RK3566 = "RK3566"
6363
RK3568 = "RK3568"
64-
RK3568B2 = "RK3568B2"
6564
RK3588 = "RK3588"
6665
PENTIUM_N3710 = "PENTIUM_N3710" # SOC Braswell core
6766
CELERON_N5105 = "CELERON_N5105"

0 commit comments

Comments
 (0)