Jack Rosenthal would like Martin Roth and Patrick Georgi to review this change.

View Change

kconfig: remove evaluation of hex values as a boolean

In kconfig, hex values when evaluated as a boolean will always be "n".
Kconfiglib warns about this, whereas the C implementation just quitely
treated it as "n".

Remove the evaluation of hex values as a boolean to clear up the
warnings.

Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Change-Id: I96fde326976cd338dab1846e3a18bd8d247b1639
---
M src/security/intel/stm/Kconfig
1 file changed, 2 insertions(+), 3 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/78/48678/1
diff --git a/src/security/intel/stm/Kconfig b/src/security/intel/stm/Kconfig
index 5286354..962f9ef 100644
--- a/src/security/intel/stm/Kconfig
+++ b/src/security/intel/stm/Kconfig
@@ -87,8 +87,7 @@

config STM_TTYS0_BASE
hex "stm uart"
- default TTYS0_BASE if TTYS0_BASE
- default 0x000
+ default TTYS0_BASE
help
Defines the serial port for STM console output. 0x000 indicates
no serial port.
@@ -105,7 +104,7 @@

config STM_CONSOLE_DEBUG
bool "Debug output"
- depends on STM_CBMEM_CONSOLE || STM_TTYS0_BASE
+ depends on STM_CBMEM_CONSOLE
help
"Produces all STM console output"


To view, visit change 48678. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I96fde326976cd338dab1846e3a18bd8d247b1639
Gerrit-Change-Number: 48678
Gerrit-PatchSet: 1
Gerrit-Owner: Jack Rosenthal <jrosenth@chromium.org>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-MessageType: newchange