Michael Niewöhner has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/43846 )
Change subject: soc/skylake: Enable DCI depending on devicetree configuration
......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/43846/2/src/soc/intel/skylake/chip....
File src/soc/intel/skylake/chip.c:
https://review.coreboot.org/c/coreboot/+/43846/2/src/soc/intel/skylake/chip....
PS2, Line 340: dev = pcidev_path_on_root(PCH_DEVFN_USBOTG);
: if (dev) {
: if (!xdci_can_enable())
: dev->enabled = 0;
: params->XdciEnable = dev->enabled;
: } else {
: params->XdciEnable = 0;
: }
XdciEnable is controlled here already but this could be simplified...
dev = pcidev_path_on_root(PCH_DEVFN_USBOTG);
dev->enabled = dev && dev->enabled && xdci_can_enable();
params->XdciEnable = dev->enabled;
--
To view, visit
https://review.coreboot.org/c/coreboot/+/43846
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: Ic816655d87cee9e56520aa30fc3c837b561f24e5
Gerrit-Change-Number: 43846
Gerrit-PatchSet: 2
Gerrit-Owner: Felix Singer
felixsinger@posteo.net
Gerrit-Reviewer: Felix Singer
felixsinger@posteo.net
Gerrit-Reviewer: David Hendricks
david.hendricks@gmail.com
Gerrit-Reviewer: Martin Roth
martinroth@google.com
Gerrit-Reviewer: Matt DeVillier
matt.devillier@gmail.com
Gerrit-Reviewer: Michael Niewöhner
Gerrit-Reviewer: Michał Żygowski
michal.zygowski@3mdeb.com
Gerrit-Reviewer: Patrick Georgi
pgeorgi@google.com
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Piotr Król
piotr.krol@3mdeb.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Angel Pons
th3fanbus@gmail.com
Gerrit-Comment-Date: Sat, 25 Jul 2020 10:37:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment