Include board ID calculations only when necessary

For the majority of Chrome OS boards there is no need to include board
ID calculation in any stage but ramstage, where the ID should be
available for inclusion into the coreboot table.

BUG=chrome-os-partner:30489
TEST=build only, no other tests yet

Change-Id: Ib9c06698a399d31e79a9b14143343ba2ad46d0fb
Signed-off-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/210117
Reviewed-by: Julius Werner <jwerner@chromium.org>
This commit is contained in:
Vadim Bendebury 2014-07-28 16:08:34 -07:00 committed by chrome-internal-fetch
commit 27dd40e85b
6 changed files with 6 additions and 5 deletions

View file

@ -89,7 +89,7 @@ ramstage-$(CONFIG_MAINBOARD_DO_NATIVE_VGA_INIT) += edid.c
ramstage-y += memrange.c
ramstage-$(CONFIG_COOP_MULTITASKING) += thread.c
ramstage-$(CONFIG_TIMER_QUEUE) += timer_queue.c
ramstage--${CONFIG_TERTIARY_BOARD_ID} += tristate_gpios.c
ramstage-$(CONFIG_TERTIARY_BOARD_ID) += tristate_gpios.c
# The CBMEM implementations are chosen based on CONFIG_DYNAMIC_CBMEM.
ifeq ($(CONFIG_DYNAMIC_CBMEM),y)

View file

@ -36,4 +36,5 @@ romstage-y += reset.c
romstage-y += romstage.c
romstage-y += sdram_configs.c
ramstage-y += boardid.c
ramstage-y += mainboard.c

View file

@ -27,7 +27,6 @@ $(obj)/generated/bct.cfg:
subdirs-y += bct
bootblock-y += boardid.c
bootblock-y += bootblock.c
bootblock-y += pmic.c
bootblock-y += reset.c
@ -36,4 +35,5 @@ romstage-y += reset.c
romstage-y += romstage.c
romstage-y += sdram_configs.c
ramstage-y += boardid.c
ramstage-y += mainboard.c

View file

@ -27,7 +27,6 @@ $(obj)/generated/bct.cfg:
subdirs-y += bct
bootblock-y += boardid.c
bootblock-y += bootblock.c
bootblock-y += pmic.c
bootblock-y += reset.c
@ -39,4 +38,5 @@ romstage-y += reset.c
romstage-y += romstage.c
romstage-y += sdram_configs.c
ramstage-y += boardid.c
ramstage-y += mainboard.c

View file

@ -27,7 +27,6 @@ $(obj)/generated/bct.cfg:
subdirs-y += bct
bootblock-y += boardid.c
bootblock-y += bootblock.c
bootblock-y += pmic.c
bootblock-y += reset.c
@ -38,5 +37,6 @@ romstage-y += sdram_configs.c
romstage-y += chromeos.c
romstage-y += ec_dummy.c
ramstage-y += boardid.c
ramstage-y += mainboard.c
ramstage-y += ec_dummy.c

View file

@ -27,7 +27,6 @@ $(obj)/generated/bct.cfg:
subdirs-y += bct
bootblock-y += boardid.c
bootblock-y += bootblock.c
bootblock-y += pmic.c
bootblock-y += reset.c
@ -36,4 +35,5 @@ romstage-y += reset.c
romstage-y += romstage.c
romstage-y += sdram_configs.c
ramstage-y += boardid.c
ramstage-y += mainboard.c