diff options
author | Abe Levkoy <alevkoy@chromium.org> | 2020-06-17 14:15:52 -0600 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-06-19 03:10:44 +0000 |
commit | e4f79a798ac9e191be18f0f821fdf8437b17e629 (patch) | |
tree | 99882fef97d92cd8496f5770941c6a3cb95fcf12 /test/usb_pe.h | |
parent | 921c3e0e6d1252ac3bbf491ac8359dba67bdcb2d (diff) | |
download | chrome-ec-e4f79a798ac9e191be18f0f821fdf8437b17e629.tar.gz |
TCPMv2: Rename discovery flags
PE_FLAGS_DISCOVER_PORT_IDENTITY_DONE has been used to indicate that
DisplayPort configuration is done for some time.
PE_FLAGS_DISCOVER_PORT_CONTINUE is now only used to resume non-discovery
VDM requests. Maybe the way they are used should change. For now, rename
them to reflect their current use; this should make subsequent changes
easier to understand.
BUG=b:155890173,b:158813138
TEST=make buildall
BRANCH=none
Change-Id: Icbb6a44412b1b901ed160da58d4fbe016348bc2b
Signed-off-by: Abe Levkoy <alevkoy@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2250921
Reviewed-by: Diana Z <dzigterman@chromium.org>
Diffstat (limited to 'test/usb_pe.h')
-rw-r--r-- | test/usb_pe.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/usb_pe.h b/test/usb_pe.h index b7311d832c..86e4f3eb10 100644 --- a/test/usb_pe.h +++ b/test/usb_pe.h @@ -65,8 +65,8 @@ #define PE_FLAGS_PS_RESET_COMPLETE BIT(13) /* VCONN swap operation has completed */ #define PE_FLAGS_VCONN_SWAP_COMPLETE BIT(14) -/* Flag to note no more discover identity messages are sent to port partner */ -#define PE_FLAGS_DISCOVER_PORT_IDENTITY_DONE BIT(15) +/* Flag to note no more setup VDMs (discovery, etc.) should be sent */ +#define PE_FLAGS_VDM_SETUP_DONE BIT(15) /* Flag to note Swap Source Start timer should be set at PE_SRC_Startup entry */ #define PE_FLAGS_RUN_SOURCE_START_TIMER BIT(16) /* Flag to note Port Discovery port partner replied with BUSY */ |