acrn-config: refine ttys type for mapping MMIO
add ttys type for mapping MMIO Tracked-On: #4798 Signed-off-by: Wei Liu <weix.w.liu@intel.com> Acked-by: Victor Sun <victor.sun@intel.com>
This commit is contained in:
parent
843579adf1
commit
d4c9a5fa77
|
@ -11,9 +11,12 @@ TTY_PATH = '/sys/class/tty/'
|
||||||
SYS_IRQ_PATH = '/proc/interrupts'
|
SYS_IRQ_PATH = '/proc/interrupts'
|
||||||
CPU_INFO_PATH = '/sys/devices/system/cpu/possible'
|
CPU_INFO_PATH = '/sys/devices/system/cpu/possible'
|
||||||
|
|
||||||
|
# Please refer kernel_src/include/linux/serial_core.h
|
||||||
ttys_type = {
|
ttys_type = {
|
||||||
'0': 'PORT',
|
'0': 'PORT', # 8b I/O port access
|
||||||
'3': 'MMIO',
|
'2': 'MMIO', # driver-specific
|
||||||
|
'3': 'MMIO', # 32b little endian
|
||||||
|
'6': 'MMIO', # 32b big endian
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue