aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/include
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2011-10-04 21:17:41 -0400
committerTony Lindgren <tony@atomide.com>2011-10-19 19:34:11 -0400
commit4c3cf90117f1f4906d5975aeccc5ffd414807fd2 (patch)
tree97ffb9d131b69b694229bd8c2f7f27303ee6d4d0 /arch/arm/plat-omap/include
parenta66cb3454f220f49f900646ebdc76cb943319eb7 (diff)
ARM: OMAP: Move set_globals initialization to happen in init_early
Otherwise we can't do generic map_io as we currently rely on static mappings that work only because of arch_ioremap. 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/plat-omap/include')
-rw-r--r--arch/arm/plat-omap/include/plat/common.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/arch/arm/plat-omap/include/plat/common.h b/arch/arm/plat-omap/include/plat/common.h
index ed85720c59c7..c50df4814f6f 100644
--- a/arch/arm/plat-omap/include/plat/common.h
+++ b/arch/arm/plat-omap/include/plat/common.h
@@ -65,13 +65,13 @@ void omap_sram_init(void);
65struct omap_globals { 65struct omap_globals {
66 u32 class; /* OMAP class to detect */ 66 u32 class; /* OMAP class to detect */
67 void __iomem *tap; /* Control module ID code */ 67 void __iomem *tap; /* Control module ID code */
68 unsigned long sdrc; /* SDRAM Controller */ 68 void __iomem *sdrc; /* SDRAM Controller */
69 unsigned long sms; /* SDRAM Memory Scheduler */ 69 void __iomem *sms; /* SDRAM Memory Scheduler */
70 unsigned long ctrl; /* System Control Module */ 70 void __iomem *ctrl; /* System Control Module */
71 unsigned long ctrl_pad; /* PAD Control Module */ 71 void __iomem *ctrl_pad; /* PAD Control Module */
72 unsigned long prm; /* Power and Reset Management */ 72 void __iomem *prm; /* Power and Reset Management */
73 unsigned long cm; /* Clock Management */ 73 void __iomem *cm; /* Clock Management */
74 unsigned long cm2; 74 void __iomem *cm2;
75}; 75};
76 76
77void omap2_set_globals_242x(void); 77void omap2_set_globals_242x(void);