diff options
author | Abe Levkoy <alevkoy@chromium.org> | 2020-07-22 10:31:17 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-07-29 03:33:55 +0000 |
commit | 3e09f177ef5021fe36b5306122439eed42fc059a (patch) | |
tree | 5b6b980384dd771843472583ea741d956b078e9d /board/volteer/board.h | |
parent | 545e72a8540f14416c3d91bf1b5483882a10519e (diff) | |
download | chrome-ec-3e09f177ef5021fe36b5306122439eed42fc059a.tar.gz |
volteer: Disable USB PD extended messages
Remove support for sending or receiving extended messages, including
chunking. Save 3120 bytes in RO flash and 3128 bytes in RW.
BUG=b:160374787,b:158572770
TEST=make buildall
BRANCH=none
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Change-Id: Iaffb8810a4240f68f646de8fd9880742ef13bc05
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2313778
Reviewed-by: Jett Rink <jettrink@chromium.org>
Diffstat (limited to 'board/volteer/board.h')
-rw-r--r-- | board/volteer/board.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/board/volteer/board.h b/board/volteer/board.h index c5773c45c7..170dbf58c1 100644 --- a/board/volteer/board.h +++ b/board/volteer/board.h @@ -83,6 +83,9 @@ /* Enabling USB4 mode */ #define CONFIG_USB_PD_USB4 +/* Disabled PD extended message support to save flash space. */ +#undef CONFIG_USB_PD_EXTENDED_MESSAGES + /* USB Type A Features */ #define USB_PORT_COUNT 1 #define CONFIG_USB_PORT_POWER_DUMB |