ARM: integrator: delete static UART1 mapping
authorLinus Walleij <linus.walleij@linaro.org>
Mon, 12 Nov 2012 00:32:02 +0000 (01:32 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 16 Nov 2012 21:26:26 +0000 (22:26 +0100)
The Integrators does not use the UART1 for any debugging
or similar, dynamic mapping should be all that is needed
so delete this static map.

Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/mach-integrator/integrator_ap.c
arch/arm/mach-integrator/integrator_cp.c

index becba43..771cbe4 100644 (file)
@@ -120,11 +120,6 @@ static struct map_desc ap_io_desc[] __initdata = {
                .pfn            = __phys_to_pfn(INTEGRATOR_UART0_BASE),
                .length         = SZ_4K,
                .type           = MT_DEVICE
-       }, {
-               .virtual        = IO_ADDRESS(INTEGRATOR_UART1_BASE),
-               .pfn            = __phys_to_pfn(INTEGRATOR_UART1_BASE),
-               .length         = SZ_4K,
-               .type           = MT_DEVICE
        }, {
                .virtual        = IO_ADDRESS(INTEGRATOR_DBG_BASE),
                .pfn            = __phys_to_pfn(INTEGRATOR_DBG_BASE),
index fc2b1e4..c4b6af9 100644 (file)
@@ -104,11 +104,6 @@ static struct map_desc intcp_io_desc[] __initdata = {
                .pfn            = __phys_to_pfn(INTEGRATOR_UART0_BASE),
                .length         = SZ_4K,
                .type           = MT_DEVICE
-       }, {
-               .virtual        = IO_ADDRESS(INTEGRATOR_UART1_BASE),
-               .pfn            = __phys_to_pfn(INTEGRATOR_UART1_BASE),
-               .length         = SZ_4K,
-               .type           = MT_DEVICE
        }, {
                .virtual        = IO_ADDRESS(INTEGRATOR_DBG_BASE),
                .pfn            = __phys_to_pfn(INTEGRATOR_DBG_BASE),