soc/amd/stoneyridge: Call sb_spibase() early

Call sb_spibase() early so that it will set up the SPI base address.
This is another step to moving AGESA calls out of the bootblock.

BUG=b:74427893
BRANCH=master
TEST=Build and boot Grunt.

Change-Id: I665d32f3acb0046eb6abbd363735561f0372f2a0
Signed-off-by: Garrett Kirkendall <garrett.kirkendall@amd.corp-partner.google.com>
Reviewed-on: https://review.coreboot.org/25246
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Richard Spiegel <richard.spiegel@silverbackltd.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
This commit is contained in:
Garrett Kirkendall 2018-03-16 13:00:46 -05:00 committed by Aaron Durbin
parent fd228e979c
commit 64294eb5e2
1 changed files with 1 additions and 0 deletions

View File

@ -559,6 +559,7 @@ void bootblock_fch_early_init(void)
sb_enable_rom(); sb_enable_rom();
sb_lpc_port80(); sb_lpc_port80();
sb_lpc_decode(); sb_lpc_decode();
sb_spibase();
sb_acpi_mmio_decode(); sb_acpi_mmio_decode();
enable_aoac_devices(); enable_aoac_devices();
} }