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:
Daniel Leung 2015-12-01 08:42:20 -08:00 committed by Anas Nashif
commit 08b4fd431b
25 changed files with 173 additions and 143 deletions

View file

@ -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