ARM: 7129/1: Add __arm_ioremap_exec for mapping external memory as MT_MEMORY
authorTony Lindgren <tony@atomide.com>
Wed, 12 Oct 2011 00:02:50 +0000 (01:02 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 22 Oct 2011 21:24:48 +0000 (22:24 +0100)
commit6c5482d53f195d3ca61c9ec1be25b0f4a92575fe
tree2ee043e7086ce54f101cd2e86ae0780a4185af29
parentee3f615819404a9438b2dd01b7a39f276d2737f2
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>
arch/arm/include/asm/io.h
arch/arm/mm/ioremap.c