diff options
author | Aseda Aboagye <aaboagye@google.com> | 2021-05-14 15:35:12 -0700 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2021-05-16 21:54:07 +0000 |
commit | d87ed2d551c0d0f7ba6f0e874c9496cee09d19a7 (patch) | |
tree | 8683b2d0a16896fbd887f3a11487455bee820d35 /src/acpi | |
parent | 7a9fe102c204d339ce043eda9a778982be73fb59 (diff) |
vboot/secdata_tpm: Rename set_space()
The name `set_space()` seems to imply that it's writing to a TPM space
when actually, the function can create a space and write to it. This
commit attempts to make that a bit more clear. Additionally, in order
to use the correct sizes when creating the space, this commit also
refactors the functions slightly to incorporate the vboot context object
such that the correct sizes are used. The various vboot APIs will
return the size of the created object that we can then create the space
with.
BUG=b:184677625
BRANCH=None
TEST=`emerge-keeby coreboot`
Signed-off-by: Aseda Aboagye <aaboagye@google.com>
Change-Id: I80a8342c51d7bfaa0cb2eb3fd37240425d5901be
Reviewed-on: https://review.coreboot.org/c/coreboot/+/54308
Reviewed-by: Julius Werner <jwerner@chromium.org>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/acpi')
0 files changed, 0 insertions, 0 deletions