mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-09 03:21:51 +00:00
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>
This commit is contained in:
parent
85056932f2
commit
d521197d69
4 changed files with 10 additions and 6 deletions
|
@ -45,7 +45,7 @@ void dram_init_banksize(void);
|
|||
int default_print_cpuinfo(void);
|
||||
|
||||
/* Set up a UART which can be used with printch(), printhex8(), etc. */
|
||||
int setup_early_uart(void);
|
||||
int setup_internal_uart(int enable);
|
||||
|
||||
void setup_pcat_compatibility(void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue