diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2022-02-21 18:13:58 +0100 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-02-24 17:10:02 +0000 |
commit | 532e043b66a6f05ba2d8a73b431913295ed89f11 (patch) | |
tree | 2418a928b9b0b92e93b8527f9459c84e3a1db1fb /src/southbridge/amd/agesa/hudson/fadt.c | |
parent | 95f8f92451097ad52ab49affbe21ea5782e6146d (diff) |
treewide: Write minor version at acpi_create_fadt() function
When "fadt->FADT_MinorVersion" is not explicitly set to the right value, gcc sets it up to "0".
So set it correctly for treewide.
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Change-Id: Ic9a8e097f78622cd78ba432e3b1141b142485b9a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/62221
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jason Glenesk <jason.glenesk@gmail.com>
Reviewed-by: Lance Zhao
Diffstat (limited to 'src/southbridge/amd/agesa/hudson/fadt.c')
-rw-r--r-- | src/southbridge/amd/agesa/hudson/fadt.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/southbridge/amd/agesa/hudson/fadt.c b/src/southbridge/amd/agesa/hudson/fadt.c index fb887980da..3aac4506fb 100644 --- a/src/southbridge/amd/agesa/hudson/fadt.c +++ b/src/southbridge/amd/agesa/hudson/fadt.c @@ -63,7 +63,6 @@ void acpi_fill_fadt(acpi_fadt_t *fadt) ACPI_FADT_REMOTE_POWER_ON; fadt->ARM_boot_arch = 0; /* Must be zero if ACPI Revision <= 5.0 */ - fadt->FADT_MinorVersion = get_acpi_fadt_minor_version(); fadt->x_pm1a_evt_blk.space_id = ACPI_ADDRESS_SPACE_IO; fadt->x_pm1a_evt_blk.bit_width = 32; |