asus/f2a85-m msi/ms7721: Enable MMCONF early
PCI MMCONF access only works after amd_initmmio() call. Change-Id: I5765604e178d09abdd6bb6ce7cc220bc5b35ed03 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/17565 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin <adurbin@chromium.org>
This commit is contained in:
parent
7d25651ed3
commit
de43dd6314
|
@ -64,6 +64,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
||||||
u8 byte;
|
u8 byte;
|
||||||
pci_devfn_t dev;
|
pci_devfn_t dev;
|
||||||
|
|
||||||
|
amd_initmmio();
|
||||||
|
|
||||||
#if IS_ENABLED(CONFIG_POST_DEVICE_PCI_PCIE)
|
#if IS_ENABLED(CONFIG_POST_DEVICE_PCI_PCIE)
|
||||||
hudson_pci_port80();
|
hudson_pci_port80();
|
||||||
#endif
|
#endif
|
||||||
|
@ -71,8 +73,6 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
||||||
hudson_lpc_port80();
|
hudson_lpc_port80();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
amd_initmmio();
|
|
||||||
|
|
||||||
if (!cpu_init_detectedx && boot_cpu()) {
|
if (!cpu_init_detectedx && boot_cpu()) {
|
||||||
|
|
||||||
/* enable SIO LPC decode */
|
/* enable SIO LPC decode */
|
||||||
|
|
|
@ -128,6 +128,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
||||||
u8 byte;
|
u8 byte;
|
||||||
pci_devfn_t dev;
|
pci_devfn_t dev;
|
||||||
|
|
||||||
|
amd_initmmio();
|
||||||
|
|
||||||
#if IS_ENABLED(CONFIG_POST_DEVICE_PCI_PCIE)
|
#if IS_ENABLED(CONFIG_POST_DEVICE_PCI_PCIE)
|
||||||
hudson_pci_port80();
|
hudson_pci_port80();
|
||||||
#endif
|
#endif
|
||||||
|
@ -135,8 +137,6 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
|
||||||
hudson_lpc_port80();
|
hudson_lpc_port80();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
amd_initmmio();
|
|
||||||
|
|
||||||
if (!cpu_init_detectedx && boot_cpu()) {
|
if (!cpu_init_detectedx && boot_cpu()) {
|
||||||
|
|
||||||
/* enable SIO LPC decode */
|
/* enable SIO LPC decode */
|
||||||
|
|
Loading…
Reference in New Issue