aboutsummaryrefslogtreecommitdiffstats
path: root/src/vendorcode/google/chromeos/vboot2/common.c
diff options
context:
space:
mode:
authorVadim Bendebury <vbendeb@chromium.org>2015-04-10 17:50:11 -0700
committerPatrick Georgi <pgeorgi@google.com>2015-04-22 09:04:00 +0200
commitc83687d520ddb5e0bb691ef87484643e99f19c40 (patch)
treef6f9e48d556c2bb45548548982bf95a8841d6a5c /src/vendorcode/google/chromeos/vboot2/common.c
parentbe47636de01bed851a6b008067638ccb48343207 (diff)
downloadcoreboot-c83687d520ddb5e0bb691ef87484643e99f19c40.tar.gz
coreboot-c83687d520ddb5e0bb691ef87484643e99f19c40.tar.xz
coreboot-c83687d520ddb5e0bb691ef87484643e99f19c40.zip
vboot: route all resets through a single function
It is necessary to trigger console buffer contents dump on reset. Let's make sure all vboot resets are routed through the same function. BRANCH=none BUG=chromium:475347 TEST=built and booted storm Change-Id: I0d8580fb65417ba4b06dfae763dd6455afc8fc26 Signed-off-by: Patrick Georgi <pgeorgi@chromium.org> Original-Commit-Id: 9788e2043cb1bd5df7e30574f7df4de4f25caa0d Original-Change-Id: Iafca416700c51a0546249438ca583a415a1ca944 Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/265292 Original-Reviewed-by: Julius Werner <jwerner@chromium.org> Reviewed-on: http://review.coreboot.org/9931 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Diffstat (limited to 'src/vendorcode/google/chromeos/vboot2/common.c')
-rw-r--r--src/vendorcode/google/chromeos/vboot2/common.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vendorcode/google/chromeos/vboot2/common.c b/src/vendorcode/google/chromeos/vboot2/common.c
index 15b661a7b..d70a108b0 100644
--- a/src/vendorcode/google/chromeos/vboot2/common.c
+++ b/src/vendorcode/google/chromeos/vboot2/common.c
@@ -67,9 +67,3 @@ void *vboot_get_work_buffer(struct vb2_working_data *wd)
{
return (void *)((uintptr_t)wd + wd->buffer_offset);
}
-
-void vboot_reboot(void)
-{
- hard_reset();
- die("failed to reboot");
-}