summaryrefslogtreecommitdiff
path: root/src/mainboard/siemens
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/siemens')
-rw-r--r--src/mainboard/siemens/mc_bdx1/fadt.c4
-rw-r--r--src/mainboard/siemens/mc_tcu3/fadt.c4
2 files changed, 2 insertions, 6 deletions
diff --git a/src/mainboard/siemens/mc_bdx1/fadt.c b/src/mainboard/siemens/mc_bdx1/fadt.c
index b274531ca6..5af6056b49 100644
--- a/src/mainboard/siemens/mc_bdx1/fadt.c
+++ b/src/mainboard/siemens/mc_bdx1/fadt.c
@@ -23,7 +23,5 @@ void acpi_create_fadt(acpi_fadt_t *fadt, acpi_facs_t *facs, void *dsdt)
/* Platform specific customizations go here */
- header->checksum = 0;
- header->checksum =
- acpi_checksum((void *) fadt, sizeof(acpi_fadt_t));
+ header->checksum = acpi_checksum((void *) fadt, sizeof(acpi_fadt_t));
}
diff --git a/src/mainboard/siemens/mc_tcu3/fadt.c b/src/mainboard/siemens/mc_tcu3/fadt.c
index 8e8de51668..8fee54b63e 100644
--- a/src/mainboard/siemens/mc_tcu3/fadt.c
+++ b/src/mainboard/siemens/mc_tcu3/fadt.c
@@ -25,7 +25,5 @@ void acpi_create_fadt(acpi_fadt_t * fadt, acpi_facs_t * facs, void *dsdt)
/* Platform specific customizations go here */
- header->checksum = 0;
- header->checksum =
- acpi_checksum((void *) fadt, sizeof(acpi_fadt_t));
+ header->checksum = acpi_checksum((void *) fadt, sizeof(acpi_fadt_t));
}