HAOUAS Elyes has uploaded this change for review. ( https://review.coreboot.org/c/coreboot/+/42728 )
Change subject: src/mb: Use macro for access_size ......................................................................
src/mb: Use macro for access_size
Change-Id: I275c86ef5833d87378cff1e1bd228776e007dad3 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/mainboard/apple/macbook21/mainboard.c M src/mainboard/lenovo/x60/mainboard.c 2 files changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/42728/1
diff --git a/src/mainboard/apple/macbook21/mainboard.c b/src/mainboard/apple/macbook21/mainboard.c index 509784f..447837b 100644 --- a/src/mainboard/apple/macbook21/mainboard.c +++ b/src/mainboard/apple/macbook21/mainboard.c @@ -17,7 +17,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 = 0, .addrh = 0, } @@ -30,7 +30,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 = 0x10, .addrh = 0, } diff --git a/src/mainboard/lenovo/x60/mainboard.c b/src/mainboard/lenovo/x60/mainboard.c index f88ff00..1623ddc 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, \ }
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42728 )
Change subject: src/mb: Use macro for access_size ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/42728/1/src/mainboard/lenovo/x60/ma... File src/mainboard/lenovo/x60/mainboard.c:
https://review.coreboot.org/c/coreboot/+/42728/1/src/mainboard/lenovo/x60/ma... PS1, Line 23: .access_size = ACPI_ACCESS_SIZE_UNDEFINED, \ Is the alignment of the \ still correct?
(It also needs clean-up to use tabs consistently for aligning the .)
Hello build bot (Jenkins), Paul Menzel, Evgeny Zinoviev, Alexander Couzens, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/42728
to look at the new patch set (#2).
Change subject: src/mb: Use macro for access_size ......................................................................
src/mb: Use macro for access_size
Also use tabs for aligning the "".
Change-Id: I275c86ef5833d87378cff1e1bd228776e007dad3 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/mainboard/apple/macbook21/mainboard.c M src/mainboard/lenovo/x60/mainboard.c 2 files changed, 11 insertions(+), 11 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/42728/2
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42728 )
Change subject: src/mb: Use macro for access_size ......................................................................
Patch Set 1:
(1 comment)
https://review.coreboot.org/c/coreboot/+/42728/1/src/mainboard/lenovo/x60/ma... File src/mainboard/lenovo/x60/mainboard.c:
https://review.coreboot.org/c/coreboot/+/42728/1/src/mainboard/lenovo/x60/ma... PS1, Line 23: .access_size = ACPI_ACCESS_SIZE_UNDEFINED, \
Is the alignment of the \ still correct? […]
Thx. Done
Paul Menzel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42728 )
Change subject: src/mb: Use macro for access_size ......................................................................
Patch Set 2: Code-Review+1
(1 comment)
https://review.coreboot.org/c/coreboot/+/42728/1/src/mainboard/lenovo/x60/ma... File src/mainboard/lenovo/x60/mainboard.c:
https://review.coreboot.org/c/coreboot/+/42728/1/src/mainboard/lenovo/x60/ma... PS1, Line 23: .access_size = ACPI_ACCESS_SIZE_UNDEFINED, \
Thx. […]
A separate clean-up commit would have been nice.
Hello build bot (Jenkins), Paul Menzel, Evgeny Zinoviev, Alexander Couzens, Patrick Rudolph,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/42728
to look at the new patch set (#3).
Change subject: src/mb: Use macro for access_size ......................................................................
src/mb: Use macro for access_size
Change-Id: I275c86ef5833d87378cff1e1bd228776e007dad3 Signed-off-by: Elyes HAOUAS ehaouas@noos.fr --- M src/mainboard/apple/macbook21/mainboard.c M src/mainboard/lenovo/x60/mainboard.c 2 files changed, 3 insertions(+), 3 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/28/42728/3
HAOUAS Elyes has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42728 )
Change subject: src/mb: Use macro for access_size ......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/c/coreboot/+/42728/1/src/mainboard/lenovo/x60/ma... File src/mainboard/lenovo/x60/mainboard.c:
https://review.coreboot.org/c/coreboot/+/42728/1/src/mainboard/lenovo/x60/ma... PS1, Line 23: .access_size = ACPI_ACCESS_SIZE_UNDEFINED, \
A separate clean-up commit would have been nice.
done
Patrick Georgi has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/42728 )
Change subject: src/mb: Use macro for access_size ......................................................................
Patch Set 3: Code-Review+2
Patrick Georgi has submitted this change. ( https://review.coreboot.org/c/coreboot/+/42728 )
Change subject: src/mb: Use macro for access_size ......................................................................
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 --- M src/mainboard/apple/macbook21/mainboard.c M src/mainboard/lenovo/x60/mainboard.c 2 files changed, 3 insertions(+), 3 deletions(-)
Approvals: build bot (Jenkins): Verified Patrick Georgi: Looks good to me, approved
diff --git a/src/mainboard/apple/macbook21/mainboard.c b/src/mainboard/apple/macbook21/mainboard.c index 509784f..447837b 100644 --- a/src/mainboard/apple/macbook21/mainboard.c +++ b/src/mainboard/apple/macbook21/mainboard.c @@ -17,7 +17,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 = 0, .addrh = 0, } @@ -30,7 +30,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 = 0x10, .addrh = 0, } diff --git a/src/mainboard/lenovo/x60/mainboard.c b/src/mainboard/lenovo/x60/mainboard.c index 5210040..f6930bb9 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, \ }