diff options
author | Jakub Czapiga <jacz@semihalf.com> | 2023-09-08 13:19:00 +0000 |
---|---|---|
committer | Martin L Roth <gaumless@gmail.com> | 2023-09-18 15:42:31 +0000 |
commit | b2163ea84b683d6dc4630125b9921a5c681ed434 (patch) | |
tree | 14d3c06e3be256aa22d60a2e04244eb1114e3822 /payloads/libpayload/libcbfs | |
parent | 971c9442f6d240b0d6af78674fced4001fc50f57 (diff) |
libpayload: Add vboot and reboot utility functions
Patch adds:
- vboot_fail_and_reboot() for vboot failures handling.
- reboot() weak implementation for payloads to implement, used
by vboot_fail_and_reboot().
- vboot_recovery_mode_enabled() to check if recovery mode flag is set in
vboot context. Implemented for future libcbfs implementation
of VBOOT_CBFS_INTEGRATION in libpayload.
BUG=b:197114807
TEST=none
Change-Id: I53d1955573d54bc56d05f7780c18dcc8ac1fd399
Signed-off-by: Jakub Czapiga <jacz@semihalf.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77725
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Yu-Ping Wu <yupingso@google.com>
Reviewed-by: Julius Werner <jwerner@chromium.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'payloads/libpayload/libcbfs')
0 files changed, 0 insertions, 0 deletions