mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-05 15:45:05 +00:00
HV: allow disabling serial port via Kconfig
This patch allows to disable the serial port directly from Kconfig. This used to only be possible from the command-line (by passing "uart=disabled"). To disable the serial port via Kconfig, simply unselect the "Serial IO type" option. The default options do not seem to have any effect anymore (and were confusing anyway) so they are removed and the serial port is enabled for various platforms in their corresponding *.config file. Tracked-On: #1481 Signed-off-by: Geoffroy Van Cutsem <geoffroy.vancutsem@intel.com>
This commit is contained in:
committed by
Xie, Nanlin
parent
584f6b7255
commit
26dc54ce37
@@ -16,7 +16,6 @@ static bool serial_port_mapped;
|
||||
static bool uart_enabled = true;
|
||||
#define UART_BASE_ADDRESS CONFIG_SERIAL_MMIO_BASE
|
||||
#else
|
||||
#warning "no uart base configure, please check!"
|
||||
static bool serial_port_mapped;
|
||||
static bool uart_enabled;
|
||||
#define UART_BASE_ADDRESS 0UL
|
||||
|
||||
Reference in New Issue
Block a user