vboot2: factory-initialize kernel space in tpm
this change makes coreboot initialize kernel space and backup space in the tpm when no firmware space is found in the tpm. BUG=chrome-os-partner:32410 TEST=Forced factory initialization and verified it went through without errors. BRANCH=None Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org> Change-Id: I777e3cb7004870c769163827543c83665d3732b9 Reviewed-on: https://chromium-review.googlesource.com/220412 Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-by: Randall Spangler <rspangler@chromium.org> Commit-Queue: Daisuke Nojiri <dnojiri@chromium.org> Tested-by: Daisuke Nojiri <dnojiri@chromium.org>
This commit is contained in:
parent
621849942e
commit
d8c0c407bf
2 changed files with 49 additions and 15 deletions
|
|
@ -15,6 +15,9 @@
|
|||
|
||||
/* TPM NVRAM location indices. */
|
||||
#define FIRMWARE_NV_INDEX 0x1007
|
||||
#define KERNEL_NV_INDEX 0x1008
|
||||
/* This is just an opaque space for backup purposes */
|
||||
#define BACKUP_NV_INDEX 0x1009
|
||||
|
||||
/* Structure definitions for TPM spaces */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue