Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ODROID-M1: Remove RK3568B2 and Use RK3568 instead #331

Merged
merged 1 commit into from
Dec 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions adafruit_platformdetect/board.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,6 @@ def id(self) -> Optional[str]:
board_id = boards.RASPBERRY_PI_PICO
elif chip_id == chips.S805:
board_id = boards.ODROID_C1
elif chip_id == chips.RK3568B2:
board_id = boards.ODROID_M1
elif chip_id == chips.S905:
board_id = boards.ODROID_C2
elif chip_id == chips.S905X3:
Expand Down Expand Up @@ -577,6 +575,8 @@ def _rk3568_id(self) -> Optional[str]:
board = boards.LUBANCAT2
if board_value and "ROCK3 Model A" in board_value:
board = boards.ROCK_PI_3A
if board_value and "Hardkernel ODROID-M1" in board_value:
board = boards.ODROID_M1
return board

def _rk3588_id(self) -> Optional[str]:
Expand Down
3 changes: 0 additions & 3 deletions adafruit_platformdetect/chip.py
Original file line number Diff line number Diff line change
Expand Up @@ -245,9 +245,6 @@ def _linux_id(self) -> Optional[str]:
if self.detector.check_dt_compatible_value("rockchip,rk3568"):
return chips.RK3568

if self.detector.check_dt_compatible_value("rockchip,rk3568b2"):
return chips.RK3568B2

if self.detector.check_dt_compatible_value("rockchip,rk3588"):
return chips.RK3588

Expand Down
1 change: 0 additions & 1 deletion adafruit_platformdetect/constants/chips.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@
RK3288 = "RK3288"
RK3566 = "RK3566"
RK3568 = "RK3568"
RK3568B2 = "RK3568B2"
RK3588 = "RK3588"
PENTIUM_N3710 = "PENTIUM_N3710" # SOC Braswell core
CELERON_N5105 = "CELERON_N5105"
Expand Down
Loading