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)
This commit is contained in:
parent
79c4ab6bfc
commit
d25273e7d7
|
@ -201,6 +201,9 @@ void main(unsigned long bist)
|
||||||
|
|
||||||
/* Magic for S3 resume */
|
/* Magic for S3 resume */
|
||||||
pci_write_config32(PCI_DEV(0, 0, 0), D0F0_SKPD, SKPAD_ACPI_S3_MAGIC);
|
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
|
#endif
|
||||||
printk(BIOS_SPEW, "exit main()\n");
|
printk(BIOS_SPEW, "exit main()\n");
|
||||||
|
|
|
@ -207,6 +207,9 @@ void main(unsigned long bist)
|
||||||
|
|
||||||
/* Magic for S3 resume */
|
/* Magic for S3 resume */
|
||||||
pci_write_config32(PCI_DEV(0, 0, 0), D0F0_SKPD, SKPAD_ACPI_S3_MAGIC);
|
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
|
#endif
|
||||||
printk(BIOS_SPEW, "exit main()\n");
|
printk(BIOS_SPEW, "exit main()\n");
|
||||||
|
|
Loading…
Reference in New Issue