diff options
author | Elyes HAOUAS <ehaouas@noos.fr> | 2020-06-29 07:57:27 +0200 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2020-06-30 05:57:48 +0000 |
commit | e8d230d65d9cba20da77d0c5d200edf40286e09d (patch) | |
tree | 8963c711d485593b63a8e88126e693a125049b80 /src/mainboard | |
parent | 421184e73a33c4312f09e778bb2974945b31ed5f (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')
-rw-r--r-- | src/mainboard/apple/macbook21/mainboard.c | 4 | ||||
-rw-r--r-- | src/mainboard/lenovo/x60/mainboard.c | 2 |
2 files changed, 3 insertions, 3 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, } diff --git a/src/mainboard/lenovo/x60/mainboard.c b/src/mainboard/lenovo/x60/mainboard.c index 5210040384..f6930bb93f 100644 --- a/src/mainboard/lenovo/x60/mainboard.c +++ b/src/mainboard/lenovo/x60/mainboard.c @@ -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, \ } |