summaryrefslogtreecommitdiff
path: root/board/nvidia/chromeos
diff options
context:
space:
mode:
authorChe-Liang Chiou <clchiou@chromium.org>2011-07-12 21:29:54 +0800
committerSimon Glass <sjg@chromium.org>2011-08-29 10:58:52 -0700
commitd9bdc598a3ff8273b5df95f7439cefa2355ccde6 (patch)
tree804e412e486bbad0eba2b3f0fd9b84aab16252d6 /board/nvidia/chromeos
parent89293eed29a74430ae6993b76890892797018c62 (diff)
CHROMIUM: twostop: cleanup config flags
The variants of Chrome OS verified boot are: * chromeos_seaboard_onestop implements twostop firmware based on prior-redesigned vboot_reference. It is called onestop because it was implementing onestop boot. * chromeos_seaboard_vboot implements ordinary verified boot, which has bootstub, recovery, normal, and developer firmware, based on redesigned vboot_reference. * chromeos_tegra2_twostop implements twostop firmware based on redesigned vboot_reference. This variant is going to replace chromeos_seaboard_onestop. We split config flags into: * CONFIG_CHROMEOS enables codes that are shared among all variants. * CONFIG_CHROMEOS_VBEXPORT enables codes that implements APIs defined in vboot_api.h. * CONFIG_CHROMEOS_{ONESTOP,TWOSTOP,VBOOT} enables codes that are specific to each variant. Note that we would further cleanup or reorganize config flags after we migrate from chromeos_seaboard_onestop to chromeos_tegra2_twostop. BUG=chromium-os:17424 TEST=build cleanly Change-Id: I7574ec9376047693065b4295edb85b65acb4ea37 Reviewed-on: http://gerrit.chromium.org/gerrit/3943 Tested-by: Che-Liang Chiou <clchiou@chromium.org> Reviewed-by: Rong Chang <rongchang@chromium.org>
Diffstat (limited to 'board/nvidia/chromeos')
-rw-r--r--board/nvidia/chromeos/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/board/nvidia/chromeos/Makefile b/board/nvidia/chromeos/Makefile
index 498dcb654e..29da6fd817 100644
--- a/board/nvidia/chromeos/Makefile
+++ b/board/nvidia/chromeos/Makefile
@@ -39,9 +39,10 @@ include $(TOPDIR)/config.mk
LIB = $(obj)libchromeos_hardware_interface.a
COBJS-$(CONFIG_CHROMEOS) += gpio.o
-COBJS-$(CONFIG_CHROMEOS) += onestop_board_specific.o
COBJS-$(CONFIG_CHROMEOS) += power_management.o
+COBJS-$(CONFIG_CHROMEOS_ONESTOP) += onestop_board_specific.o
+
COBJS := $(COBJS-y)
OBJS := $(addprefix $(obj),$(COBJS))