Commit 0421a164de22aeb02c6831d0a997853a36f0b963

Authored by Jagan Teki
Committed by Stefano Babic
1 parent 580a7d692b

imx6: isiotmx6ul: Add FEC support

Add FEC support for Engicam Is.IoT MX6UL module.

Cc: Stefano Babic <sbabic@denx.de>
Cc: Matteo Lisi <matteo.lisi@engicam.com>
Cc: Michael Trimarchi <michael@amarulasolutions.com>
Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>

Showing 3 changed files with 14 additions and 0 deletions Inline Diff

arch/arm/cpu/armv7/mx6/Kconfig
1 if ARCH_MX6 1 if ARCH_MX6
2 2
3 config MX6 3 config MX6
4 bool 4 bool
5 default y 5 default y
6 select ARM_ERRATA_743622 if !MX6UL 6 select ARM_ERRATA_743622 if !MX6UL
7 select ARM_ERRATA_751472 if !MX6UL 7 select ARM_ERRATA_751472 if !MX6UL
8 select ARM_ERRATA_761320 if !MX6UL 8 select ARM_ERRATA_761320 if !MX6UL
9 select ARM_ERRATA_794072 if !MX6UL 9 select ARM_ERRATA_794072 if !MX6UL
10 10
11 config MX6D 11 config MX6D
12 bool 12 bool
13 13
14 config MX6DL 14 config MX6DL
15 bool 15 bool
16 16
17 config MX6Q 17 config MX6Q
18 bool 18 bool
19 19
20 config MX6QDL 20 config MX6QDL
21 bool 21 bool
22 22
23 config MX6S 23 config MX6S
24 bool 24 bool
25 25
26 config MX6SL 26 config MX6SL
27 bool 27 bool
28 28
29 config MX6SX 29 config MX6SX
30 select ROM_UNIFIED_SECTIONS 30 select ROM_UNIFIED_SECTIONS
31 bool 31 bool
32 32
33 config MX6SLL 33 config MX6SLL
34 select ROM_UNIFIED_SECTIONS 34 select ROM_UNIFIED_SECTIONS
35 bool 35 bool
36 36
37 config MX6UL 37 config MX6UL
38 select SYS_L2CACHE_OFF 38 select SYS_L2CACHE_OFF
39 select ROM_UNIFIED_SECTIONS 39 select ROM_UNIFIED_SECTIONS
40 bool 40 bool
41 41
42 config MX6UL_LITESOM 42 config MX6UL_LITESOM
43 bool 43 bool
44 select MX6UL 44 select MX6UL
45 select DM 45 select DM
46 select DM_THERMAL 46 select DM_THERMAL
47 select SUPPORT_SPL 47 select SUPPORT_SPL
48 48
49 config MX6ULL 49 config MX6ULL
50 bool 50 bool
51 select MX6UL 51 select MX6UL
52 52
53 config MX6_DDRCAL 53 config MX6_DDRCAL
54 bool "Include dynamic DDR calibration routines" 54 bool "Include dynamic DDR calibration routines"
55 depends on SPL 55 depends on SPL
56 default n 56 default n
57 help 57 help
58 Say "Y" if your board uses dynamic (per-boot) DDR calibration. 58 Say "Y" if your board uses dynamic (per-boot) DDR calibration.
59 If unsure, say N. 59 If unsure, say N.
60 60
61 choice 61 choice
62 prompt "MX6 board select" 62 prompt "MX6 board select"
63 optional 63 optional
64 64
65 config TARGET_ADVANTECH_DMS_BA16 65 config TARGET_ADVANTECH_DMS_BA16
66 bool "Advantech dms-ba16" 66 bool "Advantech dms-ba16"
67 select BOARD_LATE_INIT 67 select BOARD_LATE_INIT
68 select MX6Q 68 select MX6Q
69 69
70 config TARGET_APALIS_IMX6 70 config TARGET_APALIS_IMX6
71 bool "Toradex Apalis iMX6 board" 71 bool "Toradex Apalis iMX6 board"
72 select BOARD_LATE_INIT 72 select BOARD_LATE_INIT
73 select SUPPORT_SPL 73 select SUPPORT_SPL
74 select DM 74 select DM
75 select DM_SERIAL 75 select DM_SERIAL
76 select DM_THERMAL 76 select DM_THERMAL
77 77
78 config TARGET_ARISTAINETOS 78 config TARGET_ARISTAINETOS
79 bool "aristainetos" 79 bool "aristainetos"
80 80
81 config TARGET_ARISTAINETOS2 81 config TARGET_ARISTAINETOS2
82 bool "aristainetos2" 82 bool "aristainetos2"
83 select BOARD_LATE_INIT 83 select BOARD_LATE_INIT
84 84
85 config TARGET_ARISTAINETOS2B 85 config TARGET_ARISTAINETOS2B
86 bool "Support aristainetos2-revB" 86 bool "Support aristainetos2-revB"
87 select BOARD_LATE_INIT 87 select BOARD_LATE_INIT
88 88
89 config TARGET_CGTQMX6EVAL 89 config TARGET_CGTQMX6EVAL
90 bool "cgtqmx6eval" 90 bool "cgtqmx6eval"
91 select BOARD_LATE_INIT 91 select BOARD_LATE_INIT
92 select SUPPORT_SPL 92 select SUPPORT_SPL
93 select DM 93 select DM
94 select DM_THERMAL 94 select DM_THERMAL
95 95
96 config TARGET_CM_FX6 96 config TARGET_CM_FX6
97 bool "CM-FX6" 97 bool "CM-FX6"
98 select SUPPORT_SPL 98 select SUPPORT_SPL
99 select DM 99 select DM
100 select DM_SERIAL 100 select DM_SERIAL
101 select DM_GPIO 101 select DM_GPIO
102 102
103 config TARGET_COLIBRI_IMX6 103 config TARGET_COLIBRI_IMX6
104 bool "Toradex Colibri iMX6 board" 104 bool "Toradex Colibri iMX6 board"
105 select BOARD_LATE_INIT 105 select BOARD_LATE_INIT
106 select SUPPORT_SPL 106 select SUPPORT_SPL
107 select DM 107 select DM
108 select DM_SERIAL 108 select DM_SERIAL
109 select DM_THERMAL 109 select DM_THERMAL
110 110
111 config TARGET_EMBESTMX6BOARDS 111 config TARGET_EMBESTMX6BOARDS
112 bool "embestmx6boards" 112 bool "embestmx6boards"
113 select BOARD_LATE_INIT 113 select BOARD_LATE_INIT
114 114
115 config TARGET_GE_B450V3 115 config TARGET_GE_B450V3
116 bool "General Electric B450v3" 116 bool "General Electric B450v3"
117 select BOARD_LATE_INIT 117 select BOARD_LATE_INIT
118 select MX6Q 118 select MX6Q
119 119
120 config TARGET_GE_B650V3 120 config TARGET_GE_B650V3
121 bool "General Electric B650v3" 121 bool "General Electric B650v3"
122 select BOARD_LATE_INIT 122 select BOARD_LATE_INIT
123 select MX6Q 123 select MX6Q
124 124
125 config TARGET_GE_B850V3 125 config TARGET_GE_B850V3
126 bool "General Electric B850v3" 126 bool "General Electric B850v3"
127 select BOARD_LATE_INIT 127 select BOARD_LATE_INIT
128 select MX6Q 128 select MX6Q
129 129
130 config TARGET_GW_VENTANA 130 config TARGET_GW_VENTANA
131 bool "gw_ventana" 131 bool "gw_ventana"
132 select SUPPORT_SPL 132 select SUPPORT_SPL
133 133
134 config TARGET_KOSAGI_NOVENA 134 config TARGET_KOSAGI_NOVENA
135 bool "Kosagi Novena" 135 bool "Kosagi Novena"
136 select BOARD_LATE_INIT 136 select BOARD_LATE_INIT
137 select SUPPORT_SPL 137 select SUPPORT_SPL
138 138
139 config TARGET_MCCMON6 139 config TARGET_MCCMON6
140 bool "mccmon6" 140 bool "mccmon6"
141 select SUPPORT_SPL 141 select SUPPORT_SPL
142 142
143 config TARGET_MX6CUBOXI 143 config TARGET_MX6CUBOXI
144 bool "Solid-run mx6 boards" 144 bool "Solid-run mx6 boards"
145 select BOARD_LATE_INIT 145 select BOARD_LATE_INIT
146 select SUPPORT_SPL 146 select SUPPORT_SPL
147 147
148 config TARGET_MX6QARM2 148 config TARGET_MX6QARM2
149 bool "mx6qarm2" 149 bool "mx6qarm2"
150 150
151 config TARGET_MX6Q_ICORE 151 config TARGET_MX6Q_ICORE
152 bool "Support Engicam i.Core" 152 bool "Support Engicam i.Core"
153 select MX6QDL 153 select MX6QDL
154 select OF_CONTROL 154 select OF_CONTROL
155 select DM 155 select DM
156 select DM_ETH 156 select DM_ETH
157 select DM_GPIO 157 select DM_GPIO
158 select DM_I2C 158 select DM_I2C
159 select DM_MMC 159 select DM_MMC
160 select DM_THERMAL 160 select DM_THERMAL
161 select SUPPORT_SPL 161 select SUPPORT_SPL
162 162
163 config TARGET_MX6Q_ICORE_RQS 163 config TARGET_MX6Q_ICORE_RQS
164 bool "Support Engicam i.Core RQS" 164 bool "Support Engicam i.Core RQS"
165 select MX6QDL 165 select MX6QDL
166 select OF_CONTROL 166 select OF_CONTROL
167 select DM 167 select DM
168 select DM_ETH 168 select DM_ETH
169 select DM_GPIO 169 select DM_GPIO
170 select DM_I2C 170 select DM_I2C
171 select DM_MMC 171 select DM_MMC
172 select DM_THERMAL 172 select DM_THERMAL
173 select SUPPORT_SPL 173 select SUPPORT_SPL
174 174
175 config TARGET_MX6QSABREAUTO 175 config TARGET_MX6QSABREAUTO
176 bool "mx6qsabreauto" 176 bool "mx6qsabreauto"
177 select BOARD_LATE_INIT 177 select BOARD_LATE_INIT
178 select DM 178 select DM
179 select DM_THERMAL 179 select DM_THERMAL
180 select BOARD_EARLY_INIT_F 180 select BOARD_EARLY_INIT_F
181 181
182 config TARGET_MX6SABRESD 182 config TARGET_MX6SABRESD
183 bool "mx6sabresd" 183 bool "mx6sabresd"
184 select BOARD_LATE_INIT 184 select BOARD_LATE_INIT
185 select SUPPORT_SPL 185 select SUPPORT_SPL
186 select DM 186 select DM
187 select DM_THERMAL 187 select DM_THERMAL
188 select BOARD_EARLY_INIT_F 188 select BOARD_EARLY_INIT_F
189 189
190 config TARGET_MX6SLEVK 190 config TARGET_MX6SLEVK
191 bool "mx6slevk" 191 bool "mx6slevk"
192 select SUPPORT_SPL 192 select SUPPORT_SPL
193 193
194 config TARGET_MX6SLLEVK 194 config TARGET_MX6SLLEVK
195 bool "mx6sll evk" 195 bool "mx6sll evk"
196 select BOARD_LATE_INIT 196 select BOARD_LATE_INIT
197 select MX6SLL 197 select MX6SLL
198 select DM 198 select DM
199 select DM_THERMAL 199 select DM_THERMAL
200 200
201 config TARGET_MX6SXSABRESD 201 config TARGET_MX6SXSABRESD
202 bool "mx6sxsabresd" 202 bool "mx6sxsabresd"
203 select MX6SX 203 select MX6SX
204 select SUPPORT_SPL 204 select SUPPORT_SPL
205 select DM 205 select DM
206 select DM_THERMAL 206 select DM_THERMAL
207 select BOARD_EARLY_INIT_F 207 select BOARD_EARLY_INIT_F
208 208
209 config TARGET_MX6SXSABREAUTO 209 config TARGET_MX6SXSABREAUTO
210 bool "mx6sxsabreauto" 210 bool "mx6sxsabreauto"
211 select BOARD_LATE_INIT 211 select BOARD_LATE_INIT
212 select MX6SX 212 select MX6SX
213 select DM 213 select DM
214 select DM_THERMAL 214 select DM_THERMAL
215 select BOARD_EARLY_INIT_F 215 select BOARD_EARLY_INIT_F
216 216
217 config TARGET_MX6UL_9X9_EVK 217 config TARGET_MX6UL_9X9_EVK
218 bool "mx6ul_9x9_evk" 218 bool "mx6ul_9x9_evk"
219 select BOARD_LATE_INIT 219 select BOARD_LATE_INIT
220 select MX6UL 220 select MX6UL
221 select DM 221 select DM
222 select DM_THERMAL 222 select DM_THERMAL
223 select SUPPORT_SPL 223 select SUPPORT_SPL
224 224
225 config TARGET_MX6UL_14X14_EVK 225 config TARGET_MX6UL_14X14_EVK
226 select BOARD_LATE_INIT 226 select BOARD_LATE_INIT
227 bool "mx6ul_14x14_evk" 227 bool "mx6ul_14x14_evk"
228 select MX6UL 228 select MX6UL
229 select DM 229 select DM
230 select DM_THERMAL 230 select DM_THERMAL
231 select SUPPORT_SPL 231 select SUPPORT_SPL
232 232
233 config TARGET_MX6UL_GEAM 233 config TARGET_MX6UL_GEAM
234 bool "Support Engicam GEAM6UL" 234 bool "Support Engicam GEAM6UL"
235 select MX6UL 235 select MX6UL
236 select OF_CONTROL 236 select OF_CONTROL
237 select DM 237 select DM
238 select DM_ETH 238 select DM_ETH
239 select DM_GPIO 239 select DM_GPIO
240 select DM_I2C 240 select DM_I2C
241 select DM_MMC 241 select DM_MMC
242 select DM_THERMAL 242 select DM_THERMAL
243 select SUPPORT_SPL 243 select SUPPORT_SPL
244 config TARGET_MX6UL_ISIOT 244 config TARGET_MX6UL_ISIOT
245 bool "Support Engicam Is.IoT MX6UL" 245 bool "Support Engicam Is.IoT MX6UL"
246 select MX6UL 246 select MX6UL
247 select OF_CONTROL 247 select OF_CONTROL
248 select DM 248 select DM
249 select DM_ETH
249 select DM_GPIO 250 select DM_GPIO
250 select DM_I2C 251 select DM_I2C
251 select DM_MMC 252 select DM_MMC
252 select DM_THERMAL 253 select DM_THERMAL
253 select SUPPORT_SPL 254 select SUPPORT_SPL
254 255
255 config TARGET_MX6ULL_14X14_EVK 256 config TARGET_MX6ULL_14X14_EVK
256 bool "Support mx6ull_14x14_evk" 257 bool "Support mx6ull_14x14_evk"
257 select BOARD_LATE_INIT 258 select BOARD_LATE_INIT
258 select MX6ULL 259 select MX6ULL
259 select DM 260 select DM
260 select DM_THERMAL 261 select DM_THERMAL
261 262
262 config TARGET_NITROGEN6X 263 config TARGET_NITROGEN6X
263 bool "nitrogen6x" 264 bool "nitrogen6x"
264 265
265 config TARGET_OT1200 266 config TARGET_OT1200
266 bool "Bachmann OT1200" 267 bool "Bachmann OT1200"
267 select SUPPORT_SPL 268 select SUPPORT_SPL
268 269
269 config TARGET_PICO_IMX6UL 270 config TARGET_PICO_IMX6UL
270 bool "PICO-IMX6UL-EMMC" 271 bool "PICO-IMX6UL-EMMC"
271 select MX6UL 272 select MX6UL
272 273
273 config TARGET_LITEBOARD 274 config TARGET_LITEBOARD
274 bool "Grinn liteBoard (i.MX6UL)" 275 bool "Grinn liteBoard (i.MX6UL)"
275 select BOARD_LATE_INIT 276 select BOARD_LATE_INIT
276 select MX6UL_LITESOM 277 select MX6UL_LITESOM
277 278
278 config TARGET_PLATINUM_PICON 279 config TARGET_PLATINUM_PICON
279 bool "platinum-picon" 280 bool "platinum-picon"
280 select SUPPORT_SPL 281 select SUPPORT_SPL
281 282
282 config TARGET_PLATINUM_TITANIUM 283 config TARGET_PLATINUM_TITANIUM
283 bool "platinum-titanium" 284 bool "platinum-titanium"
284 select SUPPORT_SPL 285 select SUPPORT_SPL
285 286
286 config TARGET_PCM058 287 config TARGET_PCM058
287 bool "Phytec PCM058 i.MX6 Quad" 288 bool "Phytec PCM058 i.MX6 Quad"
288 select BOARD_LATE_INIT 289 select BOARD_LATE_INIT
289 select SUPPORT_SPL 290 select SUPPORT_SPL
290 291
291 config TARGET_SECOMX6 292 config TARGET_SECOMX6
292 bool "secomx6 boards" 293 bool "secomx6 boards"
293 294
294 config TARGET_TBS2910 295 config TARGET_TBS2910
295 bool "TBS2910 Matrix ARM mini PC" 296 bool "TBS2910 Matrix ARM mini PC"
296 297
297 config TARGET_TITANIUM 298 config TARGET_TITANIUM
298 bool "titanium" 299 bool "titanium"
299 300
300 config TARGET_TQMA6 301 config TARGET_TQMA6
301 bool "TQ Systems TQMa6 board" 302 bool "TQ Systems TQMa6 board"
302 select BOARD_LATE_INIT 303 select BOARD_LATE_INIT
303 304
304 config TARGET_UDOO 305 config TARGET_UDOO
305 bool "udoo" 306 bool "udoo"
306 select BOARD_LATE_INIT 307 select BOARD_LATE_INIT
307 select SUPPORT_SPL 308 select SUPPORT_SPL
308 309
309 config TARGET_UDOO_NEO 310 config TARGET_UDOO_NEO
310 bool "UDOO Neo" 311 bool "UDOO Neo"
311 select BOARD_LATE_INIT 312 select BOARD_LATE_INIT
312 select SUPPORT_SPL 313 select SUPPORT_SPL
313 select MX6SX 314 select MX6SX
314 select DM 315 select DM
315 select DM_THERMAL 316 select DM_THERMAL
316 317
317 config TARGET_SAMTEC_VINING_2000 318 config TARGET_SAMTEC_VINING_2000
318 bool "samtec VIN|ING 2000" 319 bool "samtec VIN|ING 2000"
319 select BOARD_LATE_INIT 320 select BOARD_LATE_INIT
320 select MX6SX 321 select MX6SX
321 select DM 322 select DM
322 select DM_THERMAL 323 select DM_THERMAL
323 324
324 config TARGET_WANDBOARD 325 config TARGET_WANDBOARD
325 bool "wandboard" 326 bool "wandboard"
326 select BOARD_LATE_INIT 327 select BOARD_LATE_INIT
327 select SUPPORT_SPL 328 select SUPPORT_SPL
328 329
329 config TARGET_WARP 330 config TARGET_WARP
330 bool "WaRP" 331 bool "WaRP"
331 select BOARD_LATE_INIT 332 select BOARD_LATE_INIT
332 333
333 config TARGET_XPRESS 334 config TARGET_XPRESS
334 bool "CCV xPress" 335 bool "CCV xPress"
335 select BOARD_LATE_INIT 336 select BOARD_LATE_INIT
336 select MX6UL 337 select MX6UL
337 select DM 338 select DM
338 select DM_THERMAL 339 select DM_THERMAL
339 select SUPPORT_SPL 340 select SUPPORT_SPL
340 341
341 config TARGET_ZC5202 342 config TARGET_ZC5202
342 bool "zc5202" 343 bool "zc5202"
343 select BOARD_LATE_INIT 344 select BOARD_LATE_INIT
344 select SUPPORT_SPL 345 select SUPPORT_SPL
345 select DM 346 select DM
346 select DM_THERMAL 347 select DM_THERMAL
347 348
348 config TARGET_ZC5601 349 config TARGET_ZC5601
349 bool "zc5601" 350 bool "zc5601"
350 select BOARD_LATE_INIT 351 select BOARD_LATE_INIT
351 select SUPPORT_SPL 352 select SUPPORT_SPL
352 select DM 353 select DM
353 select DM_THERMAL 354 select DM_THERMAL
354 355
355 endchoice 356 endchoice
356 357
357 config SYS_SOC 358 config SYS_SOC
358 default "mx6" 359 default "mx6"
359 360
360 source "board/ge/bx50v3/Kconfig" 361 source "board/ge/bx50v3/Kconfig"
361 source "board/advantech/dms-ba16/Kconfig" 362 source "board/advantech/dms-ba16/Kconfig"
362 source "board/aristainetos/Kconfig" 363 source "board/aristainetos/Kconfig"
363 source "board/bachmann/ot1200/Kconfig" 364 source "board/bachmann/ot1200/Kconfig"
364 source "board/barco/platinum/Kconfig" 365 source "board/barco/platinum/Kconfig"
365 source "board/barco/titanium/Kconfig" 366 source "board/barco/titanium/Kconfig"
366 source "board/boundary/nitrogen6x/Kconfig" 367 source "board/boundary/nitrogen6x/Kconfig"
367 source "board/ccv/xpress/Kconfig" 368 source "board/ccv/xpress/Kconfig"
368 source "board/compulab/cm_fx6/Kconfig" 369 source "board/compulab/cm_fx6/Kconfig"
369 source "board/congatec/cgtqmx6eval/Kconfig" 370 source "board/congatec/cgtqmx6eval/Kconfig"
370 source "board/el/el6x/Kconfig" 371 source "board/el/el6x/Kconfig"
371 source "board/embest/mx6boards/Kconfig" 372 source "board/embest/mx6boards/Kconfig"
372 source "board/engicam/geam6ul/Kconfig" 373 source "board/engicam/geam6ul/Kconfig"
373 source "board/engicam/icorem6/Kconfig" 374 source "board/engicam/icorem6/Kconfig"
374 source "board/engicam/icorem6_rqs/Kconfig" 375 source "board/engicam/icorem6_rqs/Kconfig"
375 source "board/engicam/isiotmx6ul/Kconfig" 376 source "board/engicam/isiotmx6ul/Kconfig"
376 source "board/freescale/mx6qarm2/Kconfig" 377 source "board/freescale/mx6qarm2/Kconfig"
377 source "board/freescale/mx6qsabreauto/Kconfig" 378 source "board/freescale/mx6qsabreauto/Kconfig"
378 source "board/freescale/mx6sabresd/Kconfig" 379 source "board/freescale/mx6sabresd/Kconfig"
379 source "board/freescale/mx6slevk/Kconfig" 380 source "board/freescale/mx6slevk/Kconfig"
380 source "board/freescale/mx6sllevk/Kconfig" 381 source "board/freescale/mx6sllevk/Kconfig"
381 source "board/freescale/mx6sxsabresd/Kconfig" 382 source "board/freescale/mx6sxsabresd/Kconfig"
382 source "board/freescale/mx6sxsabreauto/Kconfig" 383 source "board/freescale/mx6sxsabreauto/Kconfig"
383 source "board/freescale/mx6ul_14x14_evk/Kconfig" 384 source "board/freescale/mx6ul_14x14_evk/Kconfig"
384 source "board/freescale/mx6ullevk/Kconfig" 385 source "board/freescale/mx6ullevk/Kconfig"
385 source "board/grinn/liteboard/Kconfig" 386 source "board/grinn/liteboard/Kconfig"
386 source "board/phytec/pcm058/Kconfig" 387 source "board/phytec/pcm058/Kconfig"
387 source "board/gateworks/gw_ventana/Kconfig" 388 source "board/gateworks/gw_ventana/Kconfig"
388 source "board/kosagi/novena/Kconfig" 389 source "board/kosagi/novena/Kconfig"
389 source "board/samtec/vining_2000/Kconfig" 390 source "board/samtec/vining_2000/Kconfig"
390 source "board/liebherr/mccmon6/Kconfig" 391 source "board/liebherr/mccmon6/Kconfig"
391 source "board/seco/Kconfig" 392 source "board/seco/Kconfig"
392 source "board/solidrun/mx6cuboxi/Kconfig" 393 source "board/solidrun/mx6cuboxi/Kconfig"
393 source "board/technexion/pico-imx6ul/Kconfig" 394 source "board/technexion/pico-imx6ul/Kconfig"
394 source "board/tbs/tbs2910/Kconfig" 395 source "board/tbs/tbs2910/Kconfig"
395 source "board/tqc/tqma6/Kconfig" 396 source "board/tqc/tqma6/Kconfig"
396 source "board/toradex/apalis_imx6/Kconfig" 397 source "board/toradex/apalis_imx6/Kconfig"
397 source "board/toradex/colibri_imx6/Kconfig" 398 source "board/toradex/colibri_imx6/Kconfig"
398 source "board/udoo/Kconfig" 399 source "board/udoo/Kconfig"
399 source "board/udoo/neo/Kconfig" 400 source "board/udoo/neo/Kconfig"
400 source "board/wandboard/Kconfig" 401 source "board/wandboard/Kconfig"
401 source "board/warp/Kconfig" 402 source "board/warp/Kconfig"
402 403
403 endif 404 endif
404 405
configs/imx6ul_isiot_mmc_defconfig
1 CONFIG_ARM=y 1 CONFIG_ARM=y
2 CONFIG_ARCH_MX6=y 2 CONFIG_ARCH_MX6=y
3 CONFIG_SPL_GPIO_SUPPORT=y 3 CONFIG_SPL_GPIO_SUPPORT=y
4 CONFIG_SPL_LIBCOMMON_SUPPORT=y 4 CONFIG_SPL_LIBCOMMON_SUPPORT=y
5 CONFIG_SPL_LIBGENERIC_SUPPORT=y 5 CONFIG_SPL_LIBGENERIC_SUPPORT=y
6 CONFIG_TARGET_MX6UL_ISIOT=y 6 CONFIG_TARGET_MX6UL_ISIOT=y
7 CONFIG_SPL_EXT_SUPPORT=y 7 CONFIG_SPL_EXT_SUPPORT=y
8 CONFIG_SPL_LIBDISK_SUPPORT=y 8 CONFIG_SPL_LIBDISK_SUPPORT=y
9 CONFIG_SPL_SERIAL_SUPPORT=y 9 CONFIG_SPL_SERIAL_SUPPORT=y
10 CONFIG_SPL_WATCHDOG_SUPPORT=y 10 CONFIG_SPL_WATCHDOG_SUPPORT=y
11 CONFIG_DEFAULT_DEVICE_TREE="imx6ul-isiot-mmc" 11 CONFIG_DEFAULT_DEVICE_TREE="imx6ul-isiot-mmc"
12 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,ENV_IS_IN_MMC" 12 CONFIG_SYS_EXTRA_OPTIONS="IMX_CONFIG=arch/arm/imx-common/spl_sd.cfg,ENV_IS_IN_MMC"
13 CONFIG_BOOTDELAY=3 13 CONFIG_BOOTDELAY=3
14 CONFIG_DEFAULT_FDT_FILE="imx6ul-isiot-emmc.dtb" 14 CONFIG_DEFAULT_FDT_FILE="imx6ul-isiot-emmc.dtb"
15 CONFIG_SPL=y 15 CONFIG_SPL=y
16 CONFIG_HUSH_PARSER=y 16 CONFIG_HUSH_PARSER=y
17 CONFIG_FIT=y 17 CONFIG_FIT=y
18 CONFIG_FIT_VERBOSE=y 18 CONFIG_FIT_VERBOSE=y
19 CONFIG_FIT_SIGNATURE=y 19 CONFIG_FIT_SIGNATURE=y
20 CONFIG_SYS_PROMPT="isiotmx6ul> " 20 CONFIG_SYS_PROMPT="isiotmx6ul> "
21 # CONFIG_CMD_IMLS is not set 21 # CONFIG_CMD_IMLS is not set
22 CONFIG_CMD_MEMTEST=y 22 CONFIG_CMD_MEMTEST=y
23 CONFIG_CMD_MMC=y 23 CONFIG_CMD_MMC=y
24 CONFIG_CMD_I2C=y 24 CONFIG_CMD_I2C=y
25 CONFIG_CMD_GPIO=y 25 CONFIG_CMD_GPIO=y
26 CONFIG_CMD_MII=y
27 CONFIG_CMD_PING=y
26 CONFIG_CMD_CACHE=y 28 CONFIG_CMD_CACHE=y
27 CONFIG_CMD_EXT2=y 29 CONFIG_CMD_EXT2=y
28 CONFIG_CMD_EXT4=y 30 CONFIG_CMD_EXT4=y
29 CONFIG_CMD_EXT4_WRITE=y 31 CONFIG_CMD_EXT4_WRITE=y
30 CONFIG_CMD_FAT=y 32 CONFIG_CMD_FAT=y
31 CONFIG_CMD_FS_GENERIC=y 33 CONFIG_CMD_FS_GENERIC=y
32 # CONFIG_BLK is not set 34 # CONFIG_BLK is not set
33 CONFIG_SYS_I2C_MXC=y 35 CONFIG_SYS_I2C_MXC=y
34 # CONFIG_DM_MMC_OPS is not set 36 # CONFIG_DM_MMC_OPS is not set
37 CONFIG_FEC_MXC=y
35 CONFIG_PINCTRL=y 38 CONFIG_PINCTRL=y
36 CONFIG_PINCTRL_IMX6=y 39 CONFIG_PINCTRL_IMX6=y
37 CONFIG_MXC_UART=y 40 CONFIG_MXC_UART=y
38 CONFIG_IMX_THERMAL=y 41 CONFIG_IMX_THERMAL=y
39 42
include/configs/imx6ul_isiot.h
1 /* 1 /*
2 * Copyright (C) 2016 Amarula Solutions B.V. 2 * Copyright (C) 2016 Amarula Solutions B.V.
3 * Copyright (C) 2016 Engicam S.r.l. 3 * Copyright (C) 2016 Engicam S.r.l.
4 * 4 *
5 * Configuration settings for the Engicam Is.IoT MX6UL Starter Kits. 5 * Configuration settings for the Engicam Is.IoT MX6UL Starter Kits.
6 * 6 *
7 * SPDX-License-Identifier: GPL-2.0+ 7 * SPDX-License-Identifier: GPL-2.0+
8 */ 8 */
9 9
10 #ifndef __IMX6UL_ISIOT_CONFIG_H 10 #ifndef __IMX6UL_ISIOT_CONFIG_H
11 #define __IMX6UL_ISIOT_CONFIG_H 11 #define __IMX6UL_ISIOT_CONFIG_H
12 12
13 #include <linux/sizes.h> 13 #include <linux/sizes.h>
14 #include "mx6_common.h" 14 #include "mx6_common.h"
15 15
16 /* Size of malloc() pool */ 16 /* Size of malloc() pool */
17 #define CONFIG_SYS_MALLOC_LEN (16 * SZ_1M) 17 #define CONFIG_SYS_MALLOC_LEN (16 * SZ_1M)
18 18
19 /* Total Size of Environment Sector */ 19 /* Total Size of Environment Sector */
20 #define CONFIG_ENV_SIZE SZ_128K 20 #define CONFIG_ENV_SIZE SZ_128K
21 21
22 /* Allow to overwrite serial and ethaddr */ 22 /* Allow to overwrite serial and ethaddr */
23 #define CONFIG_ENV_OVERWRITE 23 #define CONFIG_ENV_OVERWRITE
24 24
25 /* Environment */ 25 /* Environment */
26 #ifndef CONFIG_ENV_IS_NOWHERE 26 #ifndef CONFIG_ENV_IS_NOWHERE
27 /* Environment in MMC */ 27 /* Environment in MMC */
28 # if defined(CONFIG_ENV_IS_IN_MMC) 28 # if defined(CONFIG_ENV_IS_IN_MMC)
29 # define CONFIG_ENV_OFFSET 0x100000 29 # define CONFIG_ENV_OFFSET 0x100000
30 # endif 30 # endif
31 #endif 31 #endif
32 32
33 /* Default environment */ 33 /* Default environment */
34 #define CONFIG_EXTRA_ENV_SETTINGS \ 34 #define CONFIG_EXTRA_ENV_SETTINGS \
35 "script=boot.scr\0" \ 35 "script=boot.scr\0" \
36 "image=uImage\0" \ 36 "image=uImage\0" \
37 "fit_image=fit.itb\0" \ 37 "fit_image=fit.itb\0" \
38 "splashpos=m,m\0" \ 38 "splashpos=m,m\0" \
39 "console=ttymxc0\0" \ 39 "console=ttymxc0\0" \
40 "fdt_high=0xffffffff\0" \ 40 "fdt_high=0xffffffff\0" \
41 "fdt_file=" CONFIG_DEFAULT_FDT_FILE "\0" \ 41 "fdt_file=" CONFIG_DEFAULT_FDT_FILE "\0" \
42 "fdt_addr=0x87800000\0" \ 42 "fdt_addr=0x87800000\0" \
43 "boot_fdt=try\0" \ 43 "boot_fdt=try\0" \
44 "mmcdev=0\0" \ 44 "mmcdev=0\0" \
45 "mmcpart=1\0" \ 45 "mmcpart=1\0" \
46 "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \ 46 "mmcroot=/dev/mmcblk0p2 rootwait rw\0" \
47 "mmcautodetect=yes\0" \ 47 "mmcautodetect=yes\0" \
48 "mmcargs=setenv bootargs console=${console},${baudrate} " \ 48 "mmcargs=setenv bootargs console=${console},${baudrate} " \
49 "root=${mmcroot}\0" \ 49 "root=${mmcroot}\0" \
50 "loadbootscript=" \ 50 "loadbootscript=" \
51 "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \ 51 "fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${script};\0" \
52 "bootscript=echo Running bootscript from mmc ...; " \ 52 "bootscript=echo Running bootscript from mmc ...; " \
53 "source\0" \ 53 "source\0" \
54 "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \ 54 "loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image}\0" \
55 "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \ 55 "loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file}\0" \
56 "loadfit=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${fit_image}\0" \ 56 "loadfit=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${fit_image}\0" \
57 "fitboot=echo Booting FIT image from mmc ...; " \ 57 "fitboot=echo Booting FIT image from mmc ...; " \
58 "run mmcargs; " \ 58 "run mmcargs; " \
59 "bootm ${loadaddr}\0" \ 59 "bootm ${loadaddr}\0" \
60 "mmcboot=echo Booting from mmc ...; " \ 60 "mmcboot=echo Booting from mmc ...; " \
61 "run mmcargs; " \ 61 "run mmcargs; " \
62 "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \ 62 "if test ${boot_fdt} = yes || test ${boot_fdt} = try; then " \
63 "if run loadfdt; then " \ 63 "if run loadfdt; then " \
64 "bootm ${loadaddr} - ${fdt_addr}; " \ 64 "bootm ${loadaddr} - ${fdt_addr}; " \
65 "else " \ 65 "else " \
66 "if test ${boot_fdt} = try; then " \ 66 "if test ${boot_fdt} = try; then " \
67 "bootm; " \ 67 "bootm; " \
68 "else " \ 68 "else " \
69 "echo WARN: Cannot load the DT; " \ 69 "echo WARN: Cannot load the DT; " \
70 "fi; " \ 70 "fi; " \
71 "fi; " \ 71 "fi; " \
72 "else " \ 72 "else " \
73 "bootm; " \ 73 "bootm; " \
74 "fi\0" 74 "fi\0"
75 75
76 # define CONFIG_BOOTCOMMAND \ 76 # define CONFIG_BOOTCOMMAND \
77 "if mmc rescan; then " \ 77 "if mmc rescan; then " \
78 "if run loadbootscript; then " \ 78 "if run loadbootscript; then " \
79 "run bootscript; " \ 79 "run bootscript; " \
80 "else " \ 80 "else " \
81 "if run loadfit; then " \ 81 "if run loadfit; then " \
82 "run fitboot; " \ 82 "run fitboot; " \
83 "else " \ 83 "else " \
84 "if run loadimage; then " \ 84 "if run loadimage; then " \
85 "run mmcboot; " \ 85 "run mmcboot; " \
86 "fi; " \ 86 "fi; " \
87 "fi; " \ 87 "fi; " \
88 "fi; " \ 88 "fi; " \
89 "fi" 89 "fi"
90 90
91 /* Miscellaneous configurable options */ 91 /* Miscellaneous configurable options */
92 #define CONFIG_SYS_MEMTEST_START 0x80000000 92 #define CONFIG_SYS_MEMTEST_START 0x80000000
93 #define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + 0x8000000) 93 #define CONFIG_SYS_MEMTEST_END (CONFIG_SYS_MEMTEST_START + 0x8000000)
94 94
95 #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR 95 #define CONFIG_SYS_LOAD_ADDR CONFIG_LOADADDR
96 #define CONFIG_SYS_HZ 1000 96 #define CONFIG_SYS_HZ 1000
97 97
98 /* Physical Memory Map */ 98 /* Physical Memory Map */
99 #define CONFIG_NR_DRAM_BANKS 1 99 #define CONFIG_NR_DRAM_BANKS 1
100 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR 100 #define PHYS_SDRAM MMDC0_ARB_BASE_ADDR
101 101
102 #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM 102 #define CONFIG_SYS_SDRAM_BASE PHYS_SDRAM
103 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR 103 #define CONFIG_SYS_INIT_RAM_ADDR IRAM_BASE_ADDR
104 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE 104 #define CONFIG_SYS_INIT_RAM_SIZE IRAM_SIZE
105 105
106 #define CONFIG_SYS_INIT_SP_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - \ 106 #define CONFIG_SYS_INIT_SP_OFFSET (CONFIG_SYS_INIT_RAM_SIZE - \
107 GENERATED_GBL_DATA_SIZE) 107 GENERATED_GBL_DATA_SIZE)
108 #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \ 108 #define CONFIG_SYS_INIT_SP_ADDR (CONFIG_SYS_INIT_RAM_ADDR + \
109 CONFIG_SYS_INIT_SP_OFFSET) 109 CONFIG_SYS_INIT_SP_OFFSET)
110 110
111 /* FIT */ 111 /* FIT */
112 #ifdef CONFIG_FIT 112 #ifdef CONFIG_FIT
113 # define CONFIG_HASH_VERIFY 113 # define CONFIG_HASH_VERIFY
114 # define CONFIG_SHA1 114 # define CONFIG_SHA1
115 # define CONFIG_SHA256 115 # define CONFIG_SHA256
116 # define CONFIG_IMAGE_FORMAT_LEGACY 116 # define CONFIG_IMAGE_FORMAT_LEGACY
117 #endif 117 #endif
118 118
119 /* UART */ 119 /* UART */
120 #ifdef CONFIG_MXC_UART 120 #ifdef CONFIG_MXC_UART
121 # define CONFIG_MXC_UART_BASE UART1_BASE 121 # define CONFIG_MXC_UART_BASE UART1_BASE
122 #endif 122 #endif
123 123
124 /* MMC */ 124 /* MMC */
125 #ifdef CONFIG_FSL_USDHC 125 #ifdef CONFIG_FSL_USDHC
126 # define CONFIG_SYS_MMC_ENV_DEV 0 126 # define CONFIG_SYS_MMC_ENV_DEV 0
127 # define CONFIG_SYS_FSL_USDHC_NUM 1 127 # define CONFIG_SYS_FSL_USDHC_NUM 1
128 # define CONFIG_SYS_FSL_ESDHC_ADDR 0 128 # define CONFIG_SYS_FSL_ESDHC_ADDR 0
129 #endif 129 #endif
130 130
131 /* Ethernet */
132 #ifdef CONFIG_FEC_MXC
133 # define CONFIG_FEC_MXC_PHYADDR 0
134 # define CONFIG_FEC_XCV_TYPE RMII
135
136 # define CONFIG_MII
137 # define CONFIG_PHYLIB
138 # define CONFIG_PHY_SMSC
139 #endif
140
131 /* SPL */ 141 /* SPL */
132 #ifdef CONFIG_SPL 142 #ifdef CONFIG_SPL
133 # define CONFIG_SPL_MMC_SUPPORT 143 # define CONFIG_SPL_MMC_SUPPORT
134 144
135 # include "imx6_spl.h" 145 # include "imx6_spl.h"
136 # ifdef CONFIG_SPL_BUILD 146 # ifdef CONFIG_SPL_BUILD
137 # undef CONFIG_DM_GPIO 147 # undef CONFIG_DM_GPIO
138 # undef CONFIG_DM_MMC 148 # undef CONFIG_DM_MMC
139 # endif 149 # endif
140 #endif 150 #endif
141 151
142 #endif /* __IMX6UL_ISIOT_CONFIG_H */ 152 #endif /* __IMX6UL_ISIOT_CONFIG_H */
143 153