Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 188420
b: refs/heads/master
c: 29b9a21
h: refs/heads/master
v: v3
  • Loading branch information
Aaro Koskinen authored and Tony Lindgren committed Mar 11, 2010
1 parent 67be187 commit a9b4b26
Show file tree
Hide file tree
Showing 4 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: 26e4248359c6bf2da4a07767f6e12f1df426ab0a
refs/heads/master: 29b9a218d0be8e207ddeacdc68eb1e4b7f54b85a
4 changes: 2 additions & 2 deletions trunk/arch/arm/mach-omap2/prcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ u32 omap_prcm_get_reset_sources(void)
EXPORT_SYMBOL(omap_prcm_get_reset_sources);

/* Resets clock rates and reboots the system. Only called from system.h */
void omap_prcm_arch_reset(char mode)
void omap_prcm_arch_reset(char mode, const char *cmd)
{
s16 prcm_offs = 0;

Expand All @@ -145,7 +145,7 @@ void omap_prcm_arch_reset(char mode)
u32 l;

prcm_offs = OMAP3430_GR_MOD;
l = ('B' << 24) | ('M' << 16) | mode;
l = ('B' << 24) | ('M' << 16) | (cmd ? (u8)*cmd : 0);
/* 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,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/plat-omap/include/plat/prcm.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
#define __ASM_ARM_ARCH_OMAP_PRCM_H

u32 omap_prcm_get_reset_sources(void);
void omap_prcm_arch_reset(char mode);
void omap_prcm_arch_reset(char mode, const char *cmd);
int omap2_cm_wait_idlest(void __iomem *reg, u32 mask, u8 idlest,
const char *name);

Expand Down
6 changes: 3 additions & 3 deletions trunk/arch/arm/plat-omap/include/plat/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ static inline void arch_idle(void)
cpu_do_idle();
}

static inline void omap1_arch_reset(char mode)
static inline void omap1_arch_reset(char mode, const char *cmd)
{
/*
* Workaround for 5912/1611b bug mentioned in sprz209d.pdf p. 28
Expand All @@ -43,9 +43,9 @@ static inline void omap1_arch_reset(char mode)
static inline void arch_reset(char mode, const char *cmd)
{
if (!cpu_class_is_omap2())
omap1_arch_reset(mode);
omap1_arch_reset(mode, cmd);
else
omap_prcm_arch_reset(mode);
omap_prcm_arch_reset(mode, cmd);
}

#endif

0 comments on commit a9b4b26

Please sign in to comment.