summaryrefslogtreecommitdiffstats
path: root/src/soc/intel/common
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-10-11 14:02:27 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-10-12 14:18:44 +0000
commitc60f3b2ced3a0a5fccd5a8b7a765fc723856d58b (patch)
treeed63e07aef468e81efcb9d93c349e65482c6b933 /src/soc/intel/common
parent987f1f439b3fb73a68966ba83e0ae0f669cd4052 (diff)
downloadcoreboot-c60f3b2ced3a0a5fccd5a8b7a765fc723856d58b.tar.gz
coreboot-c60f3b2ced3a0a5fccd5a8b7a765fc723856d58b.tar.bz2
coreboot-c60f3b2ced3a0a5fccd5a8b7a765fc723856d58b.zip
treewide: Use 'fadt->x_pm1a_cnt_blk.addrl = fadt->pm1a_cnt_blk'
Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Change-Id: Ic48c5c165732c8397c06a2362191a94ae5805cf1 Reviewed-on: https://review.coreboot.org/c/coreboot/+/68276 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/soc/intel/common')
-rw-r--r--src/soc/intel/common/block/acpi/acpi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/soc/intel/common/block/acpi/acpi.c b/src/soc/intel/common/block/acpi/acpi.c
index 2e6ee7c438c3..05695b007623 100644
--- a/src/soc/intel/common/block/acpi/acpi.c
+++ b/src/soc/intel/common/block/acpi/acpi.c
@@ -150,7 +150,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
fadt->x_pm1a_cnt_blk.space_id = ACPI_ADDRESS_SPACE_IO;
fadt->x_pm1a_cnt_blk.bit_width = fadt->pm1_cnt_len * 8;
- fadt->x_pm1a_cnt_blk.addrl = pmbase + PM1_CNT;
+ fadt->x_pm1a_cnt_blk.addrl = fadt->pm1a_cnt_blk;
fadt->x_pm1a_cnt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS;
/*