soc/amd,{agesa,pi}/hudson: Have do_board_reset in all stages

Change-Id: I38a721c359ab7761c5a3ea79da0c159fd7f58970
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/37711
Reviewed-by: Mike Banon <mikebdp2@gmail.com>
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Kyösti Mälkki 2019-12-13 18:11:05 +02:00 committed by Patrick Georgi
parent 41956b5742
commit 9db39879a8
5 changed files with 10 additions and 12 deletions

View File

@ -41,7 +41,6 @@ romstage-y += i2c.c
romstage-y += romstage.c romstage-y += romstage.c
romstage-y += gpio.c romstage-y += gpio.c
romstage-y += pmutil.c romstage-y += pmutil.c
romstage-y += reset.c
romstage-y += smbus.c romstage-y += smbus.c
romstage-y += memmap.c romstage-y += memmap.c
romstage-$(CONFIG_PICASSO_UART) += uart.c romstage-$(CONFIG_PICASSO_UART) += uart.c
@ -52,7 +51,6 @@ romstage-$(CONFIG_HAVE_SMI_HANDLER) += smi_util.c
verstage-y += gpio.c verstage-y += gpio.c
verstage-y += i2c.c verstage-y += i2c.c
verstage-y += pmutil.c verstage-y += pmutil.c
verstage-y += reset.c
verstage-$(CONFIG_PICASSO_UART) += uart.c verstage-$(CONFIG_PICASSO_UART) += uart.c
verstage-y += tsc_freq.c verstage-y += tsc_freq.c
@ -71,7 +69,6 @@ ramstage-y += gpio.c
ramstage-y += southbridge.c ramstage-y += southbridge.c
ramstage-y += northbridge.c ramstage-y += northbridge.c
ramstage-y += pmutil.c ramstage-y += pmutil.c
ramstage-y += reset.c
ramstage-y += acp.c ramstage-y += acp.c
ramstage-y += sata.c ramstage-y += sata.c
ramstage-y += sm.c ramstage-y += sm.c
@ -84,6 +81,8 @@ ramstage-y += usb.c
ramstage-y += tsc_freq.c ramstage-y += tsc_freq.c
ramstage-y += finalize.c ramstage-y += finalize.c
all-y += reset.c
smm-y += smihandler.c smm-y += smihandler.c
smm-y += smi_util.c smm-y += smi_util.c
smm-y += tsc_freq.c smm-y += tsc_freq.c

View File

@ -45,7 +45,6 @@ bootblock-y += i2c.c
bootblock-y += enable_usbdebug.c bootblock-y += enable_usbdebug.c
bootblock-y += monotonic_timer.c bootblock-y += monotonic_timer.c
bootblock-y += pmutil.c bootblock-y += pmutil.c
bootblock-y += reset.c
bootblock-y += tsc_freq.c bootblock-y += tsc_freq.c
bootblock-y += southbridge.c bootblock-y += southbridge.c
bootblock-$(CONFIG_HAVE_SMI_HANDLER) += smi_util.c bootblock-$(CONFIG_HAVE_SMI_HANDLER) += smi_util.c
@ -57,7 +56,6 @@ romstage-y += enable_usbdebug.c
romstage-y += gpio.c romstage-y += gpio.c
romstage-y += monotonic_timer.c romstage-y += monotonic_timer.c
romstage-y += pmutil.c romstage-y += pmutil.c
romstage-y += reset.c
romstage-y += smbus.c romstage-y += smbus.c
romstage-y += smbus_spd.c romstage-y += smbus_spd.c
romstage-y += memmap.c romstage-y += memmap.c
@ -70,7 +68,6 @@ verstage-y += gpio.c
verstage-y += i2c.c verstage-y += i2c.c
verstage-y += monotonic_timer.c verstage-y += monotonic_timer.c
verstage-y += pmutil.c verstage-y += pmutil.c
verstage-y += reset.c
verstage-$(CONFIG_STONEYRIDGE_UART) += uart.c verstage-$(CONFIG_STONEYRIDGE_UART) += uart.c
verstage-y += tsc_freq.c verstage-y += tsc_freq.c
@ -92,7 +89,6 @@ ramstage-y += monotonic_timer.c
ramstage-y += southbridge.c ramstage-y += southbridge.c
ramstage-y += northbridge.c ramstage-y += northbridge.c
ramstage-y += pmutil.c ramstage-y += pmutil.c
ramstage-y += reset.c
ramstage-y += sata.c ramstage-y += sata.c
ramstage-y += sm.c ramstage-y += sm.c
ramstage-y += smbus.c ramstage-y += smbus.c
@ -104,6 +100,8 @@ ramstage-y += usb.c
ramstage-y += tsc_freq.c ramstage-y += tsc_freq.c
ramstage-y += finalize.c ramstage-y += finalize.c
all-y += reset.c
smm-y += monotonic_timer.c smm-y += monotonic_timer.c
smm-y += smihandler.c smm-y += smihandler.c
smm-y += smi_util.c smm-y += smi_util.c

View File

@ -15,7 +15,6 @@ ramstage-y += pcie.c
ramstage-y += sd.c ramstage-y += sd.c
ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c ramstage-$(CONFIG_HAVE_ACPI_TABLES) += fadt.c
ramstage-y += reset.c
ifneq ($(CONFIG_ROMCC_BOOTBLOCK),y) ifneq ($(CONFIG_ROMCC_BOOTBLOCK),y)
bootblock-y += bootblock.c bootblock-y += bootblock.c
@ -36,6 +35,8 @@ postcar-y += ramtop.c
romstage-y += imc.c romstage-y += imc.c
ramstage-y += imc.c ramstage-y += imc.c
all-y += reset.c
smm-y += smihandler.c smi_util.c smm-y += smihandler.c smi_util.c
ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smi.c smi_util.c ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smi.c smi_util.c

View File

@ -23,11 +23,11 @@ endif
romstage-y += cfg.c romstage-y += cfg.c
romstage-y += early.c romstage-y += early.c
romstage-y += smbus.c smbus_spd.c romstage-y += smbus.c smbus_spd.c
romstage-y += reset.c
ramstage-y += cfg.c ramstage-y += cfg.c
ramstage-y += late.c ramstage-y += late.c
ramstage-y += reset.c
all-y += reset.c
ramstage-$(CONFIG_SB800_MANUAL_FAN_CONTROL) += fan.c ramstage-$(CONFIG_SB800_MANUAL_FAN_CONTROL) += fan.c
ramstage-$(CONFIG_SB800_IMC_FAN_CONTROL) += fan.c ramstage-$(CONFIG_SB800_IMC_FAN_CONTROL) += fan.c

View File

@ -42,7 +42,6 @@ romstage-y += smbus_spd.c
romstage-$(CONFIG_HUDSON_UART) += uart.c romstage-$(CONFIG_HUDSON_UART) += uart.c
verstage-y += early_setup.c verstage-y += early_setup.c
verstage-y += reset.c
verstage-$(CONFIG_HUDSON_UART) += uart.c verstage-$(CONFIG_HUDSON_UART) += uart.c
ramstage-y += enable_usbdebug.c ramstage-y += enable_usbdebug.c
@ -55,7 +54,6 @@ ramstage-$(CONFIG_HUDSON_IMC_FWM) += imc.c
ramstage-y += lpc.c ramstage-y += lpc.c
ramstage-y += pci.c ramstage-y += pci.c
ramstage-y += pcie.c ramstage-y += pcie.c
ramstage-y += reset.c
ramstage-y += sata.c ramstage-y += sata.c
ramstage-y += sd.c ramstage-y += sd.c
ramstage-y += sm.c ramstage-y += sm.c
@ -64,6 +62,8 @@ ramstage-$(CONFIG_HAVE_SMI_HANDLER) += smi_util.c
ramstage-$(CONFIG_HUDSON_UART) += uart.c ramstage-$(CONFIG_HUDSON_UART) += uart.c
ramstage-y += usb.c ramstage-y += usb.c
all-y += reset.c
smm-y += smihandler.c smm-y += smihandler.c
smm-y += smi_util.c smm-y += smi_util.c