sandbox: tpm: Support the define-space command
authorSimon Glass <sjg@chromium.org>
Sun, 18 Jul 2021 20:17:59 +0000 (14:17 -0600)
committerSimon Glass <sjg@chromium.org>
Sun, 1 Aug 2021 15:05:24 +0000 (09:05 -0600)
commitf9143c12003aabbad3a2485f8ad305f5dff5fae9
tree022b47f8b13fe5bb488a3a853ed68850db5a038b
parent1db235a186c001a50e5f5db9b587bbaa4e397ee7
sandbox: tpm: Support the define-space command

Add support for this command, moving away from the previous approach of
hard-coding the initial data in the driver, now that the kernel-space data
has to be set up by the higher-level vboot code.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/tpm/sandbox_common.c
drivers/tpm/sandbox_common.h
drivers/tpm/tpm_tis_sandbox.c