summaryrefslogtreecommitdiff
path: root/arch/arm/mach-stmp378x
diff options
context:
space:
mode:
authorFrank Li <Frank.Li@freescale.com>2010-02-23 11:15:44 +0800
committerFrank Li <Frank.Li@freescale.com>2010-02-25 13:37:10 +0800
commit41d36495e1614bbec3230468932433740485b99c (patch)
tree76fc959002d3827bf84fdf0cd8e308ae3bd6cb21 /arch/arm/mach-stmp378x
parent2609217dea1af5d51f3eef6c1cf989d7b0b1acf7 (diff)
ENGR00121050 Fix IMX233 Build Error after usb use iram alloc
Fix imx233 build error when usb driver use iram alloc function Signed-off-by: Frank Li <Frank.Li@freescale.com>
Diffstat (limited to 'arch/arm/mach-stmp378x')
-rw-r--r--arch/arm/mach-stmp378x/stmp378x_devb.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-stmp378x/stmp378x_devb.c b/arch/arm/mach-stmp378x/stmp378x_devb.c
index 56a97435f148..c86a3d0c4c5a 100644
--- a/arch/arm/mach-stmp378x/stmp378x_devb.c
+++ b/arch/arm/mach-stmp378x/stmp378x_devb.c
@@ -3,7 +3,7 @@
*
* Embedded Alley Solutions, Inc <source@embeddedalley.com>
*
- * Copyright 2009 Freescale Semiconductor, Inc. All Rights Reserved.
+ * Copyright 2009-2010 Freescale Semiconductor, Inc.
* Copyright 2008 Embedded Alley Solutions, Inc All Rights Reserved.
*/
@@ -369,6 +369,8 @@ static void __init stmp378x_devb_init(void)
/* init stmp3xxx platform */
stmp3xxx_init();
+ /* Init iram allocate */
+ iram_init(STMP3XXX_OCRAM_PHBASE, STMP3XXX_OCRAM_SIZE);
stmp3xxx_dbguart.dev.platform_data = dbguart_pinmux;
stmp3xxx_appuart.dev.platform_data = appuart_pinmux;