diff options
author | Mary Ruthven <mruthven@chromium.org> | 2020-11-03 07:19:51 +1100 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-11-18 22:17:45 +0000 |
commit | fbd3cde431cf229c26f507298ea2f70e5d47de53 (patch) | |
tree | a1ab2c730bb3d69a38cb84eca85f1adc81f9f24b | |
parent | bd699e2e1b19c7010e668b1f665f66b538076ec2 (diff) | |
download | chrome-ec-fbd3cde431cf229c26f507298ea2f70e5d47de53.tar.gz |
dbg/red_board: add USB_SELECT_PHY
Add USB_SELECT_PHY to the red board and dbg images, so it's easier to
update cr50 over usb with the new red board.
BUG=none
TEST=flash on red board, select phy, and turn on usb with command_usb.
Change-Id: I3bb5296197d8be910eaed47acd677291d5b30223
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2546999
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
-rw-r--r-- | board/cr50/board.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/board/cr50/board.h b/board/cr50/board.h index 5ebbd72a99..e71ab07e83 100644 --- a/board/cr50/board.h +++ b/board/cr50/board.h @@ -38,6 +38,10 @@ #undef CONFIG_FLASH #endif +#if defined(H1_RED_BOARD) || defined(CR50_DEV) +#define CONFIG_USB_SELECT_PHY +#endif + /* Enable getting gpio flags to tell if open drain pins are asserted */ #define CONFIG_GPIO_GET_EXTENDED |