soc/amd/common/block: Enable MMCONF first
Enabling MMCONF is simple and should be done first to allow bootblock code to access the PCI config space. Required to cache ROM3 in early_cache_setup() that is now called directly after enabling MMCONF. Change-Id: I5d5f533258985211afafd9bf748f8e26f6128bd4 Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/86619 Reviewed-by: Naresh <naresh.solanki.2011@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
cbbf380fa4
commit
e4fc00adbe
1 changed files with 1 additions and 1 deletions
|
|
@ -12,9 +12,9 @@
|
|||
|
||||
asmlinkage void bootblock_c_entry(uint64_t base_timestamp)
|
||||
{
|
||||
enable_pci_mmconf();
|
||||
early_cache_setup();
|
||||
write_resume_eip();
|
||||
enable_pci_mmconf();
|
||||
|
||||
if (CONFIG(VBOOT_STARTS_BEFORE_BOOTBLOCK))
|
||||
boot_with_psp_timestamp(base_timestamp);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue