summaryrefslogtreecommitdiff
path: root/firmware/2lib/include/2api.h
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/2lib/include/2api.h')
-rw-r--r--firmware/2lib/include/2api.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/firmware/2lib/include/2api.h b/firmware/2lib/include/2api.h
index 290c7ab1..969be2fa 100644
--- a/firmware/2lib/include/2api.h
+++ b/firmware/2lib/include/2api.h
@@ -834,6 +834,14 @@ int vb2api_need_reboot_for_display(struct vb2_context *ctx);
*/
uint32_t vb2api_get_recovery_reason(struct vb2_context *ctx);
+/**
+ * Get the current locale id from nvdata.
+ *
+ * @param ctx Vboot context
+ * @return Current locale id.
+ */
+uint32_t vb2api_get_locale_id(struct vb2_context *ctx);
+
/*****************************************************************************/
/* APIs provided by the caller to verified boot */