Attention is currently required from: Nico Huber, Michał Żygowski, Paul Menzel, Michał Kopeć.
Arthur Heymans has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/61682 )
Change subject: nb/amd/common: Move RAM calcualtion to common code
......................................................................
Patch Set 5:
(3 comments)
File src/northbridge/amd/common/ram_calc.c:
https://review.coreboot.org/c/coreboot/+/61682/comment/82817812_8930c9d8
PS5, Line 28: >
Should this be >= ?
https://review.coreboot.org/c/coreboot/+/61682/comment/72dea7b8_cb083e26
PS5, Line 42:
nit: double spaces.
https://review.coreboot.org/c/coreboot/+/61682/comment/e4c37359_bdc8e48a
PS5, Line 50: *limitk += 1; /* round up last byte for northbridge resource calculation convenience */
: *limitk /= KiB; /* Normalize to KiB */
I think you need /= KiB first and then += 1.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/61682
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I3d222f6cbd26fe78d968d2883984f25e8b62ab5c
Gerrit-Change-Number: 61682
Gerrit-PatchSet: 5
Gerrit-Owner: Michał Żygowski
michal.zygowski@3mdeb.com
Gerrit-Reviewer: Michał Kopeć
michal.kopec@3mdeb.com
Gerrit-Reviewer: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Paul Menzel
paulepanter@mailbox.org
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Arthur Heymans
arthur@aheymans.xyz
Gerrit-Attention: Nico Huber
nico.h@gmx.de
Gerrit-Attention: Michał Żygowski
michal.zygowski@3mdeb.com
Gerrit-Attention: Paul Menzel
paulepanter@mailbox.org
Gerrit-Attention: Michał Kopeć
michal.kopec@3mdeb.com
Gerrit-Comment-Date: Tue, 12 Apr 2022 13:01:27 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment