summaryrefslogtreecommitdiff
path: root/src/include/console
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-10-03 12:22:04 +0200
committerMichael Niewöhner <foss@mniewoehner.de>2020-10-13 08:40:52 +0000
commit12d48cdf67c3b3d0be2259377c1dce0522f434c7 (patch)
tree55af91c903f1c1c23cf5d09a37bea8e40e886fef /src/include/console
parent0b418bd287e47ca74b124617c681b1d5267b036f (diff)
src: Rename EM100Pro-specific SPI console Kconfig option
To avoid confusion with `flashconsole` (CONSOLE_SPI_FLASH), prefix this option with `EM100Pro`. Looks like it is not build-tested, however. Change-Id: I4868fa52250fbbf43e328dfd12e0e48fc58c4234 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/45973 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Michael Niewöhner <foss@mniewoehner.de>
Diffstat (limited to 'src/include/console')
-rw-r--r--src/include/console/spi.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/console/spi.h b/src/include/console/spi.h
index 8a58b85b22..2eff0a8903 100644
--- a/src/include/console/spi.h
+++ b/src/include/console/spi.h
@@ -8,7 +8,7 @@
void spiconsole_init(void);
void spiconsole_tx_byte(unsigned char c);
-#define __CONSOLE_SPI_ENABLE__ (CONFIG(SPI_CONSOLE) && \
+#define __CONSOLE_SPI_ENABLE__ (CONFIG(EM100PRO_SPI_CONSOLE) && \
(ENV_RAMSTAGE || (ENV_SMM && CONFIG(DEBUG_SMI))))
#if __CONSOLE_SPI_ENABLE__