Skip to content
Snippets Groups Projects
Commit d9703a07 authored by Bin Meng's avatar Bin Meng
Browse files

x86: fsp: Wrap setup_internal_uart() call with CONFIG_INTERNAL_UART


For any FSP-enabled boards that want to enable debug UART support,
setup_internal_uart() will be called, but this API is only available
on BayTrail platform. Change to wrap it with CONFIG_INTERNAL_UART.

Signed-off-by: default avatarBin Meng <bmeng.cn@gmail.com>
Reviewed-by: default avatarStefan Roese <sr@denx.de>
Reviewed-by: default avatarSimon Glass <sjg@chromium.org>
parent 377656b2
No related branches found
No related tags found
No related merge requests found
...@@ -110,7 +110,7 @@ void fsp_init(u32 stack_top, u32 boot_mode, void *nvs_buf) ...@@ -110,7 +110,7 @@ void fsp_init(u32 stack_top, u32 boot_mode, void *nvs_buf)
struct upd_region *fsp_upd; struct upd_region *fsp_upd;
#endif #endif
#ifdef CONFIG_DEBUG_UART #ifdef CONFIG_INTERNAL_UART
setup_internal_uart(1); setup_internal_uart(1);
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment