hv: uart: enable early boot uart

Enable uart as early as possible to make things easier for debugging.
After this we could use printf to output information to the uart. As for
pr_xxx APIs, they start to work when init_logmsg is called.

Tracked-On: #2987
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
This commit is contained in:
Li, Fei1
2019-07-24 17:50:27 +08:00
committed by ACRN System Integration
parent 3945bc4c40
commit cc47dbe769
6 changed files with 26 additions and 9 deletions

View File

@@ -0,0 +1,9 @@
/*
* Copyright (C) 2019 Intel Corporation. All rights reserved.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
#include <types.h>
void uart16550_init(__unused bool early_boot) {}