Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 172748
b: refs/heads/master
c: 692ec4a
h: refs/heads/master
v: v3
  • Loading branch information
Juha Yrjola authored and Kevin Hilman committed Nov 11, 2009
1 parent 4105daa commit de42b09
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 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: bf07c9f2d869077cc918b4cda861eadac6df6283
refs/heads/master: 692ec4abb96174c0e4b3aef6d2b71f36a4a14c8b
13 changes: 11 additions & 2 deletions trunk/arch/arm/mach-omap2/prcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,18 @@ void omap_prcm_arch_reset(char mode)

if (cpu_is_omap24xx())
prcm_offs = WKUP_MOD;
else if (cpu_is_omap34xx())
else if (cpu_is_omap34xx()) {
u32 l;

prcm_offs = OMAP3430_GR_MOD;
else
l = ('B' << 24) | ('M' << 16) | mode;
/* Reserve the first word in scratchpad for communicating
* with the boot ROM. A pointer to a data structure
* describing the boot process can be stored there,
* cf. OMAP34xx TRM, Initialization / Software Booting
* Configuration. */
omap_writel(l, OMAP343X_SCRATCHPAD + 4);
} else
WARN_ON(1);

prm_set_mod_reg_bits(OMAP_RST_DPLL3, prcm_offs, RM_RSTCTRL);
Expand Down

0 comments on commit de42b09

Please sign in to comment.