]> git.sur5r.net Git - u-boot/commit
x86: fsp: Wrap setup_internal_uart() call with CONFIG_INTERNAL_UART
authorBin Meng <bmeng.cn@gmail.com>
Wed, 15 Jun 2016 04:33:24 +0000 (21:33 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 12 Jul 2016 05:46:01 +0000 (13:46 +0800)
commitd9703a0725707dc39d58c1de486af26ea3886e56
tree75e04d96d936b5bb3d2c173510fae5fd4cafe120
parent377656b2cc3be3e704fc574041669a4a84ea6bb8
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>
arch/x86/lib/fsp/fsp_support.c