trunks: ftdi do not send more than 64 bytes
The SPI FTDI driver code considered the burst_count field to be a
constant (it in fact is changing based on TPM state), and also did not
split messages longer than 64 bytes into smaller chunks.
This patch fixes both of the problems.
TEST=verified that trunksd initializes the SPI FTDI based TPM properly
Signed-off-by: Vadim Bendebury <firstname.lastname@example.org>
Reviewed-by: Bill Richardson <email@example.com>
2 files changed