tree: Drop unnecessary "true/false" comments

Change-Id: I5cd04972936c14d92295915fad65c7a45a8108d9
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84152
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jakub Czapiga <czapiga@google.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Elyes Haouas 2024-08-31 07:29:00 +02:00
commit 2f8b77b76b
8 changed files with 6 additions and 65 deletions

View file

@ -22,9 +22,6 @@ static inline int vboot_is_firmware_slot_a(struct vb2_context *ctx)
/*
* Check if given flag is set in the flags field in GBB header.
* Return value:
* true: Flag is set.
* false: Flag is not set.
*/
static inline bool vboot_is_gbb_flag_set(enum vb2_gbb_flag flag)
{

View file

@ -466,11 +466,7 @@ struct soc_intel_alderlake_config {
} igd_dvmt50_pre_alloc;
bool skip_ext_gfx_scan;
/* Enable/Disable EIST. true:Enabled, false:Disabled */
bool eist_enable;
/* Enable C6 DRAM */
bool enable_c6dram;
/*

View file

@ -237,10 +237,7 @@ struct soc_intel_cannonlake_config {
/* Enables support for Teton Glacier hybrid storage device */
bool TetonGlacierMode;
/* Enable/Disable EIST. true:Enabled, false:Disabled */
bool eist_enable;
/* Enable C6 DRAM */
bool enable_c6dram;
/*

View file

@ -14,21 +14,10 @@
* 3. SOC will allow common code to set UART into legacy mode if supported.
*/
/*
* Check if UART debug controller is initialized
* Returns:
* true = If debug controller PCI config space is initialized and device is
* out of reset
* false = otherwise
*/
bool uart_is_controller_initialized(void);
/*
* Check if dev corresponds to UART debug port controller.
*
* Returns:
* true: UART dev is debug port
* false: otherwise
*/
bool uart_is_debug_controller(struct device *dev);

View file

@ -258,7 +258,6 @@ struct soc_intel_elkhartlake_config {
uint8_t Heci2Enable;
uint8_t Heci3Enable;
/* Enable/Disable EIST. true:Enabled, false:Disabled */
bool eist_enable;
/*

View file

@ -108,11 +108,7 @@ struct soc_intel_jasperlake_config {
SaGv_Enabled,
} SaGv;
/* Rank Margin Tool
*
* true: Enable
* false: Disable
*/
/* Rank Margin Tool */
bool RMT;
/* USB related */
@ -178,7 +174,6 @@ struct soc_intel_jasperlake_config {
/* Gfx related */
bool SkipExtGfxScan;
/* Enable/Disable EIST. true:Enabled, false:Disabled */
bool eist_enable;
/* Enable C6 DRAM */
@ -263,10 +258,8 @@ struct soc_intel_jasperlake_config {
uint8_t DdiPortAConfig;
uint8_t DdiPortBConfig;
/* HDP config
*
* true: Enable HDB
* false: Disable HDP
/*
* HDP config
*/
bool DdiPortAHpd;
bool DdiPortBHpd;
@ -276,10 +269,8 @@ struct soc_intel_jasperlake_config {
bool DdiPort3Hpd;
bool DdiPort4Hpd;
/* DDC config
*
* true: Enable DDC
* false: Disable DDC
/*
* DDC config
*/
bool DdiPortADdc;
bool DdiPortBDdc;
@ -411,9 +402,6 @@ struct soc_intel_jasperlake_config {
/*
* Enable or Disable Acoustic Noise Mitigation feature.
*
* false: Disabled
* true: Enabled
*/
bool AcousticNoiseMitigation;

View file

@ -209,7 +209,7 @@ struct soc_intel_meteorlake_config {
SAGV_POINTS_0_1_2_3 = 0x0f,
} sagv_wp_bitmap;
/* Rank Margin Tool. true:Enable, false:Disable */
/* Rank Margin Tool. */
bool rmt;
/* USB related */
@ -297,8 +297,6 @@ struct soc_intel_meteorlake_config {
} igd_dvmt50_pre_alloc;
bool skip_ext_gfx_scan;
/* Enable/Disable EIST. true:Enabled, false:Disabled */
bool eist_enable;
/*

View file

@ -285,8 +285,6 @@ struct soc_intel_tigerlake_config {
/* Gfx related */
uint8_t SkipExtGfxScan;
/* Enable/Disable EIST. true:Enabled, false:Disabled */
bool eist_enable;
/* Enable C6 DRAM */
@ -504,29 +502,8 @@ struct soc_intel_tigerlake_config {
* - PM_CFG.SLP_LAN_MIN_ASST_WDTH
*/
uint8_t PchPmPwrCycDur;
/*
* External Clock Gate
* true = Mainboard design uses external clock gating
* false = Mainboard design does not use external clock gating
*
*/
bool external_clk_gated;
/*
* External PHY Gate
* true = Mainboard design uses external phy gating
* false = Mainboard design does not use external phy gating
*
*/
bool external_phy_gated;
/*
* External Bypass Enable
* true = Mainboard design uses external bypass rail
* false = Mainboard design does not use external bypass rail
*
*/
bool external_bypass;
/* i915 struct for GMA backlight control */