|
@@ -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;
|
|
|
|
|
@@ -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,
|