|
58 | 58 | ODROID_C2 = "ODROID_C2"
|
59 | 59 |
|
60 | 60 | FTDI_FT232H = "FT232H"
|
61 |
| -LINARO_96BOARDS = "LINARO_96BOARDS" |
| 61 | +DRAGONBOARD_410C = "DRAGONBOARD_410C" |
62 | 62 | # pylint: enable=bad-whitespace
|
63 | 63 |
|
64 | 64 | #OrangePI
|
|
113 | 113 | OSD3358_SM_RED,
|
114 | 114 | )
|
115 | 115 |
|
| 116 | +_LINARO_96BOARDS_IDS = ( |
| 117 | + DRAGONBOARD_410C, |
| 118 | +) |
| 119 | + |
116 | 120 | # BeagleBone eeprom board ids from:
|
117 | 121 | # https://github.com/beagleboard/image-builder
|
118 | 122 | # Thanks to zmatt on freenode #beagle for pointers.
|
@@ -291,7 +295,7 @@ def id(self):
|
291 | 295 | elif chip_id == ap_chip.FT232H:
|
292 | 296 | board_id = FTDI_FT232H
|
293 | 297 | elif chip_id == ap_chip.APQ8016:
|
294 |
| - board_id = LINARO_96BOARDS |
| 298 | + board_id = DRAGONBOARD_410C |
295 | 299 | elif chip_id in (ap_chip.T210, ap_chip.T186, ap_chip.T194):
|
296 | 300 | board_id = self._tegra_id()
|
297 | 301 | return board_id
|
@@ -378,12 +382,8 @@ def _tegra_id(self):
|
378 | 382 |
|
379 | 383 | @property
|
380 | 384 | def any_96boards(self):
|
381 |
| - """Check if the current board is any 96Boards-family board.""" |
382 |
| - return ( |
383 |
| - self.detector.check_dt_compatible_value("qcom,apq8016-sbc") |
384 |
| - or self.detector.check_dt_compatible_value("hisilicon,hi3660-hikey960") |
385 |
| - or self.detector.check_dt_compatible_value("hisilicon,hi6220-hikey") |
386 |
| - ) |
| 385 | + """Check whether the current board is any 96boards board.""" |
| 386 | + return self.id in _LINARO_96BOARDS_IDS |
387 | 387 |
|
388 | 388 | @property
|
389 | 389 | def any_raspberry_pi(self):
|
|
0 commit comments