summaryrefslogtreecommitdiffstats
path: root/src/southbridge/amd/sb700/fadt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/amd/sb700/fadt.c')
-rw-r--r--src/southbridge/amd/sb700/fadt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/amd/sb700/fadt.c b/src/southbridge/amd/sb700/fadt.c
index 4a5746ccd7dd..c81e644aa728 100644
--- a/src/southbridge/amd/sb700/fadt.c
+++ b/src/southbridge/amd/sb700/fadt.c
@@ -36,7 +36,7 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
/* Prepare the header */
memset((void *)fadt, 0, sizeof(acpi_fadt_t));
memcpy(header->signature, "FACP", 4);
- header->length = 244;
+ header->length = sizeof(acpi_fadt_t);
header->revision = get_acpi_table_revision(FADT);
memcpy(header->oem_id, OEM_ID, 6);
memcpy(header->oem_table_id, ACPI_TABLE_CREATOR, 8);