From c6ba441eba3b1bb42c99b23b446ba30de85aadf2 Mon Sep 17 00:00:00 2001 From: chenxing Date: Fri, 21 Jun 2013 14:20:56 +0800 Subject: [PATCH] rk3066B: add EFUSE BASE support --- arch/arm/mach-rk30/include/mach/io.h | 1 + arch/arm/mach-rk30/io.c | 1 + 2 files changed, 2 insertions(+) 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), -- 2.34.1