Martin Roth has posted comments on this change. ( https://review.coreboot.org/c/coreboot/+/34287 )
Change subject: soc/intel/{cnl,icl}: Always use CAR NEM enhanced by default
......................................................................
Patch Set 2:
(1 comment)
https://review.coreboot.org/c/coreboot/+/34287/2/src/soc/intel/cannonlake/Kc...
File src/soc/intel/cannonlake/Kconfig:
https://review.coreboot.org/c/coreboot/+/34287/2/src/soc/intel/cannonlake/Kc...
PS2, Line 272: default USE_CANNONLAKE_CAR_NEM_ENHANCED
I just made some rough statistics of current occurences: […]
Personally, I think it's a good practice to always set a default. If an additional option gets added at the top of the choice, that changes the default value unless there's a specific default set.
Also, since there's no way to select a value inside a choice for a board, the only method is with defaults.
https://doc.coreboot.org/getting_started/kconfig.html#choice
For example, if a board wanted to set USE_CANNONLAKE_FSP_CAR, the only way to do it is in a saved .config file.
If we set: default USE_CANNONLAKE_FSP_CAR if DEFAULT_FSP_CAR, that allows the choice to be set correctly somewhere else.
If we do decide to force a default for every choice, we can easily enforce that with the kconfig lint tool.
--
To view, visit
https://review.coreboot.org/c/coreboot/+/34287
To unsubscribe, or for help writing mail filters, visit
https://review.coreboot.org/settings
Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I30b1808f91701c07dce6f1de08c213150e8a675a
Gerrit-Change-Number: 34287
Gerrit-PatchSet: 2
Gerrit-Owner: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Aaron Durbin
adurbin@chromium.org
Gerrit-Reviewer: Angel Pons
th3fanbus@gmail.com
Gerrit-Reviewer: Boon Tiong Teo
boon.tiong.teo@intel.com
Gerrit-Reviewer: Kin Wai Ng
kin.wai.ng@intel.com
Gerrit-Reviewer: Lean Sheng Tan
lean.sheng.tan@intel.com
Gerrit-Reviewer: Maurice Ma
Gerrit-Reviewer: Nico Huber
nico.h@gmx.de
Gerrit-Reviewer: Patrick Rudolph
siro@das-labor.org
Gerrit-Reviewer: Subrata Banik
subrata.banik@intel.com
Gerrit-Reviewer: build bot (Jenkins)
no-reply@coreboot.org
Gerrit-CC: Furquan Shaikh
furquan@google.com
Gerrit-CC: Martin Roth
martinroth@google.com
Gerrit-CC: Matt DeVillier
matt.devillier@gmail.com
Gerrit-CC: Patrick Georgi
pgeorgi@google.com
Gerrit-Comment-Date: Sat, 13 Jul 2019 18:56:26 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Aaron Durbin
adurbin@chromium.org
Comment-In-Reply-To: Angel Pons
th3fanbus@gmail.com
Comment-In-Reply-To: Nico Huber
nico.h@gmx.de
Comment-In-Reply-To: Patrick Georgi
pgeorgi@google.com
Gerrit-MessageType: comment