Add OrangePI R1 detetion
This commit is contained in:
parent
e77bf9dd99
commit
2054c4cca9
1 changed files with 1 additions and 7 deletions
|
|
@ -335,16 +335,10 @@ class Board:
|
|||
board_value = self.detector.get_armbian_release_field('BOARD')
|
||||
if board_value == "orangepipc":
|
||||
return ORANGE_PI_PC
|
||||
return None
|
||||
|
||||
def _armbian_id(self):
|
||||
"""Check whether the current board is an OrangePi R1."""
|
||||
board_value = self.detector.get_armbian_release_field('BOARD')
|
||||
if board_value == "orangepi-r1":
|
||||
if board_value == "orangepi-r1":
|
||||
return ORANGE_PI_R1
|
||||
return None
|
||||
|
||||
|
||||
def _sama5_id(self):
|
||||
"""Check what type sama5 board."""
|
||||
board_value = self.detector.get_device_model()
|
||||
|
|
|
|||
Loading…
Reference in a new issue