summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorDevin Lu <devin.lu@quantatw.com>2020-04-27 11:20:30 +0800
committerCommit Bot <commit-bot@chromium.org>2020-04-27 09:22:12 +0000
commit06d6c8cd58de175f8061906182b3e2a79728b9ef (patch)
tree397d30b6c4caf338ee6027da7a49ee3e5db66271 /board
parent3c7b097b6fb17520d8a754cb1455d8e3fb0dea1d (diff)
downloadchrome-ec-06d6c8cd58de175f8061906182b3e2a79728b9ef.tar.gz
garg: add HDMI SKU ID
BUG=b:146260545, b:152861752 BRANCH=octopus TEST=make buildall -j Change-Id: I824dc180f30b5e978342fea47a438e0dfa80e7cf Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2167119 Reviewed-by: Henry Sun <henrysun@google.com> Commit-Queue: Henry Sun <henrysun@google.com> Tested-by: Henry Sun <henrysun@google.com>
Diffstat (limited to 'board')
-rw-r--r--board/garg/board.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/board/garg/board.c b/board/garg/board.c
index 7337ce0137..bc4dc9e226 100644
--- a/board/garg/board.c
+++ b/board/garg/board.c
@@ -299,7 +299,7 @@ void board_overcurrent_event(int port, int is_overcurrented)
uint8_t board_get_usb_pd_port_count(void)
{
/* HDMI SKU has one USB PD port */
- if (sku_id == 9)
+ if (sku_id == 9 || sku_id == 19 || sku_id == 50)
return CONFIG_USB_PD_PORT_MAX_COUNT - 1;
return CONFIG_USB_PD_PORT_MAX_COUNT;
}