diff options
author | Andrey Pronin <apronin@google.com> | 2023-02-24 11:05:39 -0800 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2023-02-25 01:53:32 +0000 |
commit | fcd3ecbc223a7b0df1a5955f66fa1b9aafbe8a34 (patch) | |
tree | 2079c5961f563701880b4deaaf3bf8256cceeb8f /board/cr50/board.h | |
parent | ed9c50d5e63079aa12499e1f9495b4457995bdce (diff) | |
download | chrome-ec-fcd3ecbc223a7b0df1a5955f66fa1b9aafbe8a34.tar.gz |
cr50: support antirollback spaces in _plat__NvUpdateAllowed
This CL allows kernel & firmware antirollback spaces update only in certain
board states by adding the appropriate checks to _plat__NvUpdateAllowed().
BUG=b:270243270
TEST=set specific PCR0 values using https://crrev.com/c/2494503,
verify that can update antirollback for normal/dev/recovery values,
cannot update for recovery+dev value only when block_devmode is set.
Change-Id: I979e3e07a877bf5604e99184c9b60eaaa1abf6b4
Signed-off-by: Andrey Pronin <apronin@google.com>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/4290246
Tested-by: Andrey Pronin <apronin@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
Auto-Submit: Andrey Pronin <apronin@chromium.org>
Commit-Queue: Vadim Bendebury <vbendeb@chromium.org>
Diffstat (limited to 'board/cr50/board.h')
-rw-r--r-- | board/cr50/board.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/board/cr50/board.h b/board/cr50/board.h index a98295d7ff..062ba4c48a 100644 --- a/board/cr50/board.h +++ b/board/cr50/board.h @@ -387,6 +387,7 @@ void power_button_release_enable_interrupt(int enable); /* Functions needed by CCD config */ int board_battery_is_present(void); +int board_fwmp_allows_boot_policy_update(void); int board_fwmp_allows_unlock(void); int board_vboot_dev_mode_enabled(void); void board_reboot_ap(void); |