mirror of
https://github.com/Telecominfraproject/OpenCellular.git
synced 2026-01-08 16:41:55 +00:00
oak: Add oak EC and PD flash_ec support
flash_ec script supports stm32 ec and usbpd. This change adds new board name and MCU map. BUG=none TEST=manual flash_ec --board oak --image ec.bin flash_ec --board oak_pd --image pd.bin Change-Id: I51a4a22b5188dda35d7b8c34a0115997f374f413 Reviewed-on: https://chromium-review.googlesource.com/267042 Reviewed-by: Alec Berg <alecaberg@chromium.org> Tested-by: Rong Chang <rongchang@chromium.org> Commit-Queue: Rong Chang <rongchang@chromium.org>
This commit is contained in:
committed by
ChromeOS Commit Bot
parent
1cdb90878f
commit
91b9c336ee
@@ -71,6 +71,8 @@ BOARDS_STM32=(
|
||||
mighty
|
||||
minimuffin
|
||||
nyan
|
||||
oak
|
||||
oak_pd
|
||||
pinky
|
||||
pit
|
||||
plankton
|
||||
@@ -273,7 +275,7 @@ function ec_uart() {
|
||||
# Servo variables management
|
||||
case "${BOARD}" in
|
||||
ryu_sh ) MCU="sh" ;;
|
||||
samus_pd ) MCU="usbpd" ;;
|
||||
samus_pd|oak_pd ) MCU="usbpd" ;;
|
||||
dingdong|hoho|twinkie ) DUT_CONTROL_CMD="true" ; MCU="ec" ;;
|
||||
*) MCU="ec" ;;
|
||||
esac
|
||||
|
||||
Reference in New Issue
Block a user