summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/i82801jx/fadt.c
diff options
context:
space:
mode:
authorFelix Held <felix-coreboot@felixheld.de>2022-10-14 18:41:03 +0200
committerFelix Held <felix-coreboot@felixheld.de>2022-10-15 16:53:55 +0000
commit96fa2377e217c7b30a72e039f672b6841bc920aa (patch)
treeaa841920b3f269f376266f4daa9071f53a7c1344 /src/southbridge/intel/i82801jx/fadt.c
parent769b6579da98423671849b1a8080fa151d4f4f0c (diff)
treewide: Use 'fadt->x_pm2_cnt_blk.addrl = fadt->pm2_cnt_blk'
Signed-off-by: Felix Held <felix-coreboot@felixheld.de> Change-Id: Iaecb83c3bc9c75dab427a3ca54da1e6a8f87cf9a Reviewed-on: https://review.coreboot.org/c/coreboot/+/68428 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Diffstat (limited to 'src/southbridge/intel/i82801jx/fadt.c')
-rw-r--r--src/southbridge/intel/i82801jx/fadt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/i82801jx/fadt.c b/src/southbridge/intel/i82801jx/fadt.c
index 27a886443c..9d60ca5a1b 100644
--- a/src/southbridge/intel/i82801jx/fadt.c
+++ b/src/southbridge/intel/i82801jx/fadt.c
@@ -59,7 +59,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt)
fadt->x_pm2_cnt_blk.bit_width = fadt->pm2_cnt_len * 8;
fadt->x_pm2_cnt_blk.bit_offset = 0;
fadt->x_pm2_cnt_blk.access_size = ACPI_ACCESS_SIZE_BYTE_ACCESS;
- fadt->x_pm2_cnt_blk.addrl = pmbase + PM2_CNT;
+ fadt->x_pm2_cnt_blk.addrl = fadt->pm2_cnt_blk;
fadt->x_pm2_cnt_blk.addrh = 0x0;
fadt->x_pm_tmr_blk.space_id = ACPI_ADDRESS_SPACE_IO;