src: Update some incorrect config options in comments

This is a trivial patch to fix some comments that were generating
notes in the kconfig lint test.

Signed-off-by: Martin Roth <martin@coreboot.org>
Change-Id: I26a95f17e82910f50c62215be5c29780fe98e29a
Reviewed-on: https://review.coreboot.org/c/coreboot/+/47366
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Christian Walter <christian.walter@9elements.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Martin Roth
2020-11-09 13:13:27 -07:00
committed by Patrick Georgi
parent a0e5046a08
commit 0639bff5ba
5 changed files with 10 additions and 9 deletions

View File

@ -17,7 +17,7 @@
/* /*
* Timing values are in units of clock period, with the clock speed * Timing values are in units of clock period, with the clock speed
* provided by the SOC in CONFIG_DRIVERS_I2C_DESIGNWARE_I2C_CLOCK_MHZ * provided by the SOC in CONFIG_DRIVERS_I2C_DESIGNWARE_CLOCK_MHZ
* Automatic configuration is done based on requested speed, but the * Automatic configuration is done based on requested speed, but the
* values may need tuned depending on the board and the number of * values may need tuned depending on the board and the number of
* devices present on the bus. * devices present on the bus.

View File

@ -1388,7 +1388,7 @@ enum ec_feature_code {
*/ */
EC_FEATURE_REFINED_TABLET_MODE_HYSTERESIS = 37, EC_FEATURE_REFINED_TABLET_MODE_HYSTERESIS = 37,
/* /*
* Early Firmware Selection ver.2. Enabled by CONFIG_VBOOT_EFS2. * Early Firmware Selection ver.2. Enabled by VBOOT_EFS2 config option.
* Note this is a RO feature. So, a query (EC_CMD_GET_FEATURES) should * Note this is a RO feature. So, a query (EC_CMD_GET_FEATURES) should
* be sent to RO to be precise. * be sent to RO to be precise.
*/ */

View File

@ -63,10 +63,11 @@
/* /*
* NOTE: "verstage" code may either run as a separate stage or linked into the * NOTE: "verstage" code may either run as a separate stage or linked into the
* bootblock/romstage, depending on the setting of CONFIG_SEPARATE_VERSTAGE. The * bootblock/romstage, depending on the setting of the VBOOT_SEPARATE_VERSTAGE
* ENV_SEPARATE_VERSTAGE macro will only return true for "verstage" code when * kconfig option. The ENV_SEPARATE_VERSTAGE macro will only return true for
* CONFIG_SEPARATE_VERSTAGE=y, otherwise that code will have ENV_BOOTBLOCK or * "verstage" code when CONFIG(VBOOT_SEPARATE_VERSTAGE) is true, otherwise that
* ENV_ROMSTAGE set (depending on the CONFIG_VBOOT_STARTS_IN_... options). * code will have ENV_BOOTBLOCK or ENV_ROMSTAGE set (depending on the
* "VBOOT_STARTS_IN_"... kconfig options).
*/ */
#elif defined(__VERSTAGE__) #elif defined(__VERSTAGE__)
#define ENV_DECOMPRESSOR 0 #define ENV_DECOMPRESSOR 0

View File

@ -8,7 +8,7 @@
struct romstage_handoff { struct romstage_handoff {
/* Indicate if the current boot is an S3 resume. If /* Indicate if the current boot is an S3 resume. If
* CONFIG_RELOCTABLE_RAMSTAGE is enabled the chipset code is * CONFIG_RELOCATABLE_RAMSTAGE is enabled the chipset code is
* responsible for initializing this variable. Otherwise, ramstage * responsible for initializing this variable. Otherwise, ramstage
* will be re-loaded from cbfs (which can be slower since it lives * will be re-loaded from cbfs (which can be slower since it lives
* in flash). */ * in flash). */

View File

@ -27,11 +27,11 @@ void *cbmem_top_chipset(void)
/* /*
* +-------------------------+ Top of RAM (aligned) * +-------------------------+ Top of RAM (aligned)
* | System Management Mode | * | System Management Mode |
* | code and data | Length: CONFIG_TSEG_SIZE * | code and data | Length: CONFIG_SMM_TSEG_SIZE
* | (TSEG) | * | (TSEG) |
* +-------------------------+ SMM base (aligned) * +-------------------------+ SMM base (aligned)
* | | * | |
* | Chipset Reserved Memory | Length: Multiple of CONFIG_TSEG_SIZE * | Chipset Reserved Memory | Length: Multiple of CONFIG_SMM_TSEG_SIZE
* | | * | |
* +-------------------------+ top_of_ram (aligned) * +-------------------------+ top_of_ram (aligned)
* | | * | |