From: chenxing Date: Fri, 21 Jun 2013 06:20:56 +0000 (+0800) Subject: rk3066B: add EFUSE BASE support X-Git-Tag: firefly_0821_release~6965^2~38 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c6ba441eba3b1bb42c99b23b446ba30de85aadf2;p=firefly-linux-kernel-4.4.55.git rk3066B: add EFUSE BASE support --- diff --git a/arch/arm/mach-rk30/include/mach/io.h b/arch/arm/mach-rk30/include/mach/io.h index dee6fe9e199f..0313488d707d 100755 --- a/arch/arm/mach-rk30/include/mach/io.h +++ b/arch/arm/mach-rk30/include/mach/io.h @@ -146,6 +146,7 @@ #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 diff --git a/arch/arm/mach-rk30/io.c b/arch/arm/mach-rk30/io.c index e47402d80d67..fed80c2f5017 100755 --- a/arch/arm/mach-rk30/io.c +++ b/arch/arm/mach-rk30/io.c @@ -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),