summaryrefslogtreecommitdiff
path: root/firmware/linktest/main.c
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2011-07-08 14:01:54 -0700
committerRandall Spangler <rspangler@chromium.org>2011-07-08 16:19:07 -0700
commit9619112a574b975476667545e3a326052fa0c50b (patch)
treec0eae41a3b481cab3029fa1283fdf6b6d8c0d8ed /firmware/linktest/main.c
parent1b1998dff0002f20b3f27a21e6e79d8951e64684 (diff)
downloadvboot-9619112a574b975476667545e3a326052fa0c50b.tar.gz
Vboot wrapper - add recovery reason, refactor timing
Pressing Tab at a firmware screen now displays real data, including the recovery reason, HWID, and contents of VbNvStorage. Entry point start/end time tracking in VbSharedData now refers to the new wrapper APIs. Added capability for calling firmware to request recovery mode (for example, if it's unable to initialize RAM, can't find the SSD, etc.). Previously, calling firmware had no (good) way to do this other than faking the recovery button being pressed. BUG=chromium-os:17018 TEST=emerge on x86 and tegra2_seaboard Change-Id: I7d377f279842b30a10d945d13571c41c464633f1 Reviewed-on: http://gerrit.chromium.org/gerrit/3814 Reviewed-by: Simon Glass <sjg@chromium.org> Tested-by: Randall Spangler <rspangler@chromium.org>
Diffstat (limited to 'firmware/linktest/main.c')
-rw-r--r--firmware/linktest/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/firmware/linktest/main.c b/firmware/linktest/main.c
index 49500b71..4aae27d9 100644
--- a/firmware/linktest/main.c
+++ b/firmware/linktest/main.c
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010 The Chromium OS Authors. All rights reserved.
+/* Copyright (c) 2011 The Chromium OS Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
@@ -65,7 +65,6 @@ int main(void)
TlclGetPermissions(0, 0);
/* vboot_api.h - entry points INTO vboot_reference */
- VbS3Resume();
VbInit(0, 0);
VbSelectFirmware(0, 0);
VbUpdateFirmwareBodyHash(0, 0, 0);