aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2013-07-17 08:14:53 +0300
committerGerd Hoffmann <kraxel@redhat.com>2013-08-09 10:28:58 +0200
commit43937d8c70e6e75a2b1e0030324d0e51c7d87f71 (patch)
treebf7985d125bace57bde23025bf13ca62057add3d
parent84c97cc0b3efd9d521a22d5c1f528902bd670c15 (diff)
downloadseabios-43937d8c70e6e75a2b1e0030324d0e51c7d87f71.zip
seabios-43937d8c70e6e75a2b1e0030324d0e51c7d87f71.tar.gz
seabios-43937d8c70e6e75a2b1e0030324d0e51c7d87f71.tar.bz2
acpi: sync FADT flags from PIIX4 to Q35
The following commits updated the FADT flags for PIIX4: commit c7be281b3be0f2013aa4b5d5f400981a1adb6e63 Drop FIX_RTC flag from FADT. commit a4e2b9adbba95c2d783761e84444bbb3c8d6107b enable USE_PLATFORM_CLOCK bit in FADT flags Q35 support was originally written before these commits in seabios, PIIX got updated, Q35 didn't. QEMU uses the same clock for both so there's no reason for these bits to differ. Sync them up. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> (cherry picked from commit ed88f6515c18d9520efa4a41ccb70038dfbe43f9)
-rw-r--r--src/acpi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/acpi.c b/src/acpi.c
index ce988e0..3699898 100644
--- a/src/acpi.c
+++ b/src/acpi.c
@@ -86,9 +86,9 @@ void ich9_lpc_fadt_setup(struct pci_device *dev, void *arg)
fadt->gpe0_blk_len = ICH9_PMIO_GPE0_BLK_LEN;
fadt->plvl2_lat = cpu_to_le16(0xfff); // C2 state not supported
fadt->plvl3_lat = cpu_to_le16(0xfff); // C3 state not supported
- /* WBINVD + PROC_C1 + SLP_BUTTON + FIX_RTC + RTC_S4 */
- fadt->flags = cpu_to_le32((1 << 0) | (1 << 2) | (1 << 5) | (1 << 6) |
- (1 << 7));
+ /* WBINVD + PROC_C1 + SLP_BUTTON + RTC_S4 + USE_PLATFORM_CLOCK */
+ fadt->flags = cpu_to_le32((1 << 0) | (1 << 2) | (1 << 5) | (1 << 7) |
+ (1 << 15));
}
static const struct pci_device_id fadt_init_tbl[] = {