1 /* SPDX-License-Identifier: BSD-3-Clause */
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_ */