summaryrefslogtreecommitdiff
path: root/src/mainboard/apple
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2020-06-29 07:57:27 +0200
committerPatrick Georgi <pgeorgi@google.com>2020-06-30 05:57:48 +0000
commite8d230d65d9cba20da77d0c5d200edf40286e09d (patch)
tree8963c711d485593b63a8e88126e693a125049b80 /src/mainboard/apple
parent421184e73a33c4312f09e778bb2974945b31ed5f (diff)
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>
Diffstat (limited to 'src/mainboard/apple')
-rw-r--r--src/mainboard/apple/macbook21/mainboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/apple/macbook21/mainboard.c b/src/mainboard/apple/macbook21/mainboard.c
index 509784f337..447837ba54 100644
--- a/src/mainboard/apple/macbook21/mainboard.c
+++ b/src/mainboard/apple/macbook21/mainboard.c
@@ -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,
}