blob: df5a21322b0ac1b68d8446c9da3b331a5c5957cd [file] [log] [blame]
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +03001/*
2 * linux/arch/arm/mach-omap3/sram.S
3 *
4 * Omap3 specific functions that need to be run in internal SRAM
5 *
Paul Walmsley4267b5d2009-06-19 19:08:27 -06006 * Copyright (C) 2004, 2007, 2008 Texas Instruments, Inc.
7 * Copyright (C) 2008 Nokia Corporation
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +03008 *
Paul Walmsley4267b5d2009-06-19 19:08:27 -06009 * Rajendra Nayak <rnayak@ti.com>
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +030010 * Richard Woodruff <r-woodruff2@ti.com>
Paul Walmsley4267b5d2009-06-19 19:08:27 -060011 * Paul Walmsley
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +030012 *
13 * This program is free software; you can redistribute it and/or
14 * modify it under the terms of the GNU General Public License as
15 * published by the Free Software Foundation; either version 2 of
16 * the License, or (at your option) any later version.
17 *
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR /PURPOSE. See the
21 * GNU General Public License for more details.
22 *
23 * You should have received a copy of the GNU General Public License
24 * along with this program; if not, write to the Free Software
25 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
26 * MA 02111-1307 USA
27 */
28#include <linux/linkage.h>
Tony Lindgrenee0839c2012-02-24 10:34:35 -080029
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +030030#include <asm/assembler.h>
Tony Lindgrenee0839c2012-02-24 10:34:35 -080031
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +030032#include <mach/hardware.h>
33
Tony Lindgrenee0839c2012-02-24 10:34:35 -080034#include "iomap.h"
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +030035#include "sdrc.h"
Paul Walmsley59fb6592010-12-21 15:30:55 -070036#include "cm2xxx_3xxx.h"
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +030037
Dave Martinef7a87d2011-03-04 15:33:56 +000038/*
39 * This file needs be built unconditionally as ARM to interoperate correctly
40 * with non-Thumb-2-capable firmware.
41 */
42 .arm
43
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +030044 .text
45
Jean Pihet58cda882009-07-24 19:43:25 -060046/* r1 parameters */
Paul Walmsleydf14e472009-06-19 19:08:28 -060047#define SDRC_NO_UNLOCK_DLL 0x0
48#define SDRC_UNLOCK_DLL 0x1
49
50/* SDRC_DLLA_CTRL bit settings */
Paul Walmsley7b7bcef2009-06-19 19:08:29 -060051#define FIXEDDELAY_SHIFT 24
52#define FIXEDDELAY_MASK (0xff << FIXEDDELAY_SHIFT)
Paul Walmsleydf14e472009-06-19 19:08:28 -060053#define DLLIDLE_MASK 0x4
54
Paul Walmsley7b7bcef2009-06-19 19:08:29 -060055/*
56 * SDRC_DLLA_CTRL default values: TI hardware team indicates that
57 * FIXEDDELAY should be initialized to 0xf. This apparently was
58 * empirically determined during process testing, so no derivation
59 * was provided.
60 */
61#define FIXEDDELAY_DEFAULT (0x0f << FIXEDDELAY_SHIFT)
62
Paul Walmsleydf14e472009-06-19 19:08:28 -060063/* SDRC_DLLA_STATUS bit settings */
64#define LOCKSTATUS_MASK 0x4
65
66/* SDRC_POWER bit settings */
67#define SRFRONIDLEREQ_MASK 0x40
Paul Walmsleydf14e472009-06-19 19:08:28 -060068
69/* CM_IDLEST1_CORE bit settings */
70#define ST_SDRC_MASK 0x2
71
72/* CM_ICLKEN1_CORE bit settings */
73#define EN_SDRC_MASK 0x2
74
75/* CM_CLKSEL1_PLL bit settings */
76#define CORE_DPLL_CLKOUT_DIV_SHIFT 0x1b
77
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +030078/*
Paul Walmsley4267b5d2009-06-19 19:08:27 -060079 * omap3_sram_configure_core_dpll - change DPLL3 M2 divider
Paul Walmsleyc9812d02009-06-19 19:08:26 -060080 *
Jean Pihet58cda882009-07-24 19:43:25 -060081 * Params passed in registers:
82 * r0 = new M2 divider setting (only 1 and 2 supported right now)
83 * r1 = unlock SDRC DLL? (1 = yes, 0 = no). Only unlock DLL for
84 * SDRC rates < 83MHz
85 * r2 = number of MPU cycles to wait for SDRC to stabilize after
86 * reprogramming the SDRC when switching to a slower MPU speed
87 * r3 = increasing SDRC rate? (1 = yes, 0 = no)
88 *
89 * Params passed via the stack. The needed params will be copied in SRAM
90 * before use by the code in SRAM (SDRAM is not accessible during SDRC
91 * reconfiguration):
92 * new SDRC_RFR_CTRL_0 register contents
93 * new SDRC_ACTIM_CTRL_A_0 register contents
94 * new SDRC_ACTIM_CTRL_B_0 register contents
95 * new SDRC_MR_0 register value
96 * new SDRC_RFR_CTRL_1 register contents
97 * new SDRC_ACTIM_CTRL_A_1 register contents
98 * new SDRC_ACTIM_CTRL_B_1 register contents
99 * new SDRC_MR_1 register value
100 *
Paul Walmsley18862cb2009-12-08 16:33:14 -0700101 * If the param SDRC_RFR_CTRL_1 is 0, the parameters are not programmed into
102 * the SDRC CS1 registers
103 *
104 * NOTE: This code no longer attempts to program the SDRC AC timing and MR
105 * registers. This is because the code currently cannot ensure that all
106 * L3 initiators (e.g., sDMA, IVA, DSS DISPC, etc.) are not accessing the
107 * SDRAM when the registers are written. If the registers are changed while
108 * an initiator is accessing SDRAM, memory can be corrupted and/or the SDRC
109 * may enter an unpredictable state. In the future, the intent is to
110 * re-enable this code in cases where we can ensure that no initiators are
111 * touching the SDRAM. Until that time, users who know that their use case
112 * can satisfy the above requirement can enable the CONFIG_OMAP3_SDRC_AC_TIMING
113 * option.
Paul Walmsley1124d2f2010-12-21 21:08:14 -0700114 *
115 * Richard Woodruff notes that any changes to this code must be carefully
116 * audited and tested to ensure that they don't cause a TLB miss while
117 * the SDRAM is inaccessible. Such a situation will crash the system
118 * since it will cause the ARM MMU to attempt to walk the page tables.
119 * These crashes may be intermittent.
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300120 */
Jean Pihetb6338bd2011-02-02 16:38:06 +0100121 .align 3
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300122ENTRY(omap3_sram_configure_core_dpll)
123 stmfd sp!, {r1-r12, lr} @ store regs to stack
Jean Pihet58cda882009-07-24 19:43:25 -0600124
125 @ pull the extra args off the stack
126 @ and store them in SRAM
Dave Martinef7a87d2011-03-04 15:33:56 +0000127
128/*
129 * PC-relative stores are deprecated in ARMv7 and lead to undefined behaviour
130 * in Thumb-2: use a r7 as a base instead.
131 * Be careful not to clobber r7 when maintaing this file.
132 */
133 THUMB( adr r7, omap3_sram_configure_core_dpll )
134 .macro strtext Rt:req, label:req
135 ARM( str \Rt, \label )
136 THUMB( str \Rt, [r7, \label - omap3_sram_configure_core_dpll] )
137 .endm
138
Jean Pihet58cda882009-07-24 19:43:25 -0600139 ldr r4, [sp, #52]
Dave Martinef7a87d2011-03-04 15:33:56 +0000140 strtext r4, omap_sdrc_rfr_ctrl_0_val
Jean Pihet58cda882009-07-24 19:43:25 -0600141 ldr r4, [sp, #56]
Dave Martinef7a87d2011-03-04 15:33:56 +0000142 strtext r4, omap_sdrc_actim_ctrl_a_0_val
Jean Pihet58cda882009-07-24 19:43:25 -0600143 ldr r4, [sp, #60]
Dave Martinef7a87d2011-03-04 15:33:56 +0000144 strtext r4, omap_sdrc_actim_ctrl_b_0_val
Jean Pihet58cda882009-07-24 19:43:25 -0600145 ldr r4, [sp, #64]
Dave Martinef7a87d2011-03-04 15:33:56 +0000146 strtext r4, omap_sdrc_mr_0_val
Jean Pihet58cda882009-07-24 19:43:25 -0600147 ldr r4, [sp, #68]
Dave Martinef7a87d2011-03-04 15:33:56 +0000148 strtext r4, omap_sdrc_rfr_ctrl_1_val
Jean Pihet58cda882009-07-24 19:43:25 -0600149 cmp r4, #0 @ if SDRC_RFR_CTRL_1 is 0,
150 beq skip_cs1_params @ do not use cs1 params
151 ldr r4, [sp, #72]
Dave Martinef7a87d2011-03-04 15:33:56 +0000152 strtext r4, omap_sdrc_actim_ctrl_a_1_val
Jean Pihet58cda882009-07-24 19:43:25 -0600153 ldr r4, [sp, #76]
Dave Martinef7a87d2011-03-04 15:33:56 +0000154 strtext r4, omap_sdrc_actim_ctrl_b_1_val
Jean Pihet58cda882009-07-24 19:43:25 -0600155 ldr r4, [sp, #80]
Dave Martinef7a87d2011-03-04 15:33:56 +0000156 strtext r4, omap_sdrc_mr_1_val
Jean Pihet58cda882009-07-24 19:43:25 -0600157skip_cs1_params:
Jon Huntera3fed9b2010-09-27 14:02:59 -0600158 mrc p15, 0, r8, c1, c0, 0 @ read ctrl register
159 bic r10, r8, #0x800 @ clear Z-bit, disable branch prediction
160 mcr p15, 0, r10, c1, c0, 0 @ write ctrl register
Paul Walmsley69d42552009-05-12 17:27:09 -0600161 dsb @ flush buffered writes to interconnect
Jon Huntera3fed9b2010-09-27 14:02:59 -0600162 isb @ prevent speculative exec past here
Jean Pihet58cda882009-07-24 19:43:25 -0600163 cmp r3, #1 @ if increasing SDRC clk rate,
Tero Kristo3afec6332009-06-19 19:08:29 -0600164 bleq configure_sdrc @ program the SDRC regs early (for RFR)
Jean Pihet58cda882009-07-24 19:43:25 -0600165 cmp r1, #SDRC_UNLOCK_DLL @ set the intended DLL state
Paul Walmsley4519c2b2009-05-12 17:26:32 -0600166 bleq unlock_dll
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300167 blne lock_dll
Paul Walmsley4267b5d2009-06-19 19:08:27 -0600168 bl sdram_in_selfrefresh @ put SDRAM in self refresh, idle SDRC
169 bl configure_core_dpll @ change the DPLL3 M2 divider
Rajendra Nayakdf565562009-07-24 19:44:02 -0600170 mov r12, r2
171 bl wait_clk_stable @ wait for SDRC to stabilize
Paul Walmsley4267b5d2009-06-19 19:08:27 -0600172 bl enable_sdrc @ take SDRC out of idle
Jean Pihet58cda882009-07-24 19:43:25 -0600173 cmp r1, #SDRC_UNLOCK_DLL @ wait for DLL status to change
Paul Walmsley4519c2b2009-05-12 17:26:32 -0600174 bleq wait_dll_unlock
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300175 blne wait_dll_lock
Jean Pihet58cda882009-07-24 19:43:25 -0600176 cmp r3, #1 @ if increasing SDRC clk rate,
Paul Walmsley4267b5d2009-06-19 19:08:27 -0600177 beq return_to_sdram @ return to SDRAM code, otherwise,
178 bl configure_sdrc @ reprogram SDRC regs now
Paul Walmsleyc9812d02009-06-19 19:08:26 -0600179return_to_sdram:
Jon Huntera3fed9b2010-09-27 14:02:59 -0600180 mcr p15, 0, r8, c1, c0, 0 @ restore ctrl register
Paul Walmsley69d42552009-05-12 17:27:09 -0600181 isb @ prevent speculative exec past here
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300182 mov r0, #0 @ return value
183 ldmfd sp!, {r1-r12, pc} @ restore regs and return
184unlock_dll:
Paul Walmsleyb2abb272009-05-12 17:27:10 -0600185 ldr r11, omap3_sdrc_dlla_ctrl
186 ldr r12, [r11]
Rajendra Nayak8ff120e2009-07-24 19:44:01 -0600187 bic r12, r12, #FIXEDDELAY_MASK
Paul Walmsley7b7bcef2009-06-19 19:08:29 -0600188 orr r12, r12, #FIXEDDELAY_DEFAULT
Paul Walmsleydf14e472009-06-19 19:08:28 -0600189 orr r12, r12, #DLLIDLE_MASK
Paul Walmsleyb2abb272009-05-12 17:27:10 -0600190 str r12, [r11] @ (no OCP barrier needed)
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300191 bx lr
192lock_dll:
Paul Walmsleyb2abb272009-05-12 17:27:10 -0600193 ldr r11, omap3_sdrc_dlla_ctrl
194 ldr r12, [r11]
Paul Walmsleydf14e472009-06-19 19:08:28 -0600195 bic r12, r12, #DLLIDLE_MASK
Paul Walmsleyb2abb272009-05-12 17:27:10 -0600196 str r12, [r11] @ (no OCP barrier needed)
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300197 bx lr
198sdram_in_selfrefresh:
Paul Walmsleyb2abb272009-05-12 17:27:10 -0600199 ldr r11, omap3_sdrc_power @ read the SDRC_POWER register
200 ldr r12, [r11] @ read the contents of SDRC_POWER
201 mov r9, r12 @ keep a copy of SDRC_POWER bits
Paul Walmsleydf14e472009-06-19 19:08:28 -0600202 orr r12, r12, #SRFRONIDLEREQ_MASK @ enable self refresh on idle
Paul Walmsleyb2abb272009-05-12 17:27:10 -0600203 str r12, [r11] @ write back to SDRC_POWER register
204 ldr r12, [r11] @ posted-write barrier for SDRC
Paul Walmsley4267b5d2009-06-19 19:08:27 -0600205idle_sdrc:
Paul Walmsleyb2abb272009-05-12 17:27:10 -0600206 ldr r11, omap3_cm_iclken1_core @ read the CM_ICLKEN1_CORE reg
207 ldr r12, [r11]
Paul Walmsleydf14e472009-06-19 19:08:28 -0600208 bic r12, r12, #EN_SDRC_MASK @ disable iclk bit for SDRC
Paul Walmsleyb2abb272009-05-12 17:27:10 -0600209 str r12, [r11]
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300210wait_sdrc_idle:
Paul Walmsleyb2abb272009-05-12 17:27:10 -0600211 ldr r11, omap3_cm_idlest1_core
212 ldr r12, [r11]
Paul Walmsleydf14e472009-06-19 19:08:28 -0600213 and r12, r12, #ST_SDRC_MASK @ check for SDRC idle
214 cmp r12, #ST_SDRC_MASK
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300215 bne wait_sdrc_idle
216 bx lr
217configure_core_dpll:
Paul Walmsleyb2abb272009-05-12 17:27:10 -0600218 ldr r11, omap3_cm_clksel1_pll
219 ldr r12, [r11]
220 ldr r10, core_m2_mask_val @ modify m2 for core dpll
221 and r12, r12, r10
Jean Pihet58cda882009-07-24 19:43:25 -0600222 orr r12, r12, r0, lsl #CORE_DPLL_CLKOUT_DIV_SHIFT
Paul Walmsleyb2abb272009-05-12 17:27:10 -0600223 str r12, [r11]
224 ldr r12, [r11] @ posted-write barrier for CM
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300225 bx lr
226wait_clk_stable:
Paul Walmsleyb2abb272009-05-12 17:27:10 -0600227 subs r12, r12, #1
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300228 bne wait_clk_stable
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300229 bx lr
230enable_sdrc:
Paul Walmsleyb2abb272009-05-12 17:27:10 -0600231 ldr r11, omap3_cm_iclken1_core
232 ldr r12, [r11]
Paul Walmsleydf14e472009-06-19 19:08:28 -0600233 orr r12, r12, #EN_SDRC_MASK @ enable iclk bit for SDRC
Paul Walmsleyb2abb272009-05-12 17:27:10 -0600234 str r12, [r11]
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300235wait_sdrc_idle1:
Paul Walmsleyb2abb272009-05-12 17:27:10 -0600236 ldr r11, omap3_cm_idlest1_core
237 ldr r12, [r11]
Paul Walmsleydf14e472009-06-19 19:08:28 -0600238 and r12, r12, #ST_SDRC_MASK
Paul Walmsleyb2abb272009-05-12 17:27:10 -0600239 cmp r12, #0
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300240 bne wait_sdrc_idle1
Paul Walmsleyfa0406a2009-05-12 17:27:09 -0600241restore_sdrc_power_val:
Paul Walmsleyb2abb272009-05-12 17:27:10 -0600242 ldr r11, omap3_sdrc_power
243 str r9, [r11] @ restore SDRC_POWER, no barrier needed
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300244 bx lr
245wait_dll_lock:
Paul Walmsleyb2abb272009-05-12 17:27:10 -0600246 ldr r11, omap3_sdrc_dlla_status
247 ldr r12, [r11]
Paul Walmsleydf14e472009-06-19 19:08:28 -0600248 and r12, r12, #LOCKSTATUS_MASK
249 cmp r12, #LOCKSTATUS_MASK
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300250 bne wait_dll_lock
251 bx lr
252wait_dll_unlock:
Paul Walmsleyb2abb272009-05-12 17:27:10 -0600253 ldr r11, omap3_sdrc_dlla_status
254 ldr r12, [r11]
Paul Walmsleydf14e472009-06-19 19:08:28 -0600255 and r12, r12, #LOCKSTATUS_MASK
Paul Walmsleyb2abb272009-05-12 17:27:10 -0600256 cmp r12, #0x0
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300257 bne wait_dll_unlock
258 bx lr
259configure_sdrc:
Jean Pihet58cda882009-07-24 19:43:25 -0600260 ldr r12, omap_sdrc_rfr_ctrl_0_val @ fetch value from SRAM
261 ldr r11, omap3_sdrc_rfr_ctrl_0 @ fetch addr from SRAM
262 str r12, [r11] @ store
Paul Walmsley18862cb2009-12-08 16:33:14 -0700263#ifdef CONFIG_OMAP3_SDRC_AC_TIMING
Jean Pihet58cda882009-07-24 19:43:25 -0600264 ldr r12, omap_sdrc_actim_ctrl_a_0_val
265 ldr r11, omap3_sdrc_actim_ctrl_a_0
266 str r12, [r11]
267 ldr r12, omap_sdrc_actim_ctrl_b_0_val
268 ldr r11, omap3_sdrc_actim_ctrl_b_0
269 str r12, [r11]
270 ldr r12, omap_sdrc_mr_0_val
Paul Walmsleyd0ba3922009-06-19 19:08:27 -0600271 ldr r11, omap3_sdrc_mr_0
Jean Pihet58cda882009-07-24 19:43:25 -0600272 str r12, [r11]
Paul Walmsley18862cb2009-12-08 16:33:14 -0700273#endif
Jean Pihet58cda882009-07-24 19:43:25 -0600274 ldr r12, omap_sdrc_rfr_ctrl_1_val
275 cmp r12, #0 @ if SDRC_RFR_CTRL_1 is 0,
276 beq skip_cs1_prog @ do not program cs1 params
277 ldr r11, omap3_sdrc_rfr_ctrl_1
278 str r12, [r11]
Paul Walmsley18862cb2009-12-08 16:33:14 -0700279#ifdef CONFIG_OMAP3_SDRC_AC_TIMING
Jean Pihet58cda882009-07-24 19:43:25 -0600280 ldr r12, omap_sdrc_actim_ctrl_a_1_val
281 ldr r11, omap3_sdrc_actim_ctrl_a_1
282 str r12, [r11]
283 ldr r12, omap_sdrc_actim_ctrl_b_1_val
284 ldr r11, omap3_sdrc_actim_ctrl_b_1
285 str r12, [r11]
286 ldr r12, omap_sdrc_mr_1_val
287 ldr r11, omap3_sdrc_mr_1
288 str r12, [r11]
Paul Walmsley18862cb2009-12-08 16:33:14 -0700289#endif
Jean Pihet58cda882009-07-24 19:43:25 -0600290skip_cs1_prog:
291 ldr r12, [r11] @ posted-write barrier for SDRC
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300292 bx lr
293
Dave Martinef7a87d2011-03-04 15:33:56 +0000294 .align
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300295omap3_sdrc_power:
296 .word OMAP34XX_SDRC_REGADDR(SDRC_POWER)
297omap3_cm_clksel1_pll:
298 .word OMAP34XX_CM_REGADDR(PLL_MOD, CM_CLKSEL1)
299omap3_cm_idlest1_core:
300 .word OMAP34XX_CM_REGADDR(CORE_MOD, CM_IDLEST)
301omap3_cm_iclken1_core:
302 .word OMAP34XX_CM_REGADDR(CORE_MOD, CM_ICLKEN1)
Jean Pihet58cda882009-07-24 19:43:25 -0600303
304omap3_sdrc_rfr_ctrl_0:
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300305 .word OMAP34XX_SDRC_REGADDR(SDRC_RFR_CTRL_0)
Jean Pihet58cda882009-07-24 19:43:25 -0600306omap3_sdrc_rfr_ctrl_1:
307 .word OMAP34XX_SDRC_REGADDR(SDRC_RFR_CTRL_1)
308omap3_sdrc_actim_ctrl_a_0:
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300309 .word OMAP34XX_SDRC_REGADDR(SDRC_ACTIM_CTRL_A_0)
Jean Pihet58cda882009-07-24 19:43:25 -0600310omap3_sdrc_actim_ctrl_a_1:
311 .word OMAP34XX_SDRC_REGADDR(SDRC_ACTIM_CTRL_A_1)
312omap3_sdrc_actim_ctrl_b_0:
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300313 .word OMAP34XX_SDRC_REGADDR(SDRC_ACTIM_CTRL_B_0)
Jean Pihet58cda882009-07-24 19:43:25 -0600314omap3_sdrc_actim_ctrl_b_1:
315 .word OMAP34XX_SDRC_REGADDR(SDRC_ACTIM_CTRL_B_1)
Paul Walmsleyd0ba3922009-06-19 19:08:27 -0600316omap3_sdrc_mr_0:
317 .word OMAP34XX_SDRC_REGADDR(SDRC_MR_0)
Jean Pihet58cda882009-07-24 19:43:25 -0600318omap3_sdrc_mr_1:
319 .word OMAP34XX_SDRC_REGADDR(SDRC_MR_1)
320omap_sdrc_rfr_ctrl_0_val:
321 .word 0xDEADBEEF
322omap_sdrc_rfr_ctrl_1_val:
323 .word 0xDEADBEEF
324omap_sdrc_actim_ctrl_a_0_val:
325 .word 0xDEADBEEF
326omap_sdrc_actim_ctrl_a_1_val:
327 .word 0xDEADBEEF
328omap_sdrc_actim_ctrl_b_0_val:
329 .word 0xDEADBEEF
330omap_sdrc_actim_ctrl_b_1_val:
331 .word 0xDEADBEEF
332omap_sdrc_mr_0_val:
333 .word 0xDEADBEEF
334omap_sdrc_mr_1_val:
335 .word 0xDEADBEEF
336
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300337omap3_sdrc_dlla_status:
338 .word OMAP34XX_SDRC_REGADDR(SDRC_DLLA_STATUS)
339omap3_sdrc_dlla_ctrl:
340 .word OMAP34XX_SDRC_REGADDR(SDRC_DLLA_CTRL)
341core_m2_mask_val:
342 .word 0x07FFFFFF
Dave Martinef7a87d2011-03-04 15:33:56 +0000343ENDPROC(omap3_sram_configure_core_dpll)
Syed Mohammed, Khasimcc26b3b2008-10-09 17:51:41 +0300344
345ENTRY(omap3_sram_configure_core_dpll_sz)
346 .word . - omap3_sram_configure_core_dpll
Jean Pihet58cda882009-07-24 19:43:25 -0600347