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:
Martin Roth
2020-07-24 12:24:27 -06:00
committed by Patrick Georgi
parent af56a77915
commit f48acbda7b
22 changed files with 32 additions and 32 deletions

View File

@@ -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);

View File

@@ -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)