aboutsummaryrefslogtreecommitdiff
path: root/src/mainboard/amd/persimmon/romstage.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/amd/persimmon/romstage.c')
-rw-r--r--src/mainboard/amd/persimmon/romstage.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/mainboard/amd/persimmon/romstage.c b/src/mainboard/amd/persimmon/romstage.c
index 5434ed3fe2..b0c1624780 100644
--- a/src/mainboard/amd/persimmon/romstage.c
+++ b/src/mainboard/amd/persimmon/romstage.c
@@ -60,6 +60,8 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
/* All cores: set pstate 0 (1600 MHz) early to save a few ms of boot time */
__writemsr (0xc0010062, 0);
+ agesawrapper_amdinitmmio();
+
if (!cpu_init_detectedx && boot_cpu()) {
post_code(0x30);
sb_Poweron_Init();
@@ -78,9 +80,6 @@ void cache_as_ram_main(unsigned long bist, unsigned long cpu_init_detectedx)
printk(BIOS_DEBUG, "BSP Family_Model: %08x\n", val);
printk(BIOS_DEBUG, "cpu_init_detectedx = %08lx\n", cpu_init_detectedx);
- post_code(0x35);
- agesawrapper_amdinitmmio();
-
post_code(0x37);
agesawrapper_amdinitreset();