diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2022-10-11 12:55:36 +0200 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-10-12 14:16:41 +0000 |
commit | a6e0538270ebda546fc00cf9bc5deeda64c613f9 (patch) | |
tree | 5d55e949d14df66f96b39c96477de1e7fd35c809 /src/southbridge/intel/ibexpeak/fadt.c | |
parent | 84dbace1ea49131d1647a8be994ed8d6776f03c5 (diff) |
treewide: Use 'fadt->pm1_evt_len' for 'x_pm1a_evt_blk.bit_width'
Change-Id: I1e51ccad32f1c5e692c76b331eedf4d3bb260d38
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/68269
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Held <felix-coreboot@felixheld.de>
Diffstat (limited to 'src/southbridge/intel/ibexpeak/fadt.c')
-rw-r--r-- | src/southbridge/intel/ibexpeak/fadt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/ibexpeak/fadt.c b/src/southbridge/intel/ibexpeak/fadt.c index 7f2254167c..8424a1ddff 100644 --- a/src/southbridge/intel/ibexpeak/fadt.c +++ b/src/southbridge/intel/ibexpeak/fadt.c @@ -51,7 +51,7 @@ void acpi_fill_fadt(acpi_fadt_t *fadt) } fadt->x_pm1a_evt_blk.space_id = ACPI_ADDRESS_SPACE_IO; - fadt->x_pm1a_evt_blk.bit_width = 32; + fadt->x_pm1a_evt_blk.bit_width = fadt->pm1_evt_len * 8; fadt->x_pm1a_evt_blk.bit_offset = 0; fadt->x_pm1a_evt_blk.access_size = ACPI_ACCESS_SIZE_WORD_ACCESS; fadt->x_pm1a_evt_blk.addrl = pmbase; |