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

@@ -170,7 +170,7 @@ def get_ttys_info(board_info):
break
#ttys_dev = " ".join(ttys_line.strip().split()[:-2])
ttys_dev = ttys_line.split()[1].split(':')[1]
ttys_dev = ttys_line.split()[0].split(':')[1]
ttys_list.append(ttys_dev)
return ttys_list