soc/amd/picasso,stoneyridge/acpi: drop unneeded ARM_boot_arch assignment
The FADT data structure is zero-initialized in acpi_create_fadt which then calls the SoC-specific acpi_fill_fadt function, therefore it's not needed to assign 0 to the ARM_boot_arch FADT field in acpi_fill_fadt. Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Ica968db1228a2d63e83f2b6c4ea57c5f02bf1504 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73187 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
This commit is contained in:
parent
19248226f5
commit
5e6ff46745
|
@ -100,8 +100,6 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
|||
ACPI_FADT_REMOTE_POWER_ON;
|
||||
fadt->flags |= cfg->fadt_flags; /* additional board-specific flags */
|
||||
|
||||
fadt->ARM_boot_arch = 0; /* Must be zero if ACPI Revision <= 5.0 */
|
||||
|
||||
fadt->x_firmware_ctl_l = 0; /* set to 0 if firmware_ctrl is used */
|
||||
fadt->x_firmware_ctl_h = 0;
|
||||
}
|
||||
|
|
|
@ -91,8 +91,6 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
|
|||
ACPI_FADT_S4_RTC_VALID |
|
||||
ACPI_FADT_REMOTE_POWER_ON;
|
||||
|
||||
fadt->ARM_boot_arch = 0; /* Must be zero if ACPI Revision <= 5.0 */
|
||||
|
||||
fadt->x_firmware_ctl_l = 0; /* set to 0 if firmware_ctrl is used */
|
||||
fadt->x_firmware_ctl_h = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue