soc/{baytrail/braswell/broadwell}: fix flashconsole on platform

Enabling flashconsole on these platforms fails to build due to
spi.c not being compiled in prior to ramstage. Include in early stages
(bootblock/romstage/postcar) as needed to enable flashconsole support.

Early inclusion of monotonic_timer.c is needed for Broadwell as well.

Change-Id: Idae0578ca92939246021bb85e34b0dcbd41df3b5
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/32878
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
This commit is contained in:
Matt DeVillier
2019-05-18 15:51:39 -05:00
committed by Patrick Georgi
parent 9b0d8e7a1f
commit 8ef2a45bb9
3 changed files with 10 additions and 0 deletions

View File

@@ -16,6 +16,8 @@ ramstage-y += tsc_freq.c
romstage-y += tsc_freq.c
postcar-y += tsc_freq.c
smm-y += tsc_freq.c
romstage-y += spi.c
postcar-y += spi.c
ramstage-y += spi.c
smm-y += spi.c
ramstage-y += chip.c