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 becba430a24616c8ab2d7a2e34cd7a5a4da82b0e..771cbe44b66243c5a000d287384c2fce59375f20 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 fc2b1e48c7609ccd7d7d02e375d0c4b472413252..c4b6af9a42391f7e6c2f3f40050be4cbacdf6d1e 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),