src/mb: Use macro for access_size
Change-Id: I275c86ef5833d87378cff1e1bd228776e007dad3 Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/42728 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Patrick Georgi <pgeorgi@google.com>
This commit is contained in:
parent
421184e73a
commit
e8d230d65d
|
@ -17,7 +17,7 @@ static acpi_cstate_t cst_entries[] = {
|
|||
.space_id = ACPI_ADDRESS_SPACE_FIXED,
|
||||
.bit_width = ACPI_FFIXEDHW_VENDOR_INTEL,
|
||||
.bit_offset = ACPI_FFIXEDHW_CLASS_MWAIT,
|
||||
.access_size = 0,
|
||||
.access_size = ACPI_ACCESS_SIZE_UNDEFINED,
|
||||
.addrl = 0,
|
||||
.addrh = 0,
|
||||
}
|
||||
|
@ -30,7 +30,7 @@ static acpi_cstate_t cst_entries[] = {
|
|||
.space_id = ACPI_ADDRESS_SPACE_FIXED,
|
||||
.bit_width = ACPI_FFIXEDHW_VENDOR_INTEL,
|
||||
.bit_offset = ACPI_FFIXEDHW_CLASS_MWAIT,
|
||||
.access_size = 0,
|
||||
.access_size = ACPI_ACCESS_SIZE_UNDEFINED,
|
||||
.addrl = 0x10,
|
||||
.addrh = 0,
|
||||
}
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
.space_id = ACPI_ADDRESS_SPACE_FIXED, \
|
||||
.bit_width = ACPI_FFIXEDHW_VENDOR_INTEL, \
|
||||
.bit_offset = ACPI_FFIXEDHW_CLASS_MWAIT, \
|
||||
.access_size = 0, \
|
||||
.access_size = ACPI_ACCESS_SIZE_UNDEFINED, \
|
||||
.addrl = (((state) << 4) | (sub_state)), \
|
||||
.addrh = 0, \
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue