summaryrefslogtreecommitdiff
path: root/include/vboot.h
diff options
context:
space:
mode:
authorRandall Spangler <rspangler@chromium.org>2012-08-07 15:43:57 -0700
committerGerrit <chrome-bot@google.com>2012-08-07 19:06:33 -0700
commit45cd8463a3e1611e4721ccb9f1beef8f4ab897af (patch)
treee5e17df16d7b145dd5321e29a37fe9c45552fd07 /include/vboot.h
parent29cbe516631f15d548be1da101b6f04f692982d4 (diff)
downloadchrome-ec-45cd8463a3e1611e4721ccb9f1beef8f4ab897af.tar.gz
Remove signature-based vboot support
Superseded by EC software sync (hash-based). Sig-based vboot was correctly implemented, but ended up being too slow to be useful given the limited processing power of the EC chips, and we also couldn't come up with a manageable way to handle A/B autoupdate of signed EC firmware. This change and an associated vboot_reference change shrinks the EC binary by ~2KB. BUG=chrome-os-partner:11232 TEST=build link,snow; boot link and check that 'hash' command still works. Change-Id: I3f03ae2d0a4030977826980d6ec5613181e154c2 Signed-off-by: Randall Spangler <rspangler@chromium.org> Reviewed-on: https://gerrit.chromium.org/gerrit/29496 Reviewed-by: Bill Richardson <wfrichar@chromium.org>
Diffstat (limited to 'include/vboot.h')
-rw-r--r--include/vboot.h37
1 files changed, 0 insertions, 37 deletions
diff --git a/include/vboot.h b/include/vboot.h
deleted file mode 100644
index a77243bc7e..0000000000
--- a/include/vboot.h
+++ /dev/null
@@ -1,37 +0,0 @@
-/* Copyright (c) 2012 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.
- */
-
-/* Verified boot module for Chrome EC */
-
-#ifndef __CROS_EC_VBOOT_H
-#define __CROS_EC_VBOOT_H
-
-#include "common.h"
-
-/*
- * Check verified boot signatures, and jump to one of the RW images if
- * necessary.
- */
-int vboot_check_signature(void);
-
-/* Initialize the module. */
-int vboot_init(void);
-
-/* These are the vboot commands available via LPC. */
-enum vboot_command {
- VBOOT_CMD_GET_FLAGS,
- VBOOT_CMD_SET_FLAGS,
- VBOOT_NUM_CMDS,
-};
-
-/*
- * These are the flags transferred across LPC. At the moment, only the devmode
- * flag can be set, and only because it's faked. Ultimately this functionality
- * will be moved elsewhere.
- */
-#define VBOOT_FLAGS_IMAGE_MASK 0x03 /* enum system_image_copy_t */
-#define VBOOT_FLAGS_UNUSED 0x04 /* was fake dev-mode bit */
-
-#endif /* __CROS_EC_VBOOT_H */