soc/intel/xeon_sp: Revise IIO domain ACPI name encoding
[coreboot2.git] / payloads / libpayload / include / lp_vboot.h
blobbdbdc74c37959b5badcdf4efabb64748e6d4583f
1 /* SPDX-License-Identifier: BSD-3-Clause */
3 #ifndef _LP_VBOOT_H_
4 #define _LP_VBOOT_H_
6 #include <vb2_api.h>
8 struct vb2_context *vboot_get_context(void);
11 * Call vb2api_fail() with reason and subcode, save vboot data with vb2ex_commit_data()
12 * and reboot with vboot_reboot().
14 void vboot_fail_and_reboot(struct vb2_context *ctx, uint8_t reason, uint8_t subcode);
16 /* Returns non-zero if recovery mode is enabled. */
17 int vboot_recovery_mode_enabled(void);
19 #endif /* _LP_VBOOT_H_ */