Richard Spiegel has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/36811 )
Change subject: soc/amd: Move SCI enable outside table creation
......................................................................
Patch Set 3:
(1 comment)
https://review.coreboot.org/c/coreboot/+/36811/3/src/soc/amd/stoneyridge/acp...
File src/soc/amd/stoneyridge/acpi.c:
https://review.coreboot.org/c/coreboot/+/36811/3/src/soc/amd/stoneyridge/acp...
PS3, Line 81: memset((void *)fadt, 0, sizeof(acpi_fadt_t));
What's the motivation for zero-initializing each field explicitly?
I would say only code clarity, as the whole area is 0 initialized.
However, if you think that some should be removed (as you did initially) than all should be removed. And that would lose code clarity, though I will accept if you do so.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/36811
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Id7f79fc959766813d60f847482567579a02db124
Gerrit-Change-Number: 36811
Gerrit-PatchSet: 3
Gerrit-Owner: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-Reviewer: Marshall Dawson
marshalldawson3rd@gmail.com
Gerrit-Reviewer: Richard Spiegel
richard.spiegel@silverbackltd.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Comment-Date: Thu, 14 Nov 2019 15:57:37 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Kyösti Mälkki
kyosti.malkki@gmail.com
Gerrit-MessageType: comment