acrn-config: refine ttyS info of board file

The previous method to handle ttyS info has an assumption that PCI
serial devices are all mmio type, this caused incorrect BDF info in
board XML file.
This patch fix this issue by dropping serial device BDF info and
replace it with IO type.

Tracked-On: #3900
Signed-off-by: Wei Liu <weix.w.liu@intel.com>
Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
Wei Liu
2019-10-23 11:27:12 +08:00
committed by wenlingz
parent b6a8052045
commit feba836944
7 changed files with 17 additions and 41 deletions

View File

@@ -301,9 +301,9 @@
</BLOCK_DEVICE_INFO>
<TTYS_INFO>
BDF:(00:18.0) seri:/dev/ttyS0 base:0xB3640000 irq:4
BDF:(00:18.2) seri:/dev/ttyS2 base:0x80E00000 irq:6
BDF:(00:18.3) seri:/dev/ttyS3 base:0xB363A000 irq:7
seri:/dev/ttyS0 type:mmio base:0xB3640000 irq:4
seri:/dev/ttyS2 type:mmio base:0x80E00000 irq:6
seri:/dev/ttyS3 type:mmio base:0xB363A000 irq:7
</TTYS_INFO>
<AVAILABLE_IRQ_INFO>