diff options
author | Sridhar Siricilla <sridhar.siricilla@intel.com> | 2022-02-23 23:36:45 +0530 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-03-14 15:51:12 +0000 |
commit | 6836da2e5a67e8efceb6704d6b7763c61e2df757 (patch) | |
tree | fac530baf1a10381deb41ed222643028a5806325 /tests/Makefile.inc | |
parent | 4b8079152a242296a53cf80f5b08dd2b1daf40ac (diff) |
soc/intel/common: Implement error codes for for heci_send_receive()
The patch implements below changes:
1. Implements different error codes and use them in appropriate
failure scenarios of below functions:
a. heci_send()
b. recv_one_message()
c. heci_receive()
2. As heci_send_receive() is updated to return appropriate error codes
in different error scenarios of sending and receiving the HECI
commands. As the function is updated to return 0 when success, and
non-zero values in the failure scenarios, so all caller function have
been updated.
BUG=b:220652101
TEST=Verified CSE RX and TX APIs return error codes appropriately in
the simulated error scenarios.
Signed-off-by: Sridhar Siricilla <sridhar.siricilla@intel.com>
Change-Id: Ibedee748ed6d81436c6b125f2eb2722be3f5f8f0
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62299
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Tim Wawrzynczak <twawrzynczak@chromium.org>
Diffstat (limited to 'tests/Makefile.inc')
0 files changed, 0 insertions, 0 deletions