]> xenbits.xensource.com Git - people/iwj/xen.git/commit
xen/arm: Add generic UART to get the device in the device tree
authorJulien Grall <julien.grall@linaro.org>
Sat, 27 Apr 2013 20:02:04 +0000 (21:02 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Mon, 13 May 2013 10:59:59 +0000 (11:59 +0100)
commit2a403a18dd34050d9439ce78576fca5f5d03d69d
tree01b6e3521b6dba232bc6ae6c3136e4a204b1bf17
parent2be37b2cda31fc1b5f11deb912249bc54803f055
xen/arm: Add generic UART to get the device in the device tree

This generic UART will find the right UART via xen command line
with dtuart=myserial.

"myserial" is the alias of the UART in the device tree. Xen will retrieve
the information via the device tree and call the initialization function for
this specific UART thanks to the device API.

Signed-off-by: Julien Grall <julien.grall@linaro.org>
Acked-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/arm/setup.c
xen/drivers/char/Makefile
xen/drivers/char/dt-uart.c [new file with mode: 0644]
xen/drivers/char/serial.c
xen/include/asm-arm/config.h
xen/include/xen/serial.h