Merge pull request #351 from walnutpi/main
add support for walnutpi-1b-emmc
This commit is contained in:
commit
f1754d06f0
2 changed files with 7 additions and 1 deletions
|
|
@ -730,6 +730,8 @@ class Board:
|
||||||
board = boards.ORANGE_PI_ZERO_PLUS_2H5
|
board = boards.ORANGE_PI_ZERO_PLUS_2H5
|
||||||
elif "H616" in chip_id:
|
elif "H616" in chip_id:
|
||||||
board = boards.ORANGE_PI_ZERO_2
|
board = boards.ORANGE_PI_ZERO_2
|
||||||
|
elif "walnutpi-1b-emmc" in board_value:
|
||||||
|
board = boards.WALNUT_PI_1B_EMMC
|
||||||
elif "walnutpi-1b" in board_value:
|
elif "walnutpi-1b" in board_value:
|
||||||
board = boards.WALNUT_PI_1B
|
board = boards.WALNUT_PI_1B
|
||||||
# TODO: Add other specifc board contexts here
|
# TODO: Add other specifc board contexts here
|
||||||
|
|
|
||||||
|
|
@ -40,6 +40,7 @@ ASUS_TINKER_EDGE_R = "ASUS_TINKER_EDGE_R"
|
||||||
|
|
||||||
# Walnut Pi boards
|
# Walnut Pi boards
|
||||||
WALNUT_PI_1B = "WALNUT_PI_1B"
|
WALNUT_PI_1B = "WALNUT_PI_1B"
|
||||||
|
WALNUT_PI_1B_EMMC = "WALNUT_PI_1B_EMMC"
|
||||||
|
|
||||||
# Clockwork Pi boards
|
# Clockwork Pi boards
|
||||||
CLOCKWORK_CPI3 = "CLOCKWORK_CPI3"
|
CLOCKWORK_CPI3 = "CLOCKWORK_CPI3"
|
||||||
|
|
@ -238,7 +239,10 @@ _ASUS_TINKER_BOARD_IDS = (
|
||||||
)
|
)
|
||||||
|
|
||||||
# WalnutPi
|
# WalnutPi
|
||||||
_WALNUT_PI_IDS = (WALNUT_PI_1B,)
|
_WALNUT_PI_IDS = (
|
||||||
|
WALNUT_PI_1B,
|
||||||
|
WALNUT_PI_1B_EMMC,
|
||||||
|
)
|
||||||
|
|
||||||
# STM32MP1
|
# STM32MP1
|
||||||
_STM32MP1_IDS = (
|
_STM32MP1_IDS = (
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue