summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--common/Makefile1
-rw-r--r--common/cmd_cros_normal_firmware.c31
-rw-r--r--include/config_cmd_all.h2
3 files changed, 34 insertions, 0 deletions
diff --git a/common/Makefile b/common/Makefile
index 4f53914b4d..d47af20b2c 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -76,6 +76,7 @@ COBJS-$(CONFIG_CMD_CONSOLE) += cmd_console.o
COBJS-$(CONFIG_CMD_CPLBINFO) += cmd_cplbinfo.o
COBJS-$(CONFIG_CMD_CROS) += cmd_cros.o
COBJS-$(CONFIG_CMD_CROS_BOOTSTUB) += cmd_cros_bootstub.o
+COBJS-$(CONFIG_CMD_CROS_NORMAL_FIRMWARE) += cmd_cros_normal_firmware.o
COBJS-$(CONFIG_CMD_CROS_TPM) += cmd_vboot.o
COBJS-$(CONFIG_DATAFLASH_MMC_SELECT) += cmd_dataflash_mmc_mux.o
COBJS-$(CONFIG_CMD_DATE) += cmd_date.o
diff --git a/common/cmd_cros_normal_firmware.c b/common/cmd_cros_normal_firmware.c
new file mode 100644
index 0000000000..500c5fef2f
--- /dev/null
+++ b/common/cmd_cros_normal_firmware.c
@@ -0,0 +1,31 @@
+/*
+ * 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.
+ */
+
+/* Implementation of rewritable firmware of Chrome OS Verify Boot */
+
+#include <common.h>
+#include <command.h>
+#include <chromeos/boot_device_impl.h>
+#include <chromeos/hardware_interface.h>
+
+#include <boot_device.h>
+#include <load_kernel_fw.h>
+#include <vboot_struct.h>
+
+#define PREFIX "cros_normal_firmware: "
+
+int do_cros_normal_firmware(cmd_tbl_t *cmdtp, int flag, int argc,
+ char * const argv[])
+{
+ return 0;
+}
+
+U_BOOT_CMD(cros_normal_firmware, 1, 1, do_cros_normal_firmware,
+ "verified boot normal firmware", NULL);
diff --git a/include/config_cmd_all.h b/include/config_cmd_all.h
index 0582a1ebaa..f4d289ef0d 100644
--- a/include/config_cmd_all.h
+++ b/include/config_cmd_all.h
@@ -26,6 +26,8 @@
#define CONFIG_CMD_CONSOLE /* coninfo */
#define CONFIG_CMD_CROS /* Chrome OS verify boot (debug)*/
#define CONFIG_CMD_CROS_BOOTSTUB/* Chrome OS verify boot stub */
+#define CONFIG_CMD_CROS_NORMAL_FIRMWARE
+ /* Chrome OS verify boot normal firmware */
#define CONFIG_CMD_DATE /* support for RTC, date/time...*/
#define CONFIG_CMD_DHCP /* DHCP Support */
#define CONFIG_CMD_DIAG /* Diagnostics */