Skip to content

Commit

Permalink
tree wide: Rename VBOOT_MEASURED_BOOT* to TPM_MEASURED_BOOT
Browse files Browse the repository at this point in the history
This follows commit c79e96b which did the rename across the tree
except in these places. Remove the flag from CHROMEOS abuild builds
because it never really belonged there.

Change-Id: If98fa27f64d6b676d3edf68ba6fbaacf7ac422e4
Signed-off-by: Patrick Georgi <[email protected]>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/79258
Reviewed-by: Arthur Heymans <[email protected]>
Tested-by: build bot (Jenkins) <[email protected]>
Reviewed-by: Felix Singer <[email protected]>
  • Loading branch information
Patrick Georgi committed Nov 25, 2023
1 parent b6954fa commit 47282a9
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Documentation/mainboard/lenovo/vboot.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ updates using an A/B partitioning scheme once enabled.
## Enabling vboot
You can enable [vboot] in Kconfig's *Security* section. Besides a verified
boot you can also enable a measured boot by setting
`CONFIG_VBOOT_MEASURED_BOOT`. Both options need a working TPM, which is
`CONFIG_TPM_MEASURED_BOOT`. Both options need a working TPM, which is
present on all recent Lenovo devices.

## Updating and recovery
Expand Down
2 changes: 1 addition & 1 deletion Documentation/security/vboot/measured_boot.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ specific IBB measurements without hard-coding them.

#### Runtime Data
* CBFS data which changes by external input dynamically. Never stays the same.
* It is identified by VBOOT_MEASURED_BOOT_RUNTIME_DATA kconfig option and
* It is identified by TPM_MEASURED_BOOT_RUNTIME_DATA kconfig option and
measured into a different PCR (PCR_RUNTIME_DATA kconfig option, 3 by default)
in order to avoid PCR pre-calculation issues.

Expand Down
2 changes: 1 addition & 1 deletion configs/config.google_octopus_spi_flash_console
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
CONFIG_VENDOR_GOOGLE=y
CONFIG_BOARD_GOOGLE_OCTOPUS=y
CONFIG_CONSOLE_SPI_FLASH=y
# CONFIG_VBOOT_MEASURED_BOOT is not set
# CONFIG_TPM_MEASURED_BOOT is not set
2 changes: 1 addition & 1 deletion src/soc/amd/stoneyridge/Makefile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ verstage-y += gpio.c
verstage-y += i2c.c

postcar-y += memmap.c
postcar-$(CONFIG_VBOOT_MEASURED_BOOT) += i2c.c
postcar-$(CONFIG_TPM_MEASURED_BOOT) += i2c.c

ramstage-y += aoac.c
ramstage-y += BiosCallOuts.c
Expand Down
2 changes: 1 addition & 1 deletion util/abuild/abuild
Original file line number Diff line number Diff line change
Expand Up @@ -883,7 +883,7 @@ while true ; do
chromeos=true
testclass=chromeos
customizing="${customizing}, chromeos"
configoptions="${configoptions}CONFIG_CHROMEOS=y\nCONFIG_VBOOT_MEASURED_BOOT=y\n"
configoptions="${configoptions}CONFIG_CHROMEOS=y\n"
;;
-X|--xmlfile) shift
XMLFILE=$1
Expand Down

0 comments on commit 47282a9

Please sign in to comment.