summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-omap1/devices.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2011-10-04 13:52:57 -0700
committerTony Lindgren <tony@atomide.com>2011-10-19 16:34:10 -0700
commita66cb3454f220f49f900646ebdc76cb943319eb7 (patch)
treebc5f79989a037e3b3d0b067bc9cac9868291b490 /arch/arm/mach-omap1/devices.c
parentfee926bb0d399b1eaaf38f9f694bbf2747c4b8a2 (diff)
downloadlinux-a66cb3454f220f49f900646ebdc76cb943319eb7.tar.gz
linux-a66cb3454f220f49f900646ebdc76cb943319eb7.tar.bz2
linux-a66cb3454f220f49f900646ebdc76cb943319eb7.zip
ARM: OMAP: Map SRAM later on with ioremap_exec()
This allows us to remove omap hacks for map_io. Acked-by: Nicolas Pitre <nicolas.pitre@linaro.org> Reviewed-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Tested-by: Santosh Shilimkar <santosh.shilimkar@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap1/devices.c')
-rw-r--r--arch/arm/mach-omap1/devices.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-omap1/devices.c b/arch/arm/mach-omap1/devices.c
index 36f26c3fa25e..38e1142ba71f 100644
--- a/arch/arm/mach-omap1/devices.c
+++ b/arch/arm/mach-omap1/devices.c
@@ -21,6 +21,7 @@
#include <mach/hardware.h>
#include <asm/mach/map.h>
+#include <plat/common.h>
#include <plat/tc.h>
#include <plat/board.h>
#include <plat/mux.h>
@@ -291,6 +292,8 @@ static int __init omap1_init_devices(void)
if (!cpu_class_is_omap1())
return -ENODEV;
+ omap_sram_init();
+
/* please keep these calls, and their implementations above,
* in alphabetical order so they're easier to sort through.
*/