aboutsummaryrefslogtreecommitdiffstats
path: root/xen/arch/arm/setup.c
diff options
context:
space:
mode:
authorStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-11-15 10:25:26 +0000
committerStefano Stabellini <stefano.stabellini@eu.citrix.com>2012-11-15 10:25:26 +0000
commit286e93ad797c1c4812c77f3d61f8963a14d5b949 (patch)
tree232ba9ee2d1e14b0c8f3e2d2ded64723c97efe99 /xen/arch/arm/setup.c
parentadd5b625565657bb7ba0dd251c3d528b36351add (diff)
downloadxen-286e93ad797c1c4812c77f3d61f8963a14d5b949.tar.gz
xen-286e93ad797c1c4812c77f3d61f8963a14d5b949.tar.bz2
xen-286e93ad797c1c4812c77f3d61f8963a14d5b949.zip
xen/arm: setup the fixmap in head.S
Setup the fixmap mapping directly in head.S rather than having a temporary mapping only to re-do it later in C. Signed-off-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Committed-by: Ian Campbell <ian.campbell@citrix.com>
Diffstat (limited to 'xen/arch/arm/setup.c')
-rw-r--r--xen/arch/arm/setup.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xen/arch/arm/setup.c b/xen/arch/arm/setup.c
index b0b30d60bf..0328394179 100644
--- a/xen/arch/arm/setup.c
+++ b/xen/arch/arm/setup.c
@@ -194,9 +194,7 @@ void __init start_xen(unsigned long boot_phys_offset,
setup_pagetables(boot_phys_offset, get_xen_paddr());
#ifdef EARLY_UART_ADDRESS
- /* Map the UART */
/* TODO Need to get device tree or command line for UART address */
- set_fixmap(FIXMAP_CONSOLE, EARLY_UART_ADDRESS >> PAGE_SHIFT, DEV_SHARED);
pl011_init(0, FIXMAP_ADDR(FIXMAP_CONSOLE));
console_init_preirq();
#endif