diff options
Diffstat (limited to 'arch/arm/mach-omap2/prcm.c')
-rw-r--r-- | arch/arm/mach-omap2/prcm.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/arch/arm/mach-omap2/prcm.c b/arch/arm/mach-omap2/prcm.c index a51846e3a6fa..2eca8475d396 100644 --- a/arch/arm/mach-omap2/prcm.c +++ b/arch/arm/mach-omap2/prcm.c | |||
@@ -143,16 +143,8 @@ void omap_prcm_arch_reset(char mode, const char *cmd) | |||
143 | 143 | ||
144 | prcm_offs = WKUP_MOD; | 144 | prcm_offs = WKUP_MOD; |
145 | } else if (cpu_is_omap34xx()) { | 145 | } else if (cpu_is_omap34xx()) { |
146 | u32 l; | ||
147 | |||
148 | prcm_offs = OMAP3430_GR_MOD; | 146 | prcm_offs = OMAP3430_GR_MOD; |
149 | l = ('B' << 24) | ('M' << 16) | (cmd ? (u8)*cmd : 0); | 147 | omap3_ctrl_write_boot_mode((cmd ? (u8)*cmd : 0)); |
150 | /* Reserve the first word in scratchpad for communicating | ||
151 | * with the boot ROM. A pointer to a data structure | ||
152 | * describing the boot process can be stored there, | ||
153 | * cf. OMAP34xx TRM, Initialization / Software Booting | ||
154 | * Configuration. */ | ||
155 | omap_writel(l, OMAP343X_SCRATCHPAD + 4); | ||
156 | } else if (cpu_is_omap44xx()) | 148 | } else if (cpu_is_omap44xx()) |
157 | prcm_offs = OMAP4430_PRM_DEVICE_MOD; | 149 | prcm_offs = OMAP4430_PRM_DEVICE_MOD; |
158 | else | 150 | else |