Furquan Shaikh has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/39810 )
Change subject: memranges: Change align attribute to be log2 of required alignment
......................................................................
Patch Set 5:
(2 comments)
https://review.coreboot.org/c/coreboot/+/39810/2/src/include/memrange.h
File src/include/memrange.h:
https://review.coreboot.org/c/coreboot/+/39810/2/src/include/memrange.h@116
PS2, Line 116: log2(4 * KiB)
We could just use '12'. […]
True. I will update this.
https://review.coreboot.org/c/coreboot/+/39810/2/src/lib/memrange.c
File src/lib/memrange.c:
https://review.coreboot.org/c/coreboot/+/39810/2/src/lib/memrange.c@236
PS2, Line 236: 1
1ULL throughout as resource_t is a 64-bit value.
Done
--
To view, visit
https://review.coreboot.org/c/coreboot/+/39810
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ie4d3868cdff55b2c7908b9b3ccd5f30a5288e62f
Gerrit-Change-Number: 39810
Gerrit-PatchSet: 5
Gerrit-Owner: Furquan Shaikh
furquan@google.com
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Duncan Laurie
dlaurie@chromium.org
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-Comment-Date: Thu, 26 Mar 2020 18:42:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Aaron Durbin
adurbin@chromium.org
Gerrit-MessageType: comment