rk3066B: add EFUSE BASE support
authorchenxing <chenxing@rock-chips.com>
Fri, 21 Jun 2013 06:20:56 +0000 (14:20 +0800)
committerchenxing <chenxing@rock-chips.com>
Fri, 21 Jun 2013 06:20:56 +0000 (14:20 +0800)
arch/arm/mach-rk30/include/mach/io.h
arch/arm/mach-rk30/io.c

index dee6fe9e199fb0fbcb3465e346bc3ddd27369951..0313488d707d803db0217de0e796e7f74ae8a19e 100755 (executable)
 #define RK30_TIMER2_BASE        RK30_IO_TO_VIRT1(RK30_TIMER2_PHYS)
 #define RK30_TIMER2_SIZE        SZ_8K
 #define RK30_EFUSE_PHYS         0x20010000
+#define RK30_EFUSE_BASE                RK30_IO_TO_VIRT1(RK30_EFUSE_PHYS)
 #define RK30_EFUSE_SIZE         SZ_16K
 #define RK30_TZPC_PHYS          0x20014000
 #define RK30_TZPC_SIZE          SZ_16K
index e47402d80d67d77e9fb640391d273caca9813e82..fed80c2f5017e6c4872439f91b2bf63cc4e75591 100755 (executable)
@@ -54,6 +54,7 @@ static struct map_desc rk30_io_desc[] __initdata = {
        RK30_DEVICE(TIMER0),
        RK30_DEVICE(TIMER1),
        RK30_DEVICE(TIMER2),
+       RK30_DEVICE(EFUSE),
        RK30_DEVICE(PWM01),
        RK30_DEVICE(PWM23),
        RK30_DEVICE(DDR_PCTL),