vboot: add locale to VbExDisplayScreen
BUG=chromium:502066
BRANCH=master
TEST=built for daisy_spring
CQ-DEPEND=CL:304375
Change-Id: Ia408ec6d70f265ffcb1fc410b5f8f816e64f9652
Signed-off-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/306110
Reviewed-by: Simon Glass <sjg@chromium.org>
diff --git a/cros/cmd/cmd_vbexport_test.c b/cros/cmd/cmd_vbexport_test.c
index 5c02085..d03ea81 100644
--- a/cros/cmd/cmd_vbexport_test.c
+++ b/cros/cmd/cmd_vbexport_test.c
@@ -399,7 +399,7 @@
static int show_screen_and_delay(uint32_t screen_type)
{
- if (VbExDisplayScreen(screen_type)) {
+ if (VbExDisplayScreen(screen_type, 0)) {
VbExDebug("Failed to show a screen.\n");
return 1;
}
diff --git a/cros/vboot/display.c b/cros/vboot/display.c
index 909114f..44487d4 100644
--- a/cros/vboot/display.c
+++ b/cros/vboot/display.c
@@ -150,7 +150,7 @@
}
#endif
-VbError_t VbExDisplayScreen(uint32_t screen_type)
+VbError_t VbExDisplayScreen(uint32_t screen_type, uint32_t locale)
{
const char *msg = NULL;