Attention is currently required from: Hsuan Ting Chen.
Hello Hsuan Ting Chen,
I'd like you to do a code review. Please visit
https://review.coreboot.org/c/coreboot/+/74917
to review the following change.
Change subject: vboot: Add vboot_get_locale_id ......................................................................
vboot: Add vboot_get_locale_id
Add the support of vboot_get_locale_id which reads the locale id information from vb2 context in misc.h. This will be used in romstage ux for deciding the language to display.
BRANCH=brya BUG=b:264666392 TEST=emerge-brya coreboot chromeos-bootimage
Change-Id: I34d28c5c7fd4a929537cd07a0d4550f24a43f95e Signed-off-by: Hsuan Ting Chen roccochen@chromium.org --- M src/security/vboot/misc.h 1 file changed, 23 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/17/74917/1
diff --git a/src/security/vboot/misc.h b/src/security/vboot/misc.h index 8310647..262c329 100644 --- a/src/security/vboot/misc.h +++ b/src/security/vboot/misc.h @@ -101,4 +101,9 @@ return vb2api_hwcrypto_allowed(vboot_get_context()); }
+static inline uint32_t vboot_get_locale_id(struct vb2_context *ctx) +{ + return vb2api_get_locale_id(ctx); +} + #endif /* __VBOOT_MISC_H__ */