src: Change BOOL CONFIG_ to CONFIG() in comments & strings
The Kconfig lint tool checks for cases of the code using BOOL type Kconfig options directly instead of with CONFIG() and will print out warnings about it. It gets confused by these references in comments and strings. To fix it so that it can find the real issues, just update these as we would with real issues. Signed-off-by: Martin Roth <martin@coreboot.org> Change-Id: I5c37f0ee103721c97483d07a368c0b813e3f25c0 Reviewed-on: https://review.coreboot.org/c/coreboot/+/43824 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Aaron Durbin <adurbin@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
committed by
Patrick Georgi
parent
af56a77915
commit
f48acbda7b
@@ -33,10 +33,10 @@
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* \brief Convenience macro for enabling printk with CONFIG_DEBUG_RAM_SETUP
|
||||
* \brief Convenience macro for enabling printk with CONFIG(DEBUG_RAM_SETUP)
|
||||
*
|
||||
* Use this macro instead of printk(); for verbose RAM initialization messages.
|
||||
* When CONFIG_DEBUG_RAM_SETUP is not selected, these messages are automatically
|
||||
* When CONFIG(DEBUG_RAM_SETUP) is not selected, these messages are automatically
|
||||
* disabled.
|
||||
* @{
|
||||
*/
|
||||
|
@@ -34,10 +34,10 @@
|
||||
/** @} */
|
||||
|
||||
/**
|
||||
* \brief Convenience macro for enabling printk with CONFIG_DEBUG_RAM_SETUP
|
||||
* \brief Convenience macro for enabling printk with CONFIG(DEBUG_RAM_SETUP)
|
||||
*
|
||||
* Use this macro instead of printk(); for verbose RAM initialization messages.
|
||||
* When CONFIG_DEBUG_RAM_SETUP is not selected, these messages are automatically
|
||||
* When CONFIG(DEBUG_RAM_SETUP) is not selected, these messages are automatically
|
||||
* disabled.
|
||||
* @{
|
||||
*/
|
||||
|
@@ -14,7 +14,7 @@ enum {
|
||||
|
||||
/*
|
||||
* It's up to the caller to decide when to retrieve and stash data. There is
|
||||
* differentiation on recovery mode CONFIG_HAS_RECOVERY_MRC_CACHE, but that's
|
||||
* differentiation on recovery mode CONFIG(HAS_RECOVERY_MRC_CACHE), but that's
|
||||
* only for locating where to retrieve and save the data. If a platform doesn't
|
||||
* want to update the data then it shouldn't stash the data for saving.
|
||||
* Similarly, if the platform doesn't need the data for booting because of a
|
||||
|
@@ -202,7 +202,7 @@ int chipset_volatile_group_begin(const struct spi_flash *flash);
|
||||
int chipset_volatile_group_end(const struct spi_flash *flash);
|
||||
|
||||
/* Return spi_flash object reference for the boot device. This is only valid
|
||||
* if CONFIG_BOOT_DEVICE_SPI_FLASH is enabled. */
|
||||
* if CONFIG(BOOT_DEVICE_SPI_FLASH) is enabled. */
|
||||
const struct spi_flash *boot_device_spi_flash(void);
|
||||
|
||||
/* Protect a region of spi flash using its controller, if available. Returns
|
||||
|
Reference in New Issue
Block a user