summaryrefslogtreecommitdiffstats
path: root/src/southbridge/amd/pi
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2023-02-21 23:02:00 +0100
committerFelix Held <felix-coreboot@felixheld.de>2023-02-22 22:09:22 +0000
commitc98c81524ce92450478ca49834356107925cbe23 (patch)
treed53de2da0c87f7d53aad28c9f7c5f268576e8c79 /src/southbridge/amd/pi
parent5e6ff46745af8f538f3a6a8d46b388fc80f55faa (diff)
downloadcoreboot-c98c81524ce92450478ca49834356107925cbe23.tar.gz
coreboot-c98c81524ce92450478ca49834356107925cbe23.tar.bz2
coreboot-c98c81524ce92450478ca49834356107925cbe23.zip
sb/amd/pi/hudson/fadt: 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: Id2d24a9b8d5b04271eb4da6a622b5bba66dbc501 Reviewed-on: https://review.coreboot.org/c/coreboot/+/73188 Reviewed-by: Elyes Haouas <ehaouas@noos.fr> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Fred Reitberger <reitbergerfred@gmail.com>
Diffstat (limited to 'src/southbridge/amd/pi')
-rw-r--r--src/southbridge/amd/pi/hudson/fadt.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/southbridge/amd/pi/hudson/fadt.c b/src/southbridge/amd/pi/hudson/fadt.c
index 027ed78b2060..4989d6b30226 100644
--- a/src/southbridge/amd/pi/hudson/fadt.c
+++ b/src/southbridge/amd/pi/hudson/fadt.c
@@ -62,8 +62,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;