diff options
author | Vadim Bendebury <vbendeb@chromium.org> | 2015-11-13 10:33:16 -0800 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2015-11-18 00:14:04 -0800 |
commit | 5630c63aefb24b1f7cfa7842a58394cc619fe1d6 (patch) | |
tree | 4b6c9d2aa1df53a64169c6a84c6f740a8b0fa7ba /common/tpm_registers.c | |
parent | ee1a2a3a8329323e0600d12ad1b371d62136867e (diff) | |
download | chrome-ec-5630c63aefb24b1f7cfa7842a58394cc619fe1d6.tar.gz |
cr50: increase receive buffer size
The receive buffer needs to be able to accommodate the largest
commands. Even though the spec sets the size limit at 4096, let's keep
it at 2K for now and see if this needs to be increased.
BRANCH=none
BUG=chrome-os-partner:43025
TEST=with the rest of the patches applied, the AES test vectors pass
through without a problem.
Change-Id: I1cd6979fdaa343f0ddfddb58c552368b3f54db95
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/312588
Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'common/tpm_registers.c')
-rw-r--r-- | common/tpm_registers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/tpm_registers.c b/common/tpm_registers.c index debfbfb613..66e8628a28 100644 --- a/common/tpm_registers.c +++ b/common/tpm_registers.c @@ -60,7 +60,7 @@ struct tpm_register_file { uint8_t access; uint32_t int_status; uint32_t sts; - uint8_t data_fifo[64]; /* this might have to be much deeper. */ + uint8_t data_fifo[2048]; /* this might have to be even deeper. */ }; /* |