diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-25 16:46:56 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-10-25 16:46:56 -0400 |
commit | 7b6181e06841f5ad15c4ff708b967b4db65a64de (patch) | |
tree | bdfcf5b74b692f76581156e452d268b64c795200 /arch/arm/mach-omap2/sram34xx.S | |
parent | 72e58063d63c5f0a7bf65312f1e3a5ed9bb5c2ff (diff) | |
parent | bc487fb341af05120bccb9f59ce76302391dcc77 (diff) |
Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6
* 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6: (163 commits)
omap: complete removal of machine_desc.io_pg_offst and .phys_io
omap: UART: fix wakeup registers for OMAP24xx UART2
omap: Fix spotty MMC voltages
ASoC: OMAP4: MCPDM: Remove unnecessary include of plat/control.h
serial: omap-serial: fix signess error
OMAP3: DMA: Errata i541: sDMA FIFO draining does not finish
omap: dma: Fix buffering disable bit setting for omap24xx
omap: serial: Fix the boot-up crash/reboot without CONFIG_PM
OMAP3: PM: fix scratchpad memory accesses for off-mode
omap4: pandaboard: enable the ehci port on pandaboard
omap4: pandaboard: Fix the init if CONFIG_MMC_OMAP_HS is not set
omap4: pandaboard: remove unused hsmmc definition
OMAP: McBSP: Remove null omap44xx ops comment
OMAP: McBSP: Swap CLKS source definition
OMAP: McBSP: Fix CLKR and FSR signal muxing
OMAP2+: clock: reduce the amount of standard debugging while disabling unused clocks
OMAP: control: move plat-omap/control.h to mach-omap2/control.h
OMAP: split plat-omap/common.c
OMAP: McBSP: implement functional clock switching via clock framework
OMAP: McBSP: implement McBSP CLKR and FSR signal muxing via mach-omap2/mcbsp.c
...
Fixed up trivial conflicts in arch/arm/mach-omap2/
{board-zoom-peripherals.c,devices.c} as per Tony
Diffstat (limited to 'arch/arm/mach-omap2/sram34xx.S')
-rw-r--r-- | arch/arm/mach-omap2/sram34xx.S | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/sram34xx.S b/arch/arm/mach-omap2/sram34xx.S index de99ba2a57ab..3637274af5be 100644 --- a/arch/arm/mach-omap2/sram34xx.S +++ b/arch/arm/mach-omap2/sram34xx.S | |||
@@ -129,8 +129,11 @@ ENTRY(omap3_sram_configure_core_dpll) | |||
129 | ldr r4, [sp, #80] | 129 | ldr r4, [sp, #80] |
130 | str r4, omap_sdrc_mr_1_val | 130 | str r4, omap_sdrc_mr_1_val |
131 | skip_cs1_params: | 131 | skip_cs1_params: |
132 | mrc p15, 0, r8, c1, c0, 0 @ read ctrl register | ||
133 | bic r10, r8, #0x800 @ clear Z-bit, disable branch prediction | ||
134 | mcr p15, 0, r10, c1, c0, 0 @ write ctrl register | ||
132 | dsb @ flush buffered writes to interconnect | 135 | dsb @ flush buffered writes to interconnect |
133 | 136 | isb @ prevent speculative exec past here | |
134 | cmp r3, #1 @ if increasing SDRC clk rate, | 137 | cmp r3, #1 @ if increasing SDRC clk rate, |
135 | bleq configure_sdrc @ program the SDRC regs early (for RFR) | 138 | bleq configure_sdrc @ program the SDRC regs early (for RFR) |
136 | cmp r1, #SDRC_UNLOCK_DLL @ set the intended DLL state | 139 | cmp r1, #SDRC_UNLOCK_DLL @ set the intended DLL state |
@@ -148,6 +151,7 @@ skip_cs1_params: | |||
148 | beq return_to_sdram @ return to SDRAM code, otherwise, | 151 | beq return_to_sdram @ return to SDRAM code, otherwise, |
149 | bl configure_sdrc @ reprogram SDRC regs now | 152 | bl configure_sdrc @ reprogram SDRC regs now |
150 | return_to_sdram: | 153 | return_to_sdram: |
154 | mcr p15, 0, r8, c1, c0, 0 @ restore ctrl register | ||
151 | isb @ prevent speculative exec past here | 155 | isb @ prevent speculative exec past here |
152 | mov r0, #0 @ return value | 156 | mov r0, #0 @ return value |
153 | ldmfd sp!, {r1-r12, pc} @ restore regs and return | 157 | ldmfd sp!, {r1-r12, pc} @ restore regs and return |