4 Select Freescale General DDR driver, shared between most Freescale
5 PowerPC- based SoCs (such as mpc83xx, mpc85xx and ARM- based
6 Layerscape SoCs (such as ls2080a).
11 Select Freescale Multi Mode DDR controller (MMDC).
13 if SYS_FSL_DDR || SYS_FSL_MMDC
18 Access DDR registers in big-endian
23 Access DDR registers in little-endian
28 config FSL_DDR_INTERACTIVE
31 config FSL_DDR_SYNC_REFRESH
34 config FSL_DDR_FIRST_SLOT_QUAD_CAPABLE
37 menu "Freescale DDR controllers"
38 depends on SYS_FSL_DDR
40 config SYS_NUM_DDR_CTLRS
41 int "Maximum DDR controllers"
42 default 3 if ARCH_LS2080A || \
44 default 2 if ARCH_B4860 || \
52 config SYS_FSL_DDR_VER
54 default 50 if SYS_FSL_DDR_VER_50
55 default 47 if SYS_FSL_DDR_VER_47
56 default 46 if SYS_FSL_DDR_VER_46
57 default 44 if SYS_FSL_DDR_VER_44
59 config SYS_FSL_DDR_VER_50
62 config SYS_FSL_DDR_VER_47
65 config SYS_FSL_DDR_VER_46
68 config SYS_FSL_DDR_VER_44
71 config SYS_FSL_DDRC_GEN1
74 Enable Freescale DDR controller.
76 config SYS_FSL_DDRC_GEN2
80 Enable Freescale DDR2 controller.
82 config SYS_FSL_DDRC_GEN3
86 Enable Freescale DDR3 controller for PowerPC SoCs.
88 config SYS_FSL_DDRC_ARM_GEN3
92 Enable Freescale DDR3 controller for ARM SoCs.
94 config SYS_FSL_DDRC_GEN4
97 Enable Freescale DDR4 controller.
99 config SYS_FSL_HAS_DDR4
102 config SYS_FSL_HAS_DDR3
105 config SYS_FSL_HAS_DDR2
108 config SYS_FSL_HAS_DDR1
112 prompt "DDR technology"
113 default SYS_FSL_DDR4 if SYS_FSL_HAS_DDR4
114 default SYS_FSL_DDR3 if SYS_FSL_HAS_DDR3
115 default SYS_FSL_DDR2 if SYS_FSL_HAS_DDR2
116 default SYS_FSL_DDR1 if SYS_FSL_HAS_DDR1
119 bool "Freescale DDR4 controller"
120 depends on SYS_FSL_HAS_DDR4
122 select SYS_FSL_DDRC_GEN4
125 bool "Freescale DDR3 controller"
126 depends on SYS_FSL_HAS_DDR3
128 select SYS_FSL_DDRC_GEN3 if PPC
129 select SYS_FSL_DDRC_ARM_GEN3 if ARM
132 bool "Freescale DDR2 controller"
133 depends on SYS_FSL_HAS_DDR2
135 select SYS_FSL_DDRC_GEN2 if (!MPC86xx && !SYS_FSL_DDRC_GEN3)
138 bool "Freescale DDR1 controller"
139 depends on SYS_FSL_HAS_DDR1
141 select SYS_FSL_DDRC_GEN1
148 def_bool y if DDR_ECC && MPC85xx && !ECC_INIT_VIA_DDRCONTROLLER
151 bool "ECC DDR memory support"
154 bool "Access the ECC features of the memory controller"
155 depends on DDR_ECC && MPC83xx
158 config ECC_INIT_VIA_DDRCONTROLLER
159 bool "DDR Memory controller initializes memory."
161 Use the DDR controller to auto initialize memory. If not enabled,
162 the DMA controller is responsible for doing this.
166 menu "PowerPC / M68K initial memory controller definitions (FLASH, SDRAM, etc)"
167 depends on MCF52x2 || MPC8xx || MPC83xx || MPC85xx
169 config SYS_BR0_PRELIM_BOOL
172 config SYS_BR0_PRELIM
173 hex "Preliminary value for BR0"
174 depends on SYS_BR0_PRELIM_BOOL
176 config SYS_OR0_PRELIM
177 hex "Preliminary value for OR0"
178 depends on SYS_BR0_PRELIM_BOOL
180 config SYS_BR1_PRELIM_BOOL
183 config SYS_BR1_PRELIM
184 hex "Preliminary value for BR1"
185 depends on SYS_BR1_PRELIM_BOOL
187 config SYS_OR1_PRELIM
188 hex "Preliminary value for OR1"
189 depends on SYS_BR1_PRELIM_BOOL
191 config SYS_BR2_PRELIM_BOOL
194 config SYS_BR2_PRELIM
195 hex "Preliminary value for BR2"
196 depends on SYS_BR2_PRELIM_BOOL
198 config SYS_OR2_PRELIM
199 hex "Preliminary value for OR2"
200 depends on SYS_BR2_PRELIM_BOOL
202 config SYS_BR3_PRELIM_BOOL
205 config SYS_BR3_PRELIM
206 hex "Preliminary value for BR3"
207 depends on SYS_BR3_PRELIM_BOOL
209 config SYS_OR3_PRELIM
210 hex "Preliminary value for OR3"
211 depends on SYS_BR3_PRELIM_BOOL
213 config SYS_BR4_PRELIM_BOOL
216 config SYS_BR4_PRELIM
217 hex "Preliminary value for BR4"
218 depends on SYS_BR4_PRELIM_BOOL
220 config SYS_OR4_PRELIM
221 hex "Preliminary value for OR4"
222 depends on SYS_BR4_PRELIM_BOOL
224 config SYS_BR5_PRELIM_BOOL
227 config SYS_BR5_PRELIM
228 hex "Preliminary value for BR5"
229 depends on SYS_BR5_PRELIM_BOOL
231 config SYS_OR5_PRELIM
232 hex "Preliminary value for OR5"
233 depends on SYS_BR5_PRELIM_BOOL
235 config SYS_BR6_PRELIM_BOOL
238 config SYS_BR6_PRELIM
239 hex "Preliminary value for BR6"
240 depends on SYS_BR6_PRELIM_BOOL
242 config SYS_OR6_PRELIM
243 hex "Preliminary value for OR6"
244 depends on SYS_BR6_PRELIM_BOOL
246 config SYS_BR7_PRELIM_BOOL
249 config SYS_BR7_PRELIM
250 hex "Preliminary value for BR7"
251 depends on SYS_BR7_PRELIM_BOOL
253 config SYS_OR7_PRELIM
254 hex "Preliminary value for OR7"
255 depends on SYS_BR7_PRELIM_BOOL
258 config SYS_FSL_ERRATUM_A008378
261 config SYS_FSL_ERRATUM_A008109
264 config SYS_FSL_ERRATUM_A008511
267 config SYS_FSL_ERRATUM_A009663
270 config SYS_FSL_ERRATUM_A009801
273 config SYS_FSL_ERRATUM_A009803
276 config SYS_FSL_ERRATUM_A009942
279 config SYS_FSL_ERRATUM_A010165
282 config SYS_FSL_ERRATUM_NMG_DDR120
285 config SYS_FSL_ERRATUM_DDR_115
288 config SYS_FSL_ERRATUM_DDR111_DDR134
291 config SYS_FSL_ERRATUM_DDR_A003
294 config SYS_FSL_ERRATUM_DDR_A003474