diff options
author | Mary Ruthven <mruthven@chromium.org> | 2020-06-03 04:43:30 +1000 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2020-06-02 23:47:02 +0000 |
commit | 88d0ae075d1e24338e7f5fca9dd3767ec5bd4023 (patch) | |
tree | 1c4c3b361721a03b8966e9bc28b0711ff9380b06 /common/ec_comm.c | |
parent | 5ae7720ca6599c89ad54614b36af5269340fe2fd (diff) | |
download | chrome-ec-88d0ae075d1e24338e7f5fca9dd3767ec5bd4023.tar.gz |
remove CR50_SQA
SQA images won't be built anymore. This change removes the SQA support.
It deletes all SQA ifdefs and replaces CR50_RELAXED with CR50_DEV.
BUG=b:158011401
TEST=manual
build regular image and check eraselfashinfo and rollback aren't
included.
build image with CR50_SQA=1 and check it's no different than the
regular image.
build DBG image and make sure it still starts open, it has the
eraseflashinfo and rollback commands, and it can flash old cr50
images.
Change-Id: I5e94c88b1903cfcf0eee0081fc871e55fc8586c7
Signed-off-by: Mary Ruthven <mruthven@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/2227149
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-by: Namyoon Woo <namyoon@chromium.org>
Diffstat (limited to 'common/ec_comm.c')
-rw-r--r-- | common/ec_comm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common/ec_comm.c b/common/ec_comm.c index 4ad6311acc..5d56c39450 100644 --- a/common/ec_comm.c +++ b/common/ec_comm.c @@ -243,7 +243,7 @@ int ec_comm_process_packet(uint8_t ch) if (response) { transfer_response_to_ec_(response); -#ifdef CR50_RELAXED +#ifdef CR50_DEV CPRINTS("decoded a packet"); CPRINTS("header : 0x%ph", HEX_BUF((uint8_t *)&ec_comm_ctx.ph, @@ -343,10 +343,10 @@ static int command_ec_comm(int argc, char **argv) ccprintf("preamble_count : %d\n", ec_comm_ctx.preamble_count); ccprintf("bytes_received : %d\n", ec_comm_ctx.bytes_received); ccprintf("bytes_expected : %d\n", ec_comm_ctx.bytes_expected); -#ifdef CR50_RELAXED +#ifdef CR50_DEV ccprintf("packet:\n"); hexdump((uint8_t *)ec_comm_ctx.packet, CR50_COMM_MAX_PACKET_SIZE); -#endif /* CR50_RELAXED */ +#endif /* CR50_DEV */ ccprintf("response : 0x%04x\n", ec_comm_ctx.last_resp); ccprintf("\n"); ec_efs_print_status(); |