summaryrefslogtreecommitdiffstats
path: root/src/include/spi_flash.h
diff options
context:
space:
mode:
authorMartin Roth <martin@coreboot.org>2020-07-24 12:24:27 -0600
committerPatrick Georgi <pgeorgi@google.com>2020-07-26 21:20:30 +0000
commitf48acbda7be7074938c06db8ad37705f850661ee (patch)
tree4e06af0923d793db47700aae5a5b3f374c8529d8 /src/include/spi_flash.h
parentaf56a7791565de4c3dec66b4cc6a8b152bba014c (diff)
downloadcoreboot-f48acbda7be7074938c06db8ad37705f850661ee.tar.gz
coreboot-f48acbda7be7074938c06db8ad37705f850661ee.tar.bz2
coreboot-f48acbda7be7074938c06db8ad37705f850661ee.zip
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>
Diffstat (limited to 'src/include/spi_flash.h')
-rw-r--r--src/include/spi_flash.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/spi_flash.h b/src/include/spi_flash.h
index 35b02dbb3da4..1061e9905e2b 100644
--- a/src/include/spi_flash.h
+++ b/src/include/spi_flash.h
@@ -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