summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--boards.cfg1
-rw-r--r--common/Makefile1
-rw-r--r--common/cmd_vboot_twostop.c9
-rw-r--r--include/configs/chromeos_tegra2_twostop.h16
4 files changed, 27 insertions, 0 deletions
diff --git a/boards.cfg b/boards.cfg
index 8c4a2f95c47..031532e4b57 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -860,5 +860,6 @@ grsim sparc leon3 - gaisler
gr_xc3s_1500 sparc leon3 - gaisler
chromeos_seaboard_onestop arm armv7 seaboard nvidia tegra2
chromeos_seaboard_vboot arm armv7 seaboard nvidia tegra2
+chromeos_tegra2_twostop arm armv7 seaboard nvidia tegra2
# Target ARCH CPU Board name Vendor SoC Options
########################################################################################################################
diff --git a/common/Makefile b/common/Makefile
index 454b257570e..02bea72adfe 100644
--- a/common/Makefile
+++ b/common/Makefile
@@ -79,6 +79,7 @@ COBJS-$(CONFIG_CMD_VBEXPORT_TEST) += cmd_vbexport_test.o
COBJS-$(CONFIG_CMD_VBOOT_BOOTSTUB) += cmd_vboot_bootstub.o
COBJS-$(CONFIG_CMD_VBOOT_MAIN) += cmd_vboot_main.o
COBJS-$(CONFIG_CMD_VBOOT_TEST) += cmd_vboot_test.o
+COBJS-$(CONFIG_CMD_VBOOT_TWOSTOP) += cmd_vboot_twostop.o
COBJS-$(CONFIG_DATAFLASH_MMC_SELECT) += cmd_dataflash_mmc_mux.o
COBJS-$(CONFIG_CMD_DATE) += cmd_date.o
ifdef CONFIG_4xx
diff --git a/common/cmd_vboot_twostop.c b/common/cmd_vboot_twostop.c
new file mode 100644
index 00000000000..cb5caea80ce
--- /dev/null
+++ b/common/cmd_vboot_twostop.c
@@ -0,0 +1,9 @@
+/*
+ * 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.
+ */
diff --git a/include/configs/chromeos_tegra2_twostop.h b/include/configs/chromeos_tegra2_twostop.h
new file mode 100644
index 00000000000..ebbeb894e7c
--- /dev/null
+++ b/include/configs/chromeos_tegra2_twostop.h
@@ -0,0 +1,16 @@
+/*
+ * 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.
+ */
+
+#ifndef __configs_chromeos_tegra2_twostop_h__
+#define __configs_chromeos_tegra2_twostop_h__
+
+/* TODO This should be renamed to chromeos_tegra2_common.h? */
+#include <configs/chromeos_seaboard_common.h>
+
+/* entry point of twostop firmware */
+#define CONFIG_CMD_VBOOT_TWOSTOP
+
+#endif /* __configs_chromeos_tegra2_twostop_h__ */