soc/amd/stoneyridge/Makefile: use all target for more compilation units

monotonic_timer.c, tsc_freq.c and uart.c get added to all stage targets,
so just add those to the all stage targets. They still need to be added
to the smm stage target, since the all target doesn't add things to the
smm stage.

TEST=Timeless build results in identical image for Gardenia.

Signed-off-by: Felix Held <felix-coreboot@felixheld.de>
Change-Id: I16c02bc0ff54553f212b94d110abef6a7bdedbb4
Reviewed-on: https://review.coreboot.org/c/coreboot/+/74144
Reviewed-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Felix Held 2023-03-31 15:29:13 +02:00
parent 0fb774024d
commit 3924e1891d
1 changed files with 3 additions and 15 deletions

View File

@ -5,15 +5,12 @@ ifeq ($(CONFIG_SOC_AMD_STONEYRIDGE),y)
subdirs-y += ../../../cpu/amd/mtrr/ subdirs-y += ../../../cpu/amd/mtrr/
bootblock-y += aoac.c bootblock-y += aoac.c
bootblock-y += uart.c
bootblock-y += BiosCallOuts.c bootblock-y += BiosCallOuts.c
bootblock-y += bootblock.c bootblock-y += bootblock.c
bootblock-y += early_fch.c bootblock-y += early_fch.c
bootblock-y += gpio.c bootblock-y += gpio.c
bootblock-y += i2c.c bootblock-y += i2c.c
bootblock-y += enable_usbdebug.c bootblock-y += enable_usbdebug.c
bootblock-y += monotonic_timer.c
bootblock-y += tsc_freq.c
romstage-y += BiosCallOuts.c romstage-y += BiosCallOuts.c
romstage-y += i2c.c romstage-y += i2c.c
@ -21,24 +18,15 @@ romstage-y += romstage.c
romstage-y += enable_usbdebug.c romstage-y += enable_usbdebug.c
romstage-y += fch_agesa.c romstage-y += fch_agesa.c
romstage-y += gpio.c romstage-y += gpio.c
romstage-y += monotonic_timer.c
romstage-y += smbus_spd.c romstage-y += smbus_spd.c
romstage-y += memmap.c romstage-y += memmap.c
romstage-y += uart.c
romstage-y += tsc_freq.c
romstage-y += psp.c romstage-y += psp.c
verstage-y += gpio.c verstage-y += gpio.c
verstage-y += i2c.c verstage-y += i2c.c
verstage-y += monotonic_timer.c
verstage-y += uart.c
verstage-y += tsc_freq.c
postcar-y += monotonic_timer.c
postcar-y += uart.c
postcar-y += memmap.c postcar-y += memmap.c
postcar-$(CONFIG_VBOOT_MEASURED_BOOT) += i2c.c postcar-$(CONFIG_VBOOT_MEASURED_BOOT) += i2c.c
postcar-y += tsc_freq.c
ramstage-y += BiosCallOuts.c ramstage-y += BiosCallOuts.c
ramstage-y += i2c.c ramstage-y += i2c.c
@ -51,16 +39,16 @@ ramstage-y += fch.c
ramstage-y += fch_agesa.c ramstage-y += fch_agesa.c
ramstage-y += gpio.c ramstage-y += gpio.c
ramstage-y += graphics.c ramstage-y += graphics.c
ramstage-y += monotonic_timer.c
ramstage-y += northbridge.c ramstage-y += northbridge.c
ramstage-y += sata.c ramstage-y += sata.c
ramstage-y += memmap.c ramstage-y += memmap.c
ramstage-y += uart.c
ramstage-y += usb.c ramstage-y += usb.c
ramstage-y += tsc_freq.c
ramstage-y += psp.c ramstage-y += psp.c
all-y += monotonic_timer.c
all-y += reset.c all-y += reset.c
all-y += tsc_freq.c
all-y += uart.c
smm-y += monotonic_timer.c smm-y += monotonic_timer.c
smm-y += smihandler.c smm-y += smihandler.c