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 <email@example.com>
Reviewed-by: Bill Richardson <firstname.lastname@example.org>
2 files changed