ARM: rockchip: rk3188 add RK3188_UART_SIZE
author黄涛 <huangtao@rock-chips.com>
Wed, 22 Jan 2014 08:03:27 +0000 (16:03 +0800)
committer黄涛 <huangtao@rock-chips.com>
Wed, 22 Jan 2014 08:03:27 +0000 (16:03 +0800)
arch/arm/mach-rockchip/iomap.h
arch/arm/mach-rockchip/rk3188.c

index 6cbc5c1e1612662dad2390ece2da3d596b3d9013..d7fe5f1f4dbf2dabc8a5d989da5685328446353d 100644 (file)
 #define RK3188_DDR_PUBL_PHYS    0x20040000
 #define RK3188_DDR_PUBL_SIZE    SZ_16K
 #define RK3188_UART0_PHYS       0x10124000
-#define RK3188_UART0_SIZE       SZ_4K
 #define RK3188_UART1_PHYS       0x10126000
-#define RK3188_UART1_SIZE       SZ_4K
 #define RK3188_UART2_PHYS       0x20064000
-#define RK3188_UART2_SIZE       SZ_4K
 #define RK3188_UART3_PHYS       0x20068000
-#define RK3188_UART3_SIZE       SZ_4K
+#define RK3188_UART_SIZE        SZ_4K
 
 #endif
index edffe72909e9910377dff4da78161c3ab180aca9..c0eb23c40e21785c8747b4cbf0ed8356189e9818 100644 (file)
@@ -87,7 +87,7 @@ static struct map_desc rk3188_io_desc[] __initdata = {
        {
                .virtual        = (unsigned long) RK_DEBUG_UART_VIRT,
                .pfn            = __phys_to_pfn(RK3188_UART2_PHYS),
-               .length         = RK3188_UART2_SIZE,
+               .length         = RK3188_UART_SIZE,
                .type           = MT_DEVICE,
        },
 };