summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin Lu <devin.lu@quantatw.com>2020-07-21 17:29:44 +0800
committerCommit Bot <commit-bot@chromium.org>2020-07-24 03:49:41 +0000
commitbe799459429bafd1ef9563cdcd305849c5a29d84 (patch)
tree7f52f17e6fef3bc38da0aa81d8d751d7c8318a5c
parentf7c4bd08c294d9ae3e5bd58c25b3136d314bf2f7 (diff)
downloadchrome-ec-be799459429bafd1ef9563cdcd305849c5a29d84.tar.gz
garg: add HDMI SKU ID again
BUG=b:161554087 BRANCH=octopus TEST=make buildall -j Signed-off-by: Devin Lu <Devin.Lu@quantatw.com> Change-Id: Ie3820baec4408617b7150739418bce11938c42bd Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2309869 Reviewed-by: Henry Sun <henrysun@google.com> (cherry picked from commit b58fffaf114f4bd35329d26d80b38c7cd8b714cc) Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2310223 Commit-Queue: Henry Sun <henrysun@google.com>
-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 f5fcfa64ed..aaf08312a3 100644
--- a/board/garg/board.c
+++ b/board/garg/board.c
@@ -307,7 +307,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 || sku_id == 19 || sku_id == 50)
+ if (sku_id == 9 || sku_id == 19 || sku_id == 50 || sku_id == 52)
return CONFIG_USB_PD_PORT_MAX_COUNT - 1;
return CONFIG_USB_PD_PORT_MAX_COUNT;
}