summaryrefslogtreecommitdiff
path: root/src/ec
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/ec
parentaf56a7791565de4c3dec66b4cc6a8b152bba014c (diff)
downloadcoreboot-f48acbda7be7074938c06db8ad37705f850661ee.tar.xz
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/ec')
-rw-r--r--src/ec/google/wilco/bootblock.h2
-rw-r--r--src/ec/lenovo/h8/vboot.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/ec/google/wilco/bootblock.h b/src/ec/google/wilco/bootblock.h
index 2db8cfe4ab..8a5b69c34c 100644
--- a/src/ec/google/wilco/bootblock.h
+++ b/src/ec/google/wilco/bootblock.h
@@ -9,7 +9,7 @@
* This function performs early initialization of the EC:
*
* - Enable EC UART passthru for COM1 if serial console support
- * is enabled with CONFIG_DRIVERS_UART_8250IO.
+ * is enabled with CONFIG(DRIVERS_UART_8250IO).
*/
void wilco_ec_early_init(void);
diff --git a/src/ec/lenovo/h8/vboot.c b/src/ec/lenovo/h8/vboot.c
index 97abb9de24..b564153331 100644
--- a/src/ec/lenovo/h8/vboot.c
+++ b/src/ec/lenovo/h8/vboot.c
@@ -33,7 +33,7 @@ int get_recovery_mode_switch(void)
}
/**
- * Only used if CONFIG_CHROMEOS is set.
+ * Only used if CONFIG(CHROMEOS) is set.
* Always zero as the #WP pin of the flash is tied high.
*/
int get_write_protect_state(void)