Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 299487
b: refs/heads/master
c: 63878ac
h: refs/heads/master
i:
  299485: 988daf0
  299483: ccc7bc0
  299479: 4bf3835
  299471: cfd8897
  299455: c7c5ec1
v: v3
  • Loading branch information
Grazvydas Ignotas authored and Tony Lindgren committed Apr 17, 2012
1 parent 5aa356a commit e68c7f1
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 907025e3bae0e9e96361dab5b157383cbfbafda0
refs/heads/master: 63878acfafbc7a6ff90a2f8b3e31f0889bc61af6
12 changes: 6 additions & 6 deletions trunk/arch/arm/plat-omap/sram.c
Original file line number Diff line number Diff line change
Expand Up @@ -348,7 +348,6 @@ u32 omap3_configure_core_dpll(u32 m2, u32 unlock_dll, u32 f, u32 inc,
sdrc_actim_ctrl_b_1, sdrc_mr_1);
}

#ifdef CONFIG_PM
void omap3_sram_restore_context(void)
{
omap_sram_ceil = omap_sram_base + omap_sram_size;
Expand All @@ -358,17 +357,18 @@ void omap3_sram_restore_context(void)
omap3_sram_configure_core_dpll_sz);
omap_push_sram_idle();
}
#endif /* CONFIG_PM */

#endif /* CONFIG_ARCH_OMAP3 */

static inline int omap34xx_sram_init(void)
{
#if defined(CONFIG_ARCH_OMAP3) && defined(CONFIG_PM)
omap3_sram_restore_context();
#endif
return 0;
}
#else
static inline int omap34xx_sram_init(void)
{
return 0;
}
#endif /* CONFIG_ARCH_OMAP3 */

static inline int am33xx_sram_init(void)
{
Expand Down

0 comments on commit e68c7f1

Please sign in to comment.