aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/arm/setup.c
diff options
context:
space:
mode:
authorJulien Grall <julien.grall@linaro.org>2013-04-27 21:52:07 +0100
committerIan Campbell <ian.campbell@citrix.com>2013-05-13 12:00:00 +0100
commit3baf9f2371f1627f186dba7a2d6db51f39745ce5 (patch)
treefd429b2086f27812bfa1806d91296a52715f0911 /xen/arch/arm/setup.c
parent2a403a18dd34050d9439ce78576fca5f5d03d69d (diff)
downloadxen-3baf9f2371f1627f186dba7a2d6db51f39745ce5.tar.gz
xen-3baf9f2371f1627f186dba7a2d6db51f39745ce5.tar.bz2
xen-3baf9f2371f1627f186dba7a2d6db51f39745ce5.zip
xen/arm: Use device tree API in pl011 UART driver
Allow UART driver to retrieve all its information in the device tree. It's possible to choose the pl011 driver via the Xen command line. Signed-off-by: Julien Grall <julien.grall@linaro.org> Acked-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/arch/arm/setup.c')
-rw-r--r--xen/arch/arm/setup.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c
index 2e331d3800..e5f445906d 100644
--- a/xen/arch/arm/setup.c
+++ b/xen/arch/arm/setup.c
@@ -433,10 +433,6 @@ void __init start_xen(unsigned long boot_phys_offset,
dt_unflatten_host_device_tree();
dt_irq_xlate = gic_irq_xlate;
-#ifdef EARLY_UART_ADDRESS
- /* TODO Need to get device tree or command line for UART address */
- pl011_init(0, FIXMAP_ADDR(FIXMAP_CONSOLE));
-#endif
dt_uart_init();
console_init_preirq();