mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
tpm2: remove unused buffer size definition
TPM2 structure definitions use pointers instead of buffers where possible. One structure was left behind, replace buffer definition with a pointer to be consistent. BRANCH=none BUG=chrome-os-partner:50645 TEST=compilation succeeds, the code using the changed structure in the upcoming patches allows to successfully boot chrome OS on Kevin Change-Id: I9856ac516be13f5892ba8af0526708409a297033 Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/358771 Reviewed-by: Douglas Anderson <dianders@chromium.org>
This commit is contained in:
parent
0193d4f4bd
commit
02b2909b18
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ typedef struct {
|
|||
typedef union {
|
||||
struct {
|
||||
uint16_t size;
|
||||
uint8_t buffer[sizeof(TPMU_HA)];
|
||||
const uint8_t *buffer;
|
||||
} t;
|
||||
TPM2B b;
|
||||
} TPM2B_DIGEST;
|
||||
|
|
Loading…
Add table
Reference in a new issue