summaryrefslogtreecommitdiff
path: root/src/mainboard/lippert/frontrunner-af
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2017-09-01 06:13:08 +0300
committerKyösti Mälkki <kyosti.malkki@gmail.com>2017-09-06 22:23:19 +0000
commit64df52e269d5ec2c04bd7b65381b21d6966326af (patch)
treed33259218802b3197b964393c84958c1ec459705 /src/mainboard/lippert/frontrunner-af
parent081b66951f04bb67ad2d04750212a45fc0c24e90 (diff)
downloadcoreboot-64df52e269d5ec2c04bd7b65381b21d6966326af.tar.xz
AGESA f14: Work around soft-resets
Vendorcode expects some DRAM controller registers to be writable, but they are actually locked after soft resets if C6 states are enabled. Without the workaround, raminit fails on soft resets. Change-Id: I6b9e275e11b2907d026c13341334983a4d9c8889 Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/21317 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/mainboard/lippert/frontrunner-af')
-rw-r--r--src/mainboard/lippert/frontrunner-af/romstage.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/mainboard/lippert/frontrunner-af/romstage.c b/src/mainboard/lippert/frontrunner-af/romstage.c
index 8a54555841..195ce4665a 100644
--- a/src/mainboard/lippert/frontrunner-af/romstage.c
+++ b/src/mainboard/lippert/frontrunner-af/romstage.c
@@ -23,15 +23,3 @@ void board_BeforeAgesa(struct sysinfo *cb)
{
smscsuperio_enable_serial(SERIAL_DEV, CONFIG_TTYS0_BASE);
}
-
-#if 0
- post_code(0x40);
- /* Reboots with outb(3,0x92), outb(4,0xcf9) or triple-fault all
- * hang, looks like DRAM re-init goes wrong, don't know why. */
- val = agesawrapper_amdinitpost();
- if (val == 7) /* fatal, amdinitenv below is going to hang */
- outb(0x06, 0x0cf9); /* reset system harder instead */
-
- post_code(0x42);
- agesawrapper_amdinitenv();
-#endif