summaryrefslogtreecommitdiff
path: root/firmware/2lib/2stub.c
diff options
context:
space:
mode:
authorHsuan Ting Chen <roccochen@chromium.org>2020-09-15 15:30:00 +0800
committerCommit Bot <commit-bot@chromium.org>2020-09-17 05:09:39 +0000
commit4e5ce4293a724bce9e1fa36c5e305bdbc85946bd (patch)
tree38b606e00753d0c1d6e63ce1cfabb405579fb2da /firmware/2lib/2stub.c
parent3fbb2d16c42b70a1fdf57dc693e10ca11c998d10 (diff)
downloadvboot-stabilize-13482.B.tar.gz
vboot/ui: Force to reacquire log on initializationstabilize-13482.B
Force to reacquire a newer firmware log snapshot every time when the user enters the firmware log screen. Re-entering (e.g. back from language selection or debug info tab) will still show the cached firmware log string. BUG=b:146399181, b:168442372 TEST=make clean && make runtests TEST=Build locally, navigate to the firmware log screen, go back, and enter the firmware log screen again. BRANCH=none Cq-Depend: chromium:2409742 Change-Id: I8c3eea23446c58603ce698a86f1aca4b264ebb0e Signed-off-by: Hsuan Ting Chen <roccochen@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/vboot_reference/+/2411761 Commit-Queue: Yu-Ping Wu <yupingso@chromium.org>
Diffstat (limited to 'firmware/2lib/2stub.c')
-rw-r--r--firmware/2lib/2stub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/firmware/2lib/2stub.c b/firmware/2lib/2stub.c
index 697b0fc5..dba852e1 100644
--- a/firmware/2lib/2stub.c
+++ b/firmware/2lib/2stub.c
@@ -81,7 +81,7 @@ const char *vb2ex_get_debug_info(struct vb2_context *ctx)
}
__attribute__((weak))
-const char *vb2ex_get_firmware_log(void)
+const char *vb2ex_get_firmware_log(int reset)
{
return NULL;
}