Nico Huber has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43860 )
Change subject: soc/intel/*: simplify XdciEnable code
......................................................................
Patch Set 6:
I just tried to find a reason to fully support this, but couldn't.
The problem why I don't see the new version as better: It raises
alarms when reading the code (without its history in mind). For
instance, when I see `...(dev)...; if (dev)` I naturally stumble
(why did we use `dev` before the NULL check?).
IIRC, I argued against is_dev_enabled() as it is, but it was merged
before I had the time to review. It hides a NULL check which makes
simple use cases look nice, but complex code less readable.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/43860
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I73f3f05d2ca5c37ed2dd521ee2d8a0f03f8b92f6
Gerrit-Change-Number: 43860
Gerrit-PatchSet: 6
Gerrit-Owner: Michael Niewöhner
Gerrit-Reviewer: Felix Singer
felixsinger@posteo.net
Gerrit-Reviewer: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Paul Menzel
paulepanter@users.sourceforge.net
Gerrit-Reviewer: Subrata Banik
subrata.banik@intel.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-Comment-Date: Wed, 29 Jul 2020 08:35:00 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: No
Gerrit-MessageType: comment