diff options
author | Stefan Reinauer <stepan@coresystems.de> | 2010-04-06 21:50:21 +0000 |
---|---|---|
committer | Stefan Reinauer <stepan@openbios.org> | 2010-04-06 21:50:21 +0000 |
commit | 8f2c616dbc7f36bf63d61960c2e14c6ca1c5af22 (patch) | |
tree | b1ede5972569c6aeb57961a5fdbd219019902c8f /src/southbridge/via/vt8237r | |
parent | 233f186e95cf76d3a5bb5a7224769f63c36c5931 (diff) | |
download | coreboot-8f2c616dbc7f36bf63d61960c2e14c6ca1c5af22.tar.xz |
No warnings day, next round.
Signed-off-by: Stefan Reinauer <stepan@coresystems.de>
Acked-by: Stefan Reinauer <stepan@coresystems.de>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@5359 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'src/southbridge/via/vt8237r')
-rw-r--r-- | src/southbridge/via/vt8237r/vt8237_fadt.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/southbridge/via/vt8237r/vt8237_fadt.c b/src/southbridge/via/vt8237r/vt8237_fadt.c index 98dfd9a337..6976f4d447 100644 --- a/src/southbridge/via/vt8237r/vt8237_fadt.c +++ b/src/southbridge/via/vt8237r/vt8237_fadt.c @@ -51,8 +51,8 @@ void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt) memcpy(header->asl_compiler_id, "CORE", 4); header->asl_compiler_revision = 42; - fadt->firmware_ctrl = facs; - fadt->dsdt = dsdt; + fadt->firmware_ctrl = (u32)facs; + fadt->dsdt = (u32)dsdt; fadt->preferred_pm_profile = 0; fadt->sci_int = 9; fadt->smi_cmd = 0; @@ -108,9 +108,9 @@ void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt) fadt->reset_reg.addrh = 0x0; fadt->reset_value = 0; - fadt->x_firmware_ctl_l = facs; + fadt->x_firmware_ctl_l = (u32)facs; fadt->x_firmware_ctl_h = 0; - fadt->x_dsdt_l = dsdt; + fadt->x_dsdt_l = (u32)dsdt; fadt->x_dsdt_h = 0; fadt->x_pm1a_evt_blk.space_id = 1; |