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:
Geoffroy Van Cutsem
2018-11-19 15:54:44 +01:00
committed by Xie, Nanlin
parent 584f6b7255
commit 26dc54ce37
6 changed files with 18 additions and 15 deletions

View File

@@ -1,5 +1,5 @@
# Generated by Kconfiglib (https://github.com/ulfalizer/Kconfiglib)
CONFIG_BOARD="apl-mrb"
# CONFIG_PLATFORM_UEFI is not set
CONFIG_PLATFORM_SBL=y
CONFIG_SERIAL_MMIO=y
CONFIG_COM_BASE=0x3e8
CONFIG_COM_IRQ=6