summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Wai-Hong Tam <waihong@chromium.org>2011-07-07 16:21:03 +0800
committerSimon Glass <sjg@chromium.org>2011-08-29 10:58:48 -0700
commit9886dfe69e098fa2c6b690d4b4550cbb713c267b (patch)
tree84b21b3fb2ee7c23bf0dce657ca417222dd46a0b /common
parent2bce4bd693a8a865d0397fec4ebfff59b833f4f6 (diff)
CHROMIUM: Add missed file cmd_vboot_bootstub in previous CL.
This file is missed in previous CL: http://gerrit.chromium.org/gerrit/#change,3441 BUG=chromium-os:16544 TEST=build chromeos_seaboard_vboot withour error Change-Id: I9ed188cd8c27337933e64a7d16391e53a19696cc Reviewed-on: http://gerrit.chromium.org/gerrit/3838 Reviewed-by: Tom Wai-Hong Tam <waihong@chromium.org> Tested-by: Tom Wai-Hong Tam <waihong@chromium.org>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_vboot_bootstub.c22
1 files changed, 22 insertions, 0 deletions
diff --git a/common/cmd_vboot_bootstub.c b/common/cmd_vboot_bootstub.c
new file mode 100644
index 00000000000..b7a48cffb24
--- /dev/null
+++ b/common/cmd_vboot_bootstub.c
@@ -0,0 +1,22 @@
+/*
+ * 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.
+ *
+ * Alternatively, this software may be distributed under the terms of the
+ * GNU General Public License ("GPL") version 2 as published by the Free
+ * Software Foundation.
+ */
+
+#include <common.h>
+#include <command.h>
+#include <vboot/entry_points.h>
+
+int do_vboot_bootstub(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+{
+ bootstub_entry();
+ return 0;
+}
+
+U_BOOT_CMD(vboot_bootstub, 1, 1, do_vboot_bootstub,
+ "verified boot bootstub firmware", NULL);