Browse Source

ODROID-M1: Remove RK3568B2 and Use RK3568 instead

Signed-off-by: Steve Jeong <steve@how2flow.net>
pull/331/head
Steve Jeong 1 year ago
parent
commit
028137fe74
3 changed files with 2 additions and 6 deletions
  1. +2
    -2
      adafruit_platformdetect/board.py
  2. +0
    -3
      adafruit_platformdetect/chip.py
  3. +0
    -1
      adafruit_platformdetect/constants/chips.py

+ 2
- 2
adafruit_platformdetect/board.py View File

@ -99,8 +99,6 @@ class Board:
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:
@ -577,6 +575,8 @@ class Board:
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]:


+ 0
- 3
adafruit_platformdetect/chip.py View File

@ -245,9 +245,6 @@ class Chip:
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


+ 0
- 1
adafruit_platformdetect/constants/chips.py View File

@ -61,7 +61,6 @@ LPC4330 = "LPC4330"
RK3288 = "RK3288"
RK3566 = "RK3566"
RK3568 = "RK3568"
RK3568B2 = "RK3568B2"
RK3588 = "RK3588"
PENTIUM_N3710 = "PENTIUM_N3710" # SOC Braswell core
CELERON_N5105 = "CELERON_N5105"


|||||||
x
 
000:0
Loading…
Cancel
Save