console/uart: use device name instead of index
Use device name to find the UART device for console usage, instead of relying on an arbitrary index. Change-Id: Iebe01c9bf392dfee6d8284367f67647f7d47561a Signed-off-by: Daniel Leung <daniel.leung@intel.com>
This commit is contained in:
parent
1d816afcc0
commit
08b4fd431b
25 changed files with 173 additions and 143 deletions
|
@ -233,4 +233,15 @@ endif # UART_NS16550_PORT_1
|
|||
|
||||
endif # UART_NS16550
|
||||
|
||||
if UART_CONSOLE
|
||||
|
||||
config UART_CONSOLE_ON_DEV_NAME
|
||||
default "UART_1"
|
||||
config UART_CONSOLE_IRQ
|
||||
default 38
|
||||
config UART_CONSOLE_IRQ_PRI
|
||||
default 3
|
||||
|
||||
endif
|
||||
|
||||
endif #PLATFORM_QUARK_SE_X86
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue