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: I1451d52382bc48cc126d40267e0f61712f4a6d4b Original-Change-Id: Ib9c06698a399d31e79a9b14143343ba2ad46d0fb Original-Signed-off-by: Vadim Bendebury <vbendeb@chromium.org> Original-Reviewed-on: https://chromium-review.googlesource.com/210117 Original-Reviewed-by: Julius Werner <jwerner@chromium.org> (cherry picked from commit 27dd40e85bfcd0a38f388bad4d79f5fbb77a7566) Signed-off-by: Marc Jones <marc.jones@se-eng.com> Reviewed-on: http://review.coreboot.org/8720 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
b0c302fd79
commit
5e1a2d3fca
|
@ -37,5 +37,6 @@ romstage-y += romstage.c
|
|||
romstage-y += sdram_configs.c
|
||||
romstage-$(CONFIG_CHROMEOS) += chromeos.c
|
||||
|
||||
ramstage-y += boardid.c
|
||||
ramstage-y += mainboard.c
|
||||
ramstage-$(CONFIG_CHROMEOS) += chromeos.c
|
||||
|
|
|
@ -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
|
||||
|
@ -37,5 +36,6 @@ romstage-y += romstage.c
|
|||
romstage-y += sdram_configs.c
|
||||
romstage-$(CONFIG_CHROMEOS) += chromeos.c
|
||||
|
||||
ramstage-y += boardid.c
|
||||
ramstage-y += mainboard.c
|
||||
ramstage-$(CONFIG_CHROMEOS) += chromeos.c
|
||||
|
|
|
@ -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
|
||||
|
@ -40,5 +39,6 @@ romstage-y += romstage.c
|
|||
romstage-y += sdram_configs.c
|
||||
romstage-$(CONFIG_CHROMEOS) += chromeos.c
|
||||
|
||||
ramstage-y += boardid.c
|
||||
ramstage-y += mainboard.c
|
||||
ramstage-$(CONFIG_CHROMEOS) += chromeos.c
|
||||
|
|
|
@ -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,6 +37,7 @@ romstage-y += sdram_configs.c
|
|||
romstage-$(CONFIG_CHROMEOS) += chromeos.c
|
||||
romstage-y += ec_dummy.c
|
||||
|
||||
ramstage-y += boardid.c
|
||||
ramstage-y += mainboard.c
|
||||
ramstage-$(CONFIG_CHROMEOS) += chromeos.c
|
||||
ramstage-y += ec_dummy.c
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue