summaryrefslogtreecommitdiff
path: root/common/vboot.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/vboot.c')
-rw-r--r--common/vboot.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/common/vboot.c b/common/vboot.c
index 6faf9cd470..307dfac2d0 100644
--- a/common/vboot.c
+++ b/common/vboot.c
@@ -124,7 +124,16 @@ DECLARE_HOST_COMMAND(EC_LPC_COMMAND_REBOOT_EC, vboot_command_reboot);
int vboot_pre_init(void)
{
- /* Jump to a different image if necessary; this may not return */
+ /* FIXME(wfrichar): crosbug.com/p/7453: should protect flash */
+ return EC_SUCCESS;
+}
+
+
+int vboot_init(void)
+{
+ /* FIXME(wfrichar): placeholder for full verified boot implementation.
+ * TBD exactly how, but we may want to continue in RO firmware, jump
+ * directly to one of the RW firmwares, etc. */
jump_to_other_image();
return EC_SUCCESS;
}