aboutsummaryrefslogtreecommitdiffstats
path: root/src/include/console
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2015-05-13 13:37:43 -0500
committerAaron Durbin <adurbin@chromium.org>2015-05-13 20:53:38 +0200
commitfd6fb26ae77ae125fb9b9f0c7949e3e8b5796fd1 (patch)
treeb5912d0a5e9880f7ed3165fb5a6b2da49bc4dcdb /src/include/console
parentce2c50d895ea57798c1eb4296f205d593288925d (diff)
downloadcoreboot-fd6fb26ae77ae125fb9b9f0c7949e3e8b5796fd1.tar.gz
coreboot-fd6fb26ae77ae125fb9b9f0c7949e3e8b5796fd1.tar.xz
coreboot-fd6fb26ae77ae125fb9b9f0c7949e3e8b5796fd1.zip
verstage: provide support for serial console
verstage previously lacked serial console support. Add the necessary objects and macro checks to allow verstage to include the serial console. Change-Id: Ibe911ad347cac0b089f5bc0d4263956f44f3d116 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: http://review.coreboot.org/10196 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Tested-by: build bot (Jenkins)
Diffstat (limited to 'src/include/console')
-rw-r--r--src/include/console/console.h2
-rw-r--r--src/include/console/uart.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/include/console/console.h b/src/include/console/console.h
index ad93a9af9..65e65bbd5 100644
--- a/src/include/console/console.h
+++ b/src/include/console/console.h
@@ -57,7 +57,7 @@ void __attribute__ ((noreturn)) die(const char *msg);
#define __CONSOLE_ENABLE__ \
((ENV_BOOTBLOCK && CONFIG_BOOTBLOCK_CONSOLE) || \
- ENV_SECMON || \
+ ENV_SECMON || ENV_VERSTAGE || \
ENV_ROMSTAGE || ENV_RAMSTAGE || (ENV_SMM && CONFIG_DEBUG_SMI))
#if __CONSOLE_ENABLE__
diff --git a/src/include/console/uart.h b/src/include/console/uart.h
index 94933fe3f..7c744dddd 100644
--- a/src/include/console/uart.h
+++ b/src/include/console/uart.h
@@ -56,7 +56,7 @@ static inline void *uart_platform_baseptr(int idx)
void oxford_remap(unsigned int new_base);
#define __CONSOLE_SERIAL_ENABLE__ CONFIG_CONSOLE_SERIAL && \
- (ENV_BOOTBLOCK || ENV_ROMSTAGE || ENV_RAMSTAGE || \
+ (ENV_BOOTBLOCK || ENV_ROMSTAGE || ENV_RAMSTAGE || ENV_VERSTAGE || \
(ENV_SMM && CONFIG_DEBUG_SMI))
#if __CONSOLE_SERIAL_ENABLE__