coreboot-kgpe-d16/src/lib
Aaron Durbin ee049fa802 drivers/i2c/tpm: use iobuf library for marshaling commands
Use the iobuf API instead of relying on own buffer management. It
also provides consistency between marshaling and unmarshaling code
paths for propagating return values instead of overloading the values
of existing variables.

BUG=b:36598499

Change-Id: Iec0bbff1312e8e6ec616d1528db8667f32e682c9
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: https://review.coreboot.org/19063
Tested-by: build bot (Jenkins)
Reviewed-by: Furquan Shaikh <furquan@google.com>
2017-04-24 19:07:07 +02:00
..
gnat Hook up libhwbase in ramstage 2016-11-29 23:45:40 +01:00
Makefile.inc Remove libverstage as separate library and source file class 2017-03-28 22:18:53 +02:00
b64_decode.c src/lib: Add "int" following "unsigned" 2017-03-09 17:24:17 +01:00
boot_device.c lib/boot_device: add RW boot device construct 2016-08-19 03:07:05 +02:00
bootblock.c src/lib: Move asmlinkage before type 2017-03-13 17:21:26 +01:00
bootmem.c
bootmode.c bootmode: Get rid of CONFIG_BOOTMODE_STRAPS 2016-07-28 00:36:22 +02:00
cbfs.c src/lib: Fix space between type, * and variable name 2017-03-09 17:27:02 +01:00
cbmem_common.c src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
cbmem_console.c Turn CBMEM console into a ring buffer that can persist across reboots 2017-04-20 00:29:07 +02:00
cbmem_stage_cache.c
compute_ip_checksum.c src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
coreboot_table.c src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
debug.c src/lib: Add "int" following "unsigned" 2017-03-09 17:24:17 +01:00
delay.c src/lib: Add space before ( 2017-03-09 17:30:21 +01:00
edid.c src/lib: Clean up general issues found by checkpatch.pl 2017-03-15 05:05:04 +01:00
ext_stage_cache.c soc/intel/apollolake: Implement stage cache to improve resume time 2016-10-07 18:18:14 +02:00
fallback_boot.c pc80: Move set_boot_successful() 2016-12-13 19:15:22 +01:00
fmap.c lib/fmap: provide RW region device support 2016-08-19 18:17:04 +02:00
gcc.c src/lib: Move asmlinkage before type 2017-03-13 17:21:26 +01:00
gcov-glue.c src/lib: Clean up general issues found by checkpatch.pl 2017-03-15 05:05:04 +01:00
gcov-io.c src/lib: Use tabs instead of spaces 2017-03-13 15:46:02 +01:00
gcov-io.h src/lib: Fix brace positions 2017-03-13 17:21:16 +01:00
gcov-iov.h
generic_dump_spd.c src/lib: Add space before ( 2017-03-09 17:30:21 +01:00
generic_sdram.c src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
gpio.c src/lib: Add space before ( 2017-03-09 17:30:21 +01:00
halt.c src/lib: Fix brace positions 2017-03-13 17:21:16 +01:00
hardwaremain.c src/lib: Use tabs instead of spaces 2017-03-13 15:46:02 +01:00
hexdump.c
hexstrtobin.c
hw-time-timer.adb Hook up libhwbase in ramstage 2016-11-29 23:45:40 +01:00
imd.c src/lib: Remove unnecessary code 2017-03-13 21:23:58 +01:00
imd_cbmem.c src/lib: Use tabs instead of spaces 2017-03-13 15:46:02 +01:00
jpeg.c src/lib/jpeg: Fix missing closing brace 2017-03-29 13:05:18 +02:00
jpeg.h src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
libgcc.c
libgcov.c src/lib: Move assignment out of if condition 2017-03-15 05:04:45 +01:00
lzma.c src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
lzmadecode.c src/lib: Remove semicolon from end of macro 2017-03-13 21:24:26 +01:00
lzmadecode.h src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
malloc.c
memchr.c
memcmp.c src/lib: Add space before ( 2017-03-09 17:30:21 +01:00
memcpy.c
memmove.c src/lib: Add space before ( 2017-03-09 17:30:21 +01:00
memrange.c src/lib: Use tabs instead of spaces 2017-03-13 15:46:02 +01:00
memset.c
nhlt.c lib/nhlt: add support for setting the oem_revision 2016-12-01 08:17:42 +01:00
primitive_memtest.c src/lib: Add space before ( 2017-03-09 17:30:21 +01:00
prog_loaders.c src/lib: Remove unnecessary code 2017-03-13 21:23:58 +01:00
prog_ops.c
program.ld lib/program.ld: add .sdata sections 2016-10-31 19:33:44 +01:00
ramtest.c src/lib: Remove unnecessary code 2017-03-13 21:23:58 +01:00
reg_script.c src/lib: Clean up general issues found by checkpatch.pl 2017-03-15 05:05:04 +01:00
region_file.c lib: add region file support 2016-12-08 16:10:28 +01:00
rmodule.c src/lib: Use tabs instead of spaces 2017-03-13 15:46:02 +01:00
rmodule.ld
romstage_handoff.c lib: put romstage_handoff implementation in own compilation unit 2016-12-01 08:16:47 +01:00
romstage_stack.c intel post-car: Increase stacktop alignment 2016-11-18 20:59:12 +01:00
rtc.c lib: Add real-time-clock functions 2016-06-24 20:22:05 +02:00
selfboot.c src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
spd_bin.c src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
stack.c src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
thread.c src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
timer.c src/lib: Clean up general issues found by checkpatch.pl 2017-03-15 05:05:04 +01:00
timer_queue.c src/lib: Fix spacing 2017-03-13 17:16:08 +01:00
timestamp.c src/lib: Fix space between type, * and variable name 2017-03-09 17:27:02 +01:00
tlcl.c src/lib: Clean up general issues found by checkpatch.pl 2017-03-15 05:05:04 +01:00
tlcl_internal.h src/lib: Fix brace positions 2017-03-13 17:21:16 +01:00
tlcl_structures.h src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
tpm2_marshaling.c drivers/i2c/tpm: use iobuf library for marshaling commands 2017-04-24 19:07:07 +02:00
tpm2_marshaling.h drivers/i2c/tpm: use iobuf library for marshaling commands 2017-04-24 19:07:07 +02:00
tpm2_tlcl.c drivers/i2c/tpm: use iobuf library for marshaling commands 2017-04-24 19:07:07 +02:00
tpm2_tlcl_structures.h cr50: add unmarshaling of vendor commands and process 'enable_update' 2017-03-23 23:49:58 +01:00
tpm_error_messages.h src/lib: Wrap lines at 80 columns 2017-03-13 17:21:02 +01:00
trace.c src/lib: Fix checkpatch warnings 2016-09-07 22:28:00 +02:00
version.c lib/version: Correct whitespace alignment 2016-07-15 00:10:50 +02:00
wrdd.c