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
This commit is contained in:
@ -106,7 +106,6 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
||||
fadt->flags |= cfg->fadt_flags; /* additional board-specific flags */
|
||||
|
||||
fadt->ARM_boot_arch = 0; /* Must be zero if ACPI Revision <= 5.0 */
|
||||
fadt->FADT_MinorVersion = get_acpi_fadt_minor_version();
|
||||
|
||||
fadt->x_firmware_ctl_l = 0; /* set to 0 if firmware_ctrl is used */
|
||||
fadt->x_firmware_ctl_h = 0;
|
||||
|
Reference in New Issue
Block a user