linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: i.MX27: Add platform support for IRAM.
@ 2012-11-05 15:59 Javier Martin
  2012-11-05 15:59 ` [PATCH 2/2] media: coda: Use iram_alloc() for codadx6 too Javier Martin
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Javier Martin @ 2012-11-05 15:59 UTC (permalink / raw)
  To: linux-arm-kernel

Add support for IRAM to i.MX27 non-DT platforms using
iram_init() function.

Signed-off-by: Javier Martin <javier.martin@vista-silicon.com>
---
 arch/arm/mach-imx/mm-imx27.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/arch/arm/mach-imx/mm-imx27.c b/arch/arm/mach-imx/mm-imx27.c
index e7e24af..fd2416d 100644
--- a/arch/arm/mach-imx/mm-imx27.c
+++ b/arch/arm/mach-imx/mm-imx27.c
@@ -27,6 +27,7 @@
 #include <asm/pgtable.h>
 #include <asm/mach/map.h>
 #include <mach/iomux-v1.h>
+#include <mach/iram.h>
 
 /* MX27 memory map definition */
 static struct map_desc imx27_io_desc[] __initdata = {
@@ -94,4 +95,6 @@ void __init imx27_soc_init(void)
 	/* imx27 has the imx21 type audmux */
 	platform_device_register_simple("imx21-audmux", 0, imx27_audmux_res,
 					ARRAY_SIZE(imx27_audmux_res));
+	/* imx27 has an iram of 46080 bytes size */
+	iram_init(MX27_IRAM_BASE_ADDR, 46080);
 }
-- 
1.7.9.5

^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-11-22  8:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-05 15:59 [PATCH 1/2] ARM: i.MX27: Add platform support for IRAM Javier Martin
2012-11-05 15:59 ` [PATCH 2/2] media: coda: Use iram_alloc() for codadx6 too Javier Martin
2012-11-06 11:37 ` [PATCH 1/2] ARM: i.MX27: Add platform support for IRAM Guennadi Liakhovetski
2012-11-06 12:41   ` Sascha Hauer
2012-11-16 12:48 ` Sascha Hauer
2012-11-22  8:23   ` javier Martin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).