UPSTREAM: 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 Original-Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Original-Reviewed-on: https://review.coreboot.org/15843 Original-Tested-by: build bot (Jenkins) Original-Reviewed-by: Aaron Durbin <adurbin@chromium.org> Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://chromium-review.googlesource.com/363380 Reviewed-by: Furquan Shaikh <furquan@chromium.org>
This commit is contained in:
parent
f326097fda
commit
0b0c9454ee
2 changed files with 6 additions and 1 deletions
|
|
@ -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); }
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue