From 55fffc6ce4a05b3bbf4fcac43891fa5d42d82c3c Mon Sep 17 00:00:00 2001 From: chenxing Date: Sat, 4 May 2013 16:51:19 +0800 Subject: [PATCH] rk3188: add efuse memory map support --- arch/arm/mach-rk3188/include/mach/io.h | 1 + arch/arm/mach-rk3188/io.c | 1 + 2 files changed, 2 insertions(+) diff --git a/arch/arm/mach-rk3188/include/mach/io.h b/arch/arm/mach-rk3188/include/mach/io.h index fab471c3d48c..6389b6125f21 100644 --- a/arch/arm/mach-rk3188/include/mach/io.h +++ b/arch/arm/mach-rk3188/include/mach/io.h @@ -140,6 +140,7 @@ #define RK3188_TIMER3_BASE RK30_IO_TO_VIRT1(RK3188_TIMER3_PHYS) #define RK3188_TIMER3_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-rk3188/io.c b/arch/arm/mach-rk3188/io.c index 11c510e62b6d..fe5c47b96a08 100644 --- a/arch/arm/mach-rk3188/io.c +++ b/arch/arm/mach-rk3188/io.c @@ -53,6 +53,7 @@ static struct map_desc rk30_io_desc[] __initdata = { RK30_DEVICE(GPIO2), RK30_DEVICE(GPIO3), RK30_DEVICE(TIMER0), + RK30_DEVICE(EFUSE), { .virtual = (unsigned long) RK3188_TIMER3_BASE, .pfn = __phys_to_pfn(RK3188_TIMER3_PHYS), -- 2.34.1