diff options
author | Daisuke Nojiri <dnojiri@chromium.org> | 2014-09-29 13:02:29 -0700 |
---|---|---|
committer | Aaron Durbin <adurbin@google.com> | 2015-03-24 15:19:54 +0100 |
commit | 97ea9c05160c9c1aec82f7bda2fe3ec963c8adf4 (patch) | |
tree | 1adc1125197d3d6d11249ca61338881ded15f8d4 /src/include | |
parent | 6abe7c699679e27d0ae84b803994e5eacfaea538 (diff) |
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>
Original-Change-Id: I777e3cb7004870c769163827543c83665d3732b9
Original-Reviewed-on: https://chromium-review.googlesource.com/220412
Original-Reviewed-by: Julius Werner <jwerner@chromium.org>
Original-Reviewed-by: Randall Spangler <rspangler@chromium.org>
Original-Commit-Queue: Daisuke Nojiri <dnojiri@chromium.org>
Original-Tested-by: Daisuke Nojiri <dnojiri@chromium.org>
(cherry picked from commit d8c0c407bf0fed60d76441ada7bedd36f6fc3a38)
Change-Id: Icc3779125262b4499e47781991ebbf584abf074a
Signed-off-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-on: http://review.coreboot.org/8885
Tested-by: build bot (Jenkins)
Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/antirollback.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/antirollback.h b/src/include/antirollback.h index 0473e2446c..06ad9f786b 100644 --- a/src/include/antirollback.h +++ b/src/include/antirollback.h @@ -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 */ |