x86: baytrail: Add option to disable the internal UART to setup_early_uart()
authorStefan Roese <sr@denx.de>
Tue, 19 Jan 2016 13:24:12 +0000 (14:24 +0100)
committerBin Meng <bmeng.cn@gmail.com>
Thu, 28 Jan 2016 05:53:30 +0000 (13:53 +0800)
commitd521197d69c0fe85afdd75c537783adf95905ede
tree4c8148cffb387a826e69f58d27e307611025df61
parent85056932f2bad4b6749d42c983d2219ae70fa741
x86: baytrail: Add option to disable the internal UART to setup_early_uart()

This patch adds a parameter to the function setup_early_uart() to either
enable or disable the internal BayTrail legacy UART. Since the name
setup_early_uart() does not match its functionality any more, lets
rename it to setup_internal_uart() as well in this patch.

Signed-off-by: Stefan Roese <sr@denx.de>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/cpu/baytrail/early_uart.c
arch/x86/include/asm/u-boot-x86.h
arch/x86/lib/fsp/fsp_support.c
doc/README.x86