diff options
author | Namyoon Woo <namyoon@chromium.org> | 2020-12-07 11:35:34 -0800 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-12-07 20:54:22 +0000 |
commit | a75a2f19db500bcd1ede45e49db3a422e4ed768f (patch) | |
tree | 59b8acb3fd9b4fc546138f5b2fed606e8f5300a5 | |
parent | 29466270f4383e88868ece72ab5a556f23531ea4 (diff) | |
download | chrome-ec-a75a2f19db500bcd1ede45e49db3a422e4ed768f.tar.gz |
cr50: fix the comment on DIOB3 (EC_PACKET_MODE)stabilize-13654.B-cr50_stab
DIOB3 (EC_PACKET_MODE) is used to indicate the start or the end of
EC PACKET mode, but not as a UART TX.
This patch corrects the incorrect comment regarding that.
BUG=none
TEST=none
Signed-off-by: Namyoon Woo <namyoon@chromium.org>
Change-Id: Ic13d34910005c8bc79a3f00e8d32113f267d6752
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2575291
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Commit-Queue: Mary Ruthven <mruthven@chromium.org>
-rw-r--r-- | common/ec_comm.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/ec_comm.c b/common/ec_comm.c index f597b3b496..ca41649d97 100644 --- a/common/ec_comm.c +++ b/common/ec_comm.c @@ -120,7 +120,7 @@ static uint16_t decode_packet_(const struct cr50_comm_packet *ph, int bytes) } /* - * Transfer a 'response' to 'uart' port using DIOB3 pin. + * Transfer a 'response' to 'uart' port. * * @param response Response code to return to EC. Should be one of * CR50_COMM_RESPONSE codes in include/vboot.h. @@ -134,7 +134,7 @@ static void transfer_response_to_ec_(uint16_t response) uartn_write_char(uart, ptr_resp[0]); uartn_write_char(uart, ptr_resp[1]); - uartn_tx_flush(uart); /* Flush from UART2_TX to DIOB3 */ + uartn_tx_flush(uart); ec_comm_ctx.last_resp = response; } |