coreboot-kgpe-d16/src
Aaron Durbin 6ef52cd751 drivers/spi/tpm: honor tis_sendrecv() API
The spi tis_sendrecv() implementation was always returning success
for all transactions. Correct this by returning -1 on error when
tpm2_process_command() returns 0 since that's its current failure
return code.

BUG=b:36598499

Change-Id: I8bfb5a09198ae4c293330e770271773a185d5061
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/19058
Reviewed-by: Furquan Shaikh <furquan@google.com>
Tested-by: build bot (Jenkins)
2017-04-03 05:32:21 +02:00
..
acpi
arch arch/x86/acpigen: Allow writing buffers larger than 256 bytes 2017-04-03 04:53:03 +02:00
commonlib commonlib: Wrap lines at 80 columns 2017-03-13 21:23:21 +01:00
console console: Enable do_printk_va_list for VBOOT 2016-12-27 18:07:39 +01:00
cpu AGESA: Fork for new cache-as-ram init code 2017-03-28 01:57:37 +02:00
device device/dram/ddr2: Add common ddr2 spd decoder 2017-03-10 11:17:27 +01:00
drivers drivers/spi/tpm: honor tis_sendrecv() API 2017-04-03 05:32:21 +02:00
ec vboot: Move remaining features out of vendorcode/google/chromeos 2017-03-28 22:18:13 +02:00
include vboot: Move remaining features out of vendorcode/google/chromeos 2017-03-28 22:18:13 +02:00
lib src/lib/jpeg: Fix missing closing brace 2017-03-29 13:05:18 +02:00
mainboard amd/olivehill: Switch away from AGESA_LEGACY 2017-03-29 10:02:58 +02:00
northbridge nb/intel: Deduplicate vbt header 2017-04-03 04:58:03 +02:00
soc nb/intel: Deduplicate vbt header 2017-04-03 04:58:03 +02:00
southbridge amd/pi/hudson: Add fanless SMU firmware to build 2017-03-28 22:32:08 +02:00
superio superio/fintek: Add support for Fintek F71808A 2017-03-27 19:19:56 +02:00
vboot Remove libverstage as separate library and source file class 2017-03-28 22:18:53 +02:00
vendorcode vboot: Move remaining features out of vendorcode/google/chromeos 2017-03-28 22:18:13 +02:00
Kconfig GDB_WAIT: Clarify Kconfig description 2017-03-14 22:20:47 +01:00