diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2016-06-15 04:33:24 (GMT) |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2016-07-12 05:46:01 (GMT) |
commit | d9703a0725707dc39d58c1de486af26ea3886e56 (patch) | |
tree | 75e04d96d936b5bb3d2c173510fae5fd4cafe120 /arch/x86/lib/fsp | |
parent | 377656b2cc3be3e704fc574041669a4a84ea6bb8 (diff) | |
download | u-boot-d9703a0725707dc39d58c1de486af26ea3886e56.tar.xz |
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: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/lib/fsp')
-rw-r--r-- | arch/x86/lib/fsp/fsp_support.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/lib/fsp/fsp_support.c b/arch/x86/lib/fsp/fsp_support.c index b05dced..a480361 100644 --- a/arch/x86/lib/fsp/fsp_support.c +++ b/arch/x86/lib/fsp/fsp_support.c @@ -110,7 +110,7 @@ void fsp_init(u32 stack_top, u32 boot_mode, void *nvs_buf) struct upd_region *fsp_upd; #endif -#ifdef CONFIG_DEBUG_UART +#ifdef CONFIG_INTERNAL_UART setup_internal_uart(1); #endif |