summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/io.h
diff options
context:
space:
mode:
authorTony Lindgren2011-10-12 02:02:50 +0200
committerRussell King2011-10-22 23:24:48 +0200
commit6c5482d53f195d3ca61c9ec1be25b0f4a92575fe (patch)
tree2ee043e7086ce54f101cd2e86ae0780a4185af29 /arch/arm/include/asm/io.h
parentARM: 7136/1: pl330: Fix a race condition (diff)
downloadkernel-qcow2-linux-6c5482d53f195d3ca61c9ec1be25b0f4a92575fe.tar.gz
kernel-qcow2-linux-6c5482d53f195d3ca61c9ec1be25b0f4a92575fe.tar.xz
kernel-qcow2-linux-6c5482d53f195d3ca61c9ec1be25b0f4a92575fe.zip
ARM: 7129/1: Add __arm_ioremap_exec for mapping external memory as MT_MEMORY
This allows mapping external memory such as SRAM for use. This is needed for some small chunks of code, such as reprogramming SDRAM memory source clocks that can't be executed in SDRAM. Other use cases include some PM related code. Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org> Acked-by: Andres Salomon <dilinger@queued.net> Signed-off-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/io.h')
-rw-r--r--arch/arm/include/asm/io.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/include/asm/io.h b/arch/arm/include/asm/io.h
index bbeb11eda814..2e59180143a4 100644
--- a/arch/arm/include/asm/io.h
+++ b/arch/arm/include/asm/io.h
@@ -80,6 +80,7 @@ extern void __iomem *__arm_ioremap_caller(unsigned long, size_t, unsigned int,
extern void __iomem *__arm_ioremap_pfn(unsigned long, unsigned long, size_t, unsigned int);
extern void __iomem *__arm_ioremap(unsigned long, size_t, unsigned int);
+extern void __iomem *__arm_ioremap_exec(unsigned long, size_t, bool cached);
extern void __iounmap(volatile void __iomem *addr);
/*