diff options
author | Lee Leahy <leroy.p.leahy@intel.com> | 2016-07-24 19:22:17 -0700 |
---|---|---|
committer | Lee Leahy <leroy.p.leahy@intel.com> | 2016-07-25 23:28:32 +0200 |
commit | 3eabe6e9ec471125ab7f33eff91ad3069960c83d (patch) | |
tree | d5c7c0ba33fd72a2beb09ea086c9f5bd3fe6be26 /src/include/console | |
parent | b8257df83b1543c5139bec91dbd77150456f96a3 (diff) | |
download | coreboot-3eabe6e9ec471125ab7f33eff91ad3069960c83d.tar.xz |
drivers/uart: Enable debug serial output during postcar
Build the UART drivers for the postcar stage.
TEST=Build and run on Galileo Gen2
Change-Id: I8bf51135ab7e62fa4bc3e8d45583f2feac56942f
Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com>
Reviewed-on: https://review.coreboot.org/15843
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Diffstat (limited to 'src/include/console')
-rw-r--r-- | src/include/console/uart.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/console/uart.h b/src/include/console/uart.h index a3d650b500..ffcc088422 100644 --- a/src/include/console/uart.h +++ b/src/include/console/uart.h @@ -57,7 +57,7 @@ void oxford_remap(unsigned int new_base); #define __CONSOLE_SERIAL_ENABLE__ CONFIG_CONSOLE_SERIAL && \ (ENV_BOOTBLOCK || ENV_ROMSTAGE || ENV_RAMSTAGE || ENV_VERSTAGE || \ - (ENV_SMM && CONFIG_DEBUG_SMI)) + ENV_POSTCAR || (ENV_SMM && CONFIG_DEBUG_SMI)) #if __CONSOLE_SERIAL_ENABLE__ static inline void __uart_init(void) { uart_init(CONFIG_UART_FOR_CONSOLE); } |