summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/x200
diff options
context:
space:
mode:
authorVladimir Serbinenko <phcoder@gmail.com>2014-08-13 23:06:07 +0200
committerVladimir Serbinenko <phcoder@gmail.com>2014-08-14 08:52:48 +0200
commitd25273e7d72b08c54eaf2b129e32542cf67643d5 (patch)
treebe4430f1cc10aa94ef03206a13dc53dfe15583a2 /src/mainboard/lenovo/x200
parent79c4ab6bfc4f256b920f6cac1eadc22d3040070a (diff)
downloadcoreboot-d25273e7d72b08c54eaf2b129e32542cf67643d5.tar.xz
gm45: Set D0F0_SKPD on normal boot path
Otherwise we get a warning on normal boot. Change-Id: Ida1e1d23e258438251d4ec2417f93ad14c3b9f7d Signed-off-by: Vladimir Serbinenko <phcoder@gmail.com> Reviewed-on: http://review.coreboot.org/6652 Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/mainboard/lenovo/x200')
-rw-r--r--src/mainboard/lenovo/x200/romstage.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/x200/romstage.c b/src/mainboard/lenovo/x200/romstage.c
index 1facacd6dd..816fde4222 100644
--- a/src/mainboard/lenovo/x200/romstage.c
+++ b/src/mainboard/lenovo/x200/romstage.c
@@ -201,6 +201,9 @@ void main(unsigned long bist)
/* Magic for S3 resume */
pci_write_config32(PCI_DEV(0, 0, 0), D0F0_SKPD, SKPAD_ACPI_S3_MAGIC);
+ } else {
+ /* Magic for S3 resume */
+ pci_write_config32(PCI_DEV(0, 0, 0), D0F0_SKPD, SKPAD_NORMAL_BOOT_MAGIC);
}
#endif
printk(BIOS_SPEW, "exit main()\n");