Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 1 | /* |
| 2 | * linux/arch/arm/mach-omap3/sram.S |
| 3 | * |
| 4 | * Omap3 specific functions that need to be run in internal SRAM |
| 5 | * |
Paul Walmsley | 4267b5d | 2009-06-19 19:08:27 -0600 | [diff] [blame] | 6 | * Copyright (C) 2004, 2007, 2008 Texas Instruments, Inc. |
| 7 | * Copyright (C) 2008 Nokia Corporation |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 8 | * |
Paul Walmsley | 4267b5d | 2009-06-19 19:08:27 -0600 | [diff] [blame] | 9 | * Rajendra Nayak <rnayak@ti.com> |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 10 | * Richard Woodruff <r-woodruff2@ti.com> |
Paul Walmsley | 4267b5d | 2009-06-19 19:08:27 -0600 | [diff] [blame] | 11 | * Paul Walmsley |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 12 | * |
| 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> |
| 29 | #include <asm/assembler.h> |
| 30 | #include <mach/hardware.h> |
| 31 | |
| 32 | #include <mach/io.h> |
| 33 | |
| 34 | #include "sdrc.h" |
| 35 | #include "cm.h" |
| 36 | |
| 37 | .text |
| 38 | |
Jean Pihet | 58cda88 | 2009-07-24 19:43:25 -0600 | [diff] [blame] | 39 | /* r1 parameters */ |
Paul Walmsley | df14e47 | 2009-06-19 19:08:28 -0600 | [diff] [blame] | 40 | #define SDRC_NO_UNLOCK_DLL 0x0 |
| 41 | #define SDRC_UNLOCK_DLL 0x1 |
| 42 | |
| 43 | /* SDRC_DLLA_CTRL bit settings */ |
Paul Walmsley | 7b7bcef | 2009-06-19 19:08:29 -0600 | [diff] [blame] | 44 | #define FIXEDDELAY_SHIFT 24 |
| 45 | #define FIXEDDELAY_MASK (0xff << FIXEDDELAY_SHIFT) |
Paul Walmsley | df14e47 | 2009-06-19 19:08:28 -0600 | [diff] [blame] | 46 | #define DLLIDLE_MASK 0x4 |
| 47 | |
Paul Walmsley | 7b7bcef | 2009-06-19 19:08:29 -0600 | [diff] [blame] | 48 | /* |
| 49 | * SDRC_DLLA_CTRL default values: TI hardware team indicates that |
| 50 | * FIXEDDELAY should be initialized to 0xf. This apparently was |
| 51 | * empirically determined during process testing, so no derivation |
| 52 | * was provided. |
| 53 | */ |
| 54 | #define FIXEDDELAY_DEFAULT (0x0f << FIXEDDELAY_SHIFT) |
| 55 | |
Paul Walmsley | df14e47 | 2009-06-19 19:08:28 -0600 | [diff] [blame] | 56 | /* SDRC_DLLA_STATUS bit settings */ |
| 57 | #define LOCKSTATUS_MASK 0x4 |
| 58 | |
| 59 | /* SDRC_POWER bit settings */ |
| 60 | #define SRFRONIDLEREQ_MASK 0x40 |
Paul Walmsley | df14e47 | 2009-06-19 19:08:28 -0600 | [diff] [blame] | 61 | |
| 62 | /* CM_IDLEST1_CORE bit settings */ |
| 63 | #define ST_SDRC_MASK 0x2 |
| 64 | |
| 65 | /* CM_ICLKEN1_CORE bit settings */ |
| 66 | #define EN_SDRC_MASK 0x2 |
| 67 | |
| 68 | /* CM_CLKSEL1_PLL bit settings */ |
| 69 | #define CORE_DPLL_CLKOUT_DIV_SHIFT 0x1b |
| 70 | |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 71 | /* |
Paul Walmsley | 4267b5d | 2009-06-19 19:08:27 -0600 | [diff] [blame] | 72 | * omap3_sram_configure_core_dpll - change DPLL3 M2 divider |
Paul Walmsley | c9812d0 | 2009-06-19 19:08:26 -0600 | [diff] [blame] | 73 | * |
Jean Pihet | 58cda88 | 2009-07-24 19:43:25 -0600 | [diff] [blame] | 74 | * Params passed in registers: |
| 75 | * r0 = new M2 divider setting (only 1 and 2 supported right now) |
| 76 | * r1 = unlock SDRC DLL? (1 = yes, 0 = no). Only unlock DLL for |
| 77 | * SDRC rates < 83MHz |
| 78 | * r2 = number of MPU cycles to wait for SDRC to stabilize after |
| 79 | * reprogramming the SDRC when switching to a slower MPU speed |
| 80 | * r3 = increasing SDRC rate? (1 = yes, 0 = no) |
| 81 | * |
| 82 | * Params passed via the stack. The needed params will be copied in SRAM |
| 83 | * before use by the code in SRAM (SDRAM is not accessible during SDRC |
| 84 | * reconfiguration): |
| 85 | * new SDRC_RFR_CTRL_0 register contents |
| 86 | * new SDRC_ACTIM_CTRL_A_0 register contents |
| 87 | * new SDRC_ACTIM_CTRL_B_0 register contents |
| 88 | * new SDRC_MR_0 register value |
| 89 | * new SDRC_RFR_CTRL_1 register contents |
| 90 | * new SDRC_ACTIM_CTRL_A_1 register contents |
| 91 | * new SDRC_ACTIM_CTRL_B_1 register contents |
| 92 | * new SDRC_MR_1 register value |
| 93 | * |
| 94 | * If the param SDRC_RFR_CTRL_1 is 0, the parameters |
| 95 | * are not programmed into the SDRC CS1 registers |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 96 | */ |
| 97 | ENTRY(omap3_sram_configure_core_dpll) |
| 98 | stmfd sp!, {r1-r12, lr} @ store regs to stack |
Jean Pihet | 58cda88 | 2009-07-24 19:43:25 -0600 | [diff] [blame] | 99 | |
| 100 | @ pull the extra args off the stack |
| 101 | @ and store them in SRAM |
| 102 | ldr r4, [sp, #52] |
| 103 | str r4, omap_sdrc_rfr_ctrl_0_val |
| 104 | ldr r4, [sp, #56] |
| 105 | str r4, omap_sdrc_actim_ctrl_a_0_val |
| 106 | ldr r4, [sp, #60] |
| 107 | str r4, omap_sdrc_actim_ctrl_b_0_val |
| 108 | ldr r4, [sp, #64] |
| 109 | str r4, omap_sdrc_mr_0_val |
| 110 | ldr r4, [sp, #68] |
| 111 | str r4, omap_sdrc_rfr_ctrl_1_val |
| 112 | cmp r4, #0 @ if SDRC_RFR_CTRL_1 is 0, |
| 113 | beq skip_cs1_params @ do not use cs1 params |
| 114 | ldr r4, [sp, #72] |
| 115 | str r4, omap_sdrc_actim_ctrl_a_1_val |
| 116 | ldr r4, [sp, #76] |
| 117 | str r4, omap_sdrc_actim_ctrl_b_1_val |
| 118 | ldr r4, [sp, #80] |
| 119 | str r4, omap_sdrc_mr_1_val |
| 120 | skip_cs1_params: |
Paul Walmsley | 69d4255 | 2009-05-12 17:27:09 -0600 | [diff] [blame] | 121 | dsb @ flush buffered writes to interconnect |
Jean Pihet | 58cda88 | 2009-07-24 19:43:25 -0600 | [diff] [blame] | 122 | |
| 123 | cmp r3, #1 @ if increasing SDRC clk rate, |
Tero Kristo | 3afec633 | 2009-06-19 19:08:29 -0600 | [diff] [blame] | 124 | bleq configure_sdrc @ program the SDRC regs early (for RFR) |
Jean Pihet | 58cda88 | 2009-07-24 19:43:25 -0600 | [diff] [blame] | 125 | cmp r1, #SDRC_UNLOCK_DLL @ set the intended DLL state |
Paul Walmsley | 4519c2b | 2009-05-12 17:26:32 -0600 | [diff] [blame] | 126 | bleq unlock_dll |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 127 | blne lock_dll |
Paul Walmsley | 4267b5d | 2009-06-19 19:08:27 -0600 | [diff] [blame] | 128 | bl sdram_in_selfrefresh @ put SDRAM in self refresh, idle SDRC |
| 129 | bl configure_core_dpll @ change the DPLL3 M2 divider |
| 130 | bl enable_sdrc @ take SDRC out of idle |
Jean Pihet | 58cda88 | 2009-07-24 19:43:25 -0600 | [diff] [blame] | 131 | cmp r1, #SDRC_UNLOCK_DLL @ wait for DLL status to change |
Paul Walmsley | 4519c2b | 2009-05-12 17:26:32 -0600 | [diff] [blame] | 132 | bleq wait_dll_unlock |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 133 | blne wait_dll_lock |
Jean Pihet | 58cda88 | 2009-07-24 19:43:25 -0600 | [diff] [blame] | 134 | cmp r3, #1 @ if increasing SDRC clk rate, |
Paul Walmsley | 4267b5d | 2009-06-19 19:08:27 -0600 | [diff] [blame] | 135 | beq return_to_sdram @ return to SDRAM code, otherwise, |
| 136 | bl configure_sdrc @ reprogram SDRC regs now |
Jean Pihet | 58cda88 | 2009-07-24 19:43:25 -0600 | [diff] [blame] | 137 | mov r12, r2 |
Paul Walmsley | 4267b5d | 2009-06-19 19:08:27 -0600 | [diff] [blame] | 138 | bl wait_clk_stable @ wait for SDRC to stabilize |
Paul Walmsley | c9812d0 | 2009-06-19 19:08:26 -0600 | [diff] [blame] | 139 | return_to_sdram: |
Paul Walmsley | 69d4255 | 2009-05-12 17:27:09 -0600 | [diff] [blame] | 140 | isb @ prevent speculative exec past here |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 141 | mov r0, #0 @ return value |
| 142 | ldmfd sp!, {r1-r12, pc} @ restore regs and return |
| 143 | unlock_dll: |
Paul Walmsley | b2abb27 | 2009-05-12 17:27:10 -0600 | [diff] [blame] | 144 | ldr r11, omap3_sdrc_dlla_ctrl |
| 145 | ldr r12, [r11] |
Rajendra Nayak | 8ff120e | 2009-07-24 19:44:01 -0600 | [diff] [blame^] | 146 | bic r12, r12, #FIXEDDELAY_MASK |
Paul Walmsley | 7b7bcef | 2009-06-19 19:08:29 -0600 | [diff] [blame] | 147 | orr r12, r12, #FIXEDDELAY_DEFAULT |
Paul Walmsley | df14e47 | 2009-06-19 19:08:28 -0600 | [diff] [blame] | 148 | orr r12, r12, #DLLIDLE_MASK |
Paul Walmsley | b2abb27 | 2009-05-12 17:27:10 -0600 | [diff] [blame] | 149 | str r12, [r11] @ (no OCP barrier needed) |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 150 | bx lr |
| 151 | lock_dll: |
Paul Walmsley | b2abb27 | 2009-05-12 17:27:10 -0600 | [diff] [blame] | 152 | ldr r11, omap3_sdrc_dlla_ctrl |
| 153 | ldr r12, [r11] |
Paul Walmsley | df14e47 | 2009-06-19 19:08:28 -0600 | [diff] [blame] | 154 | bic r12, r12, #DLLIDLE_MASK |
Paul Walmsley | b2abb27 | 2009-05-12 17:27:10 -0600 | [diff] [blame] | 155 | str r12, [r11] @ (no OCP barrier needed) |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 156 | bx lr |
| 157 | sdram_in_selfrefresh: |
Paul Walmsley | b2abb27 | 2009-05-12 17:27:10 -0600 | [diff] [blame] | 158 | ldr r11, omap3_sdrc_power @ read the SDRC_POWER register |
| 159 | ldr r12, [r11] @ read the contents of SDRC_POWER |
| 160 | mov r9, r12 @ keep a copy of SDRC_POWER bits |
Paul Walmsley | df14e47 | 2009-06-19 19:08:28 -0600 | [diff] [blame] | 161 | orr r12, r12, #SRFRONIDLEREQ_MASK @ enable self refresh on idle |
Paul Walmsley | b2abb27 | 2009-05-12 17:27:10 -0600 | [diff] [blame] | 162 | str r12, [r11] @ write back to SDRC_POWER register |
| 163 | ldr r12, [r11] @ posted-write barrier for SDRC |
Paul Walmsley | 4267b5d | 2009-06-19 19:08:27 -0600 | [diff] [blame] | 164 | idle_sdrc: |
Paul Walmsley | b2abb27 | 2009-05-12 17:27:10 -0600 | [diff] [blame] | 165 | ldr r11, omap3_cm_iclken1_core @ read the CM_ICLKEN1_CORE reg |
| 166 | ldr r12, [r11] |
Paul Walmsley | df14e47 | 2009-06-19 19:08:28 -0600 | [diff] [blame] | 167 | bic r12, r12, #EN_SDRC_MASK @ disable iclk bit for SDRC |
Paul Walmsley | b2abb27 | 2009-05-12 17:27:10 -0600 | [diff] [blame] | 168 | str r12, [r11] |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 169 | wait_sdrc_idle: |
Paul Walmsley | b2abb27 | 2009-05-12 17:27:10 -0600 | [diff] [blame] | 170 | ldr r11, omap3_cm_idlest1_core |
| 171 | ldr r12, [r11] |
Paul Walmsley | df14e47 | 2009-06-19 19:08:28 -0600 | [diff] [blame] | 172 | and r12, r12, #ST_SDRC_MASK @ check for SDRC idle |
| 173 | cmp r12, #ST_SDRC_MASK |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 174 | bne wait_sdrc_idle |
| 175 | bx lr |
| 176 | configure_core_dpll: |
Paul Walmsley | b2abb27 | 2009-05-12 17:27:10 -0600 | [diff] [blame] | 177 | ldr r11, omap3_cm_clksel1_pll |
| 178 | ldr r12, [r11] |
| 179 | ldr r10, core_m2_mask_val @ modify m2 for core dpll |
| 180 | and r12, r12, r10 |
Jean Pihet | 58cda88 | 2009-07-24 19:43:25 -0600 | [diff] [blame] | 181 | orr r12, r12, r0, lsl #CORE_DPLL_CLKOUT_DIV_SHIFT |
Paul Walmsley | b2abb27 | 2009-05-12 17:27:10 -0600 | [diff] [blame] | 182 | str r12, [r11] |
| 183 | ldr r12, [r11] @ posted-write barrier for CM |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 184 | bx lr |
| 185 | wait_clk_stable: |
Paul Walmsley | b2abb27 | 2009-05-12 17:27:10 -0600 | [diff] [blame] | 186 | subs r12, r12, #1 |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 187 | bne wait_clk_stable |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 188 | bx lr |
| 189 | enable_sdrc: |
Paul Walmsley | b2abb27 | 2009-05-12 17:27:10 -0600 | [diff] [blame] | 190 | ldr r11, omap3_cm_iclken1_core |
| 191 | ldr r12, [r11] |
Paul Walmsley | df14e47 | 2009-06-19 19:08:28 -0600 | [diff] [blame] | 192 | orr r12, r12, #EN_SDRC_MASK @ enable iclk bit for SDRC |
Paul Walmsley | b2abb27 | 2009-05-12 17:27:10 -0600 | [diff] [blame] | 193 | str r12, [r11] |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 194 | wait_sdrc_idle1: |
Paul Walmsley | b2abb27 | 2009-05-12 17:27:10 -0600 | [diff] [blame] | 195 | ldr r11, omap3_cm_idlest1_core |
| 196 | ldr r12, [r11] |
Paul Walmsley | df14e47 | 2009-06-19 19:08:28 -0600 | [diff] [blame] | 197 | and r12, r12, #ST_SDRC_MASK |
Paul Walmsley | b2abb27 | 2009-05-12 17:27:10 -0600 | [diff] [blame] | 198 | cmp r12, #0 |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 199 | bne wait_sdrc_idle1 |
Paul Walmsley | fa0406a | 2009-05-12 17:27:09 -0600 | [diff] [blame] | 200 | restore_sdrc_power_val: |
Paul Walmsley | b2abb27 | 2009-05-12 17:27:10 -0600 | [diff] [blame] | 201 | ldr r11, omap3_sdrc_power |
| 202 | str r9, [r11] @ restore SDRC_POWER, no barrier needed |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 203 | bx lr |
| 204 | wait_dll_lock: |
Paul Walmsley | b2abb27 | 2009-05-12 17:27:10 -0600 | [diff] [blame] | 205 | ldr r11, omap3_sdrc_dlla_status |
| 206 | ldr r12, [r11] |
Paul Walmsley | df14e47 | 2009-06-19 19:08:28 -0600 | [diff] [blame] | 207 | and r12, r12, #LOCKSTATUS_MASK |
| 208 | cmp r12, #LOCKSTATUS_MASK |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 209 | bne wait_dll_lock |
| 210 | bx lr |
| 211 | wait_dll_unlock: |
Paul Walmsley | b2abb27 | 2009-05-12 17:27:10 -0600 | [diff] [blame] | 212 | ldr r11, omap3_sdrc_dlla_status |
| 213 | ldr r12, [r11] |
Paul Walmsley | df14e47 | 2009-06-19 19:08:28 -0600 | [diff] [blame] | 214 | and r12, r12, #LOCKSTATUS_MASK |
Paul Walmsley | b2abb27 | 2009-05-12 17:27:10 -0600 | [diff] [blame] | 215 | cmp r12, #0x0 |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 216 | bne wait_dll_unlock |
| 217 | bx lr |
| 218 | configure_sdrc: |
Jean Pihet | 58cda88 | 2009-07-24 19:43:25 -0600 | [diff] [blame] | 219 | ldr r12, omap_sdrc_rfr_ctrl_0_val @ fetch value from SRAM |
| 220 | ldr r11, omap3_sdrc_rfr_ctrl_0 @ fetch addr from SRAM |
| 221 | str r12, [r11] @ store |
| 222 | ldr r12, omap_sdrc_actim_ctrl_a_0_val |
| 223 | ldr r11, omap3_sdrc_actim_ctrl_a_0 |
| 224 | str r12, [r11] |
| 225 | ldr r12, omap_sdrc_actim_ctrl_b_0_val |
| 226 | ldr r11, omap3_sdrc_actim_ctrl_b_0 |
| 227 | str r12, [r11] |
| 228 | ldr r12, omap_sdrc_mr_0_val |
Paul Walmsley | d0ba392 | 2009-06-19 19:08:27 -0600 | [diff] [blame] | 229 | ldr r11, omap3_sdrc_mr_0 |
Jean Pihet | 58cda88 | 2009-07-24 19:43:25 -0600 | [diff] [blame] | 230 | str r12, [r11] |
| 231 | ldr r12, omap_sdrc_rfr_ctrl_1_val |
| 232 | cmp r12, #0 @ if SDRC_RFR_CTRL_1 is 0, |
| 233 | beq skip_cs1_prog @ do not program cs1 params |
| 234 | ldr r11, omap3_sdrc_rfr_ctrl_1 |
| 235 | str r12, [r11] |
| 236 | ldr r12, omap_sdrc_actim_ctrl_a_1_val |
| 237 | ldr r11, omap3_sdrc_actim_ctrl_a_1 |
| 238 | str r12, [r11] |
| 239 | ldr r12, omap_sdrc_actim_ctrl_b_1_val |
| 240 | ldr r11, omap3_sdrc_actim_ctrl_b_1 |
| 241 | str r12, [r11] |
| 242 | ldr r12, omap_sdrc_mr_1_val |
| 243 | ldr r11, omap3_sdrc_mr_1 |
| 244 | str r12, [r11] |
| 245 | skip_cs1_prog: |
| 246 | ldr r12, [r11] @ posted-write barrier for SDRC |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 247 | bx lr |
| 248 | |
| 249 | omap3_sdrc_power: |
| 250 | .word OMAP34XX_SDRC_REGADDR(SDRC_POWER) |
| 251 | omap3_cm_clksel1_pll: |
| 252 | .word OMAP34XX_CM_REGADDR(PLL_MOD, CM_CLKSEL1) |
| 253 | omap3_cm_idlest1_core: |
| 254 | .word OMAP34XX_CM_REGADDR(CORE_MOD, CM_IDLEST) |
| 255 | omap3_cm_iclken1_core: |
| 256 | .word OMAP34XX_CM_REGADDR(CORE_MOD, CM_ICLKEN1) |
Jean Pihet | 58cda88 | 2009-07-24 19:43:25 -0600 | [diff] [blame] | 257 | |
| 258 | omap3_sdrc_rfr_ctrl_0: |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 259 | .word OMAP34XX_SDRC_REGADDR(SDRC_RFR_CTRL_0) |
Jean Pihet | 58cda88 | 2009-07-24 19:43:25 -0600 | [diff] [blame] | 260 | omap3_sdrc_rfr_ctrl_1: |
| 261 | .word OMAP34XX_SDRC_REGADDR(SDRC_RFR_CTRL_1) |
| 262 | omap3_sdrc_actim_ctrl_a_0: |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 263 | .word OMAP34XX_SDRC_REGADDR(SDRC_ACTIM_CTRL_A_0) |
Jean Pihet | 58cda88 | 2009-07-24 19:43:25 -0600 | [diff] [blame] | 264 | omap3_sdrc_actim_ctrl_a_1: |
| 265 | .word OMAP34XX_SDRC_REGADDR(SDRC_ACTIM_CTRL_A_1) |
| 266 | omap3_sdrc_actim_ctrl_b_0: |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 267 | .word OMAP34XX_SDRC_REGADDR(SDRC_ACTIM_CTRL_B_0) |
Jean Pihet | 58cda88 | 2009-07-24 19:43:25 -0600 | [diff] [blame] | 268 | omap3_sdrc_actim_ctrl_b_1: |
| 269 | .word OMAP34XX_SDRC_REGADDR(SDRC_ACTIM_CTRL_B_1) |
Paul Walmsley | d0ba392 | 2009-06-19 19:08:27 -0600 | [diff] [blame] | 270 | omap3_sdrc_mr_0: |
| 271 | .word OMAP34XX_SDRC_REGADDR(SDRC_MR_0) |
Jean Pihet | 58cda88 | 2009-07-24 19:43:25 -0600 | [diff] [blame] | 272 | omap3_sdrc_mr_1: |
| 273 | .word OMAP34XX_SDRC_REGADDR(SDRC_MR_1) |
| 274 | omap_sdrc_rfr_ctrl_0_val: |
| 275 | .word 0xDEADBEEF |
| 276 | omap_sdrc_rfr_ctrl_1_val: |
| 277 | .word 0xDEADBEEF |
| 278 | omap_sdrc_actim_ctrl_a_0_val: |
| 279 | .word 0xDEADBEEF |
| 280 | omap_sdrc_actim_ctrl_a_1_val: |
| 281 | .word 0xDEADBEEF |
| 282 | omap_sdrc_actim_ctrl_b_0_val: |
| 283 | .word 0xDEADBEEF |
| 284 | omap_sdrc_actim_ctrl_b_1_val: |
| 285 | .word 0xDEADBEEF |
| 286 | omap_sdrc_mr_0_val: |
| 287 | .word 0xDEADBEEF |
| 288 | omap_sdrc_mr_1_val: |
| 289 | .word 0xDEADBEEF |
| 290 | |
Syed Mohammed, Khasim | cc26b3b | 2008-10-09 17:51:41 +0300 | [diff] [blame] | 291 | omap3_sdrc_dlla_status: |
| 292 | .word OMAP34XX_SDRC_REGADDR(SDRC_DLLA_STATUS) |
| 293 | omap3_sdrc_dlla_ctrl: |
| 294 | .word OMAP34XX_SDRC_REGADDR(SDRC_DLLA_CTRL) |
| 295 | core_m2_mask_val: |
| 296 | .word 0x07FFFFFF |
| 297 | |
| 298 | ENTRY(omap3_sram_configure_core_dpll_sz) |
| 299 | .word . - omap3_sram_configure_core_dpll |
Jean Pihet | 58cda88 | 2009-07-24 19:43:25 -0600 | [diff] [blame] | 300 | |