xref: /rk3399_rockchip-uboot/arch/arm/mach-rockchip/Kconfig (revision e622d25ad354a49b13503258d62e0dbef2bbb597)
1if ARCH_ROCKCHIP
2
3config ROCKCHIP_PX30
4	bool "Support Rockchip PX30"
5	select ARM64 if !ARM64_BOOT_AARCH32
6	select GICV2
7	select ARM_SMCCC
8	select SUPPORT_SPL
9	select SUPPORT_TPL
10	select SPL if !ARM64_BOOT_AARCH32
11	select TPL if !ARM64_BOOT_AARCH32
12	select TPL_TINY_FRAMEWORK if TPL
13
14	imply SPL_SEPARATE_BSS
15	imply SPL_SERIAL_SUPPORT
16	imply TPL_SERIAL_SUPPORT
17	help
18	  The Rockchip PX30 is a ARM-based SoC with a quad-core Cortex-A35
19	  including NEON and GPU, Mali-400 graphics, several DDR3 options
20	  and video codec support. Peripherals include Gigabit Ethernet,
21	  USB2 host and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
22
23if ROCKCHIP_PX30
24
25config TPL_LDSCRIPT
26	default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
27
28config TPL_TEXT_BASE
29	default 0xff0e1000
30
31config TPL_MAX_SIZE
32	default 10240
33
34config ROCKCHIP_RK3326
35	bool "Support Rockchip RK3326"
36	help
37	  RK3326 can use most code from PX30, but at some situations we have
38	  to distinguish between RK3326 and PX30, so this macro gives help.
39	  It is usually selected in rk3326 board defconfig.
40
41config ROCKCHIP_RK3358
42	bool "Support Rockchip RK3358"
43	help
44	  RK3358 can use most code from PX30, but at some situations we have
45	  to distinguish between RK3358 and PX30, so this macro gives help.
46	  It is usually selected in rk3358 board defconfig.
47endif
48
49config ROCKCHIP_RK3036
50	bool "Support Rockchip RK3036"
51	select CPU_V7
52	select SUPPORT_SPL
53	select SUPPORT_TPL
54	select SPL
55	select TPL
56	select BOARD_LATE_INIT
57	select ROCKCHIP_BROM_HELPER
58	select TPL_NEEDS_SEPARATE_TEXT_BASE if TPL
59	select TPL_NEEDS_SEPARATE_STACK if TPL
60	select ARM_SMCCC
61	select ARM_ERRATA_814220
62	help
63	  The Rockchip RK3036 is a ARM-based SoC with a dual-core Cortex-A7
64	  including NEON and GPU, Mali-400 graphics, several DDR3 options
65	  and video codec support. Peripherals include Gigabit Ethernet,
66	  USB2 host and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
67
68config ROCKCHIP_RK3128
69	bool "Support Rockchip RK3128"
70	select CPU_V7
71	select GICV2
72	select ARM_SMCCC
73	select ARM_ERRATA_814220
74	help
75	  The Rockchip RK3128 is a ARM-based SoC with a quad-core Cortex-A7
76	  including NEON and GPU, Mali-400 graphics, several DDR3 options
77	  and video codec support. Peripherals include Gigabit Ethernet,
78	  USB2 host and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
79
80if ROCKCHIP_RK3128
81
82config ROCKCHIP_RK3126
83	bool "Support Rockchip RK3126 "
84	help
85	  RK3126 can use most code from RK3128, but at some situations we have
86	  to distinguish between RK3126 and RK3128, so this macro gives help.
87	  It is usually selected in rk3126 board defconfig.
88
89config ROCKCHIP_PX3SE
90	bool "Support Rockchip PX3SE"
91	help
92	  PX3SE is a variant of RK3128, it shares codes with RK3128, but we still
93	  need this macro to distinguish PX3SE and RK3128.
94endif
95
96config ROCKCHIP_RK3066
97	bool "Support Rockchip RK3066"
98	select CPU_V7
99	select SUPPORT_SPL
100	select SUPPORT_TPL
101	select SPL
102	select TPL
103	select BOARD_LATE_INIT
104	select ROCKCHIP_BROM_HELPER
105	select SPL_ROCKCHIP_EARLYRETURN_TO_BROM
106	help
107	  The Rockchip RK3066 is a ARM-based SoC with a dual-core Cortex-A9
108	  including NEON and GPU, Mali-400 graphics, several DDR3 options
109	  and video codec support. Peripherals include ethernet, USB2 host
110	  and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
111
112config ROCKCHIP_RK3188
113	bool "Support Rockchip RK3188"
114	select CPU_V7
115	select SPL_BOARD_INIT if SPL
116	select SUPPORT_SPL
117	select SPL
118	select SPL_CLK
119	select SPL_REGMAP
120	select SPL_SYSCON
121	select SPL_RAM
122	select SPL_DRIVERS_MISC_SUPPORT
123	select SPL_ROCKCHIP_EARLYRETURN_TO_BROM
124	select BOARD_LATE_INIT
125	select ROCKCHIP_BROM_HELPER
126	help
127	  The Rockchip RK3188 is a ARM-based SoC with a quad-core Cortex-A9
128	  including NEON and GPU, 512KB L2 cache, Mali-400 graphics, two
129	  video interfaces, several memory options and video codec support.
130	  Peripherals include Fast Ethernet, USB2 host and OTG, SDIO, I2S,
131	  UART, SPI, I2C and PWMs.
132
133config ROCKCHIP_RK322X
134	bool "Support Rockchip RK3228/RK3229"
135	select CPU_V7
136	select SUPPORT_SPL
137	select SUPPORT_TPL
138	select SPL
139	select TPL
140	select TPL_NEEDS_SEPARATE_TEXT_BASE if SPL
141	select TPL_NEEDS_SEPARATE_STACK if TPL
142	select SPL_DRIVERS_MISC_SUPPORT
143	imply SPL_SERIAL_SUPPORT
144	imply TPL_SERIAL_SUPPORT
145	select ROCKCHIP_BROM_HELPER
146	select TPL_LIBCOMMON_SUPPORT
147	select TPL_LIBGENERIC_SUPPORT
148	select GICV2
149	select ARM_SMCCC
150	select ARM_ERRATA_814220
151	help
152	  The Rockchip RK3229 is a ARM-based SoC with a dual-core Cortex-A7
153	  including NEON and GPU, Mali-400 graphics, several DDR3 options
154	  and video codec support. Peripherals include Gigabit Ethernet,
155	  USB2 host and OTG, SDIO, I2S, UART, SPI, I2C and PWMs.
156
157if ROCKCHIP_RK322X
158
159config ROCKCHIP_RK3128X
160	bool "Support Rockchip RK3128X "
161	help
162	  RK3128X can use most code from RK322X, but at some situations we have
163	  to distinguish between RK3128X and RK322X, so this macro gives help.
164	  It is usually selected in RK3128X board defconfig.
165endif
166
167config ROCKCHIP_RK3288
168	bool "Support Rockchip RK3288"
169	select CPU_V7
170	select SPL_BOARD_INIT if SPL
171	select SUPPORT_SPL
172	select SUPPORT_TPL
173	select SPL
174	select TPL
175	select TPL_NEEDS_SEPARATE_TEXT_BASE if TPL
176	select TPL_NEEDS_SEPARATE_STACK if TPL
177	imply TPL_SERIAL_SUPPORT
178	select GICV2
179	select ARM_SMCCC
180	select SPL_OPTEE
181	select FIT
182	select SPL_LOAD_FIT
183	select TPL_LIBCOMMON_SUPPORT
184	select TPL_LIBGENERIC_SUPPORT
185	select TPL_SYS_MALLOC_SIMPLE
186	select TPL_BOOTROM_SUPPORT
187	select TPL_DRIVERS_MISC_SUPPORT
188	select TPL_OF_CONTROL
189	select TPL_DM
190	select TPL_REGMAP
191	select TPL_SYSCON
192	select TPL_RAM
193	select TPL_CLK
194	select TPL_TINY_MEMSET
195	help
196	  The Rockchip RK3288 is a ARM-based SoC with a quad-core Cortex-A17
197	  including NEON and GPU, 1MB L2 cache, Mali-T7 graphics, two
198	  video interfaces supporting HDMI and eDP, several DDR3 options
199	  and video codec support. Peripherals include Gigabit Ethernet,
200	  USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
201
202if ROCKCHIP_RK3288
203config SPL_FIT_GENERATOR
204	default "arch/arm/mach-rockchip/make_fit_optee.sh"
205
206config TPL_LDSCRIPT
207	default "arch/arm/mach-rockchip/u-boot-tpl.lds"
208
209config TPL_TEXT_BASE
210	default 0xff704000
211
212config TPL_MAX_SIZE
213	default 32768
214
215config TPL_STACK
216	default 0xff718000
217
218endif
219
220config ROCKCHIP_RK3308
221	bool "Support Rockchip RK3308"
222	select ARM64 if !ARM64_BOOT_AARCH32
223	select ARM_SMCCC
224	imply GICV2
225	select SUPPORT_SPL if !ARM64_BOOT_AARCH32
226	select SUPPORT_TPL if !ARM64_BOOT_AARCH32
227	select SPL if !ARM64_BOOT_AARCH32
228	select TPL if !ARM64_BOOT_AARCH32
229	imply SPL_CLK
230	imply SPL_REGMAP
231	imply SPL_SYSCON
232	imply SPL_RAM
233	imply SPL_SERIAL_SUPPORT
234	imply TPL_SERIAL_SUPPORT
235	imply SPL_SEPARATE_BSS
236	help
237	  The Rockchip RK3308 is a ARM-based Soc which embeded with quad
238	  Cortex-A35 and highly integrated audio interfaces.
239
240if ROCKCHIP_RK3308
241
242config TPL_LDSCRIPT
243	default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
244
245config TPL_TEXT_BASE
246	default 0xfff81000
247
248config TPL_MAX_SIZE
249	default 10240
250
251config TPL_STACK
252	default 0xfff84000
253
254endif
255
256config ROCKCHIP_RK3328
257	bool "Support Rockchip RK3328"
258	select ARM64
259	select GICV2
260	select SUPPORT_SPL
261	select SUPPORT_TPL
262	select SPL
263	select TPL
264	select TPL_NEEDS_SEPARATE_TEXT_BASE if TPL
265	select TPL_NEEDS_SEPARATE_STACK if TPL
266	imply SPL_SERIAL_SUPPORT
267	imply TPL_SERIAL_SUPPORT
268	imply SPL_SEPARATE_BSS
269	select ARM_SMCCC
270	help
271	  The Rockchip RK3328 is a ARM-based SoC with a quad-core Cortex-A53.
272	  including NEON and GPU, 1MB L2 cache, Mali-T7 graphics, two
273	  video interfaces supporting HDMI and eDP, several DDR3 options
274	  and video codec support. Peripherals include Gigabit Ethernet,
275	  USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
276
277if ROCKCHIP_RK3328
278
279config TPL_LDSCRIPT
280	default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
281
282config TPL_TEXT_BASE
283        default 0xff091000
284
285config TPL_MAX_SIZE
286        default 28672
287
288config TPL_STACK
289        default 0xff098000
290
291endif
292
293config ROCKCHIP_RK3368
294	bool "Support Rockchip RK3368"
295	select ARM64
296	select SUPPORT_SPL
297	select SUPPORT_TPL
298	select TPL_NEEDS_SEPARATE_TEXT_BASE if SPL
299	select TPL_NEEDS_SEPARATE_STACK if TPL
300	imply SPL_SEPARATE_BSS
301	imply SPL_SERIAL_SUPPORT
302	imply TPL_SERIAL_SUPPORT
303	select GICV2
304	select ARM_SMCCC
305	help
306	  The Rockchip RK3368 is a ARM-based SoC with a octa-core (organised
307	  into a big and little cluster with 4 cores each) Cortex-A53 including
308	  AdvSIMD, 512KB L2 cache (for the big cluster) and 256 KB L2 cache
309	  (for the little cluster), PowerVR G6110 based graphics, one video
310	  output processor supporting LVDS/HDMI/eDP, several DDR3 options and
311	  video codec support.
312
313	  On-chip peripherals include Gigabit Ethernet, USB2 host and OTG, SDIO,
314	  I2S, UARTs, SPI, I2C and PWMs.
315
316if ROCKCHIP_RK3368
317
318config ROCKCHIP_PX5
319	bool "Support Rockchip PX5"
320	help
321	  PX5 is a variant of RK3368, it shares codes with RK3368, but we still
322	  need this macro to distinguish PX5 and RK3368.
323
324config TPL_LDSCRIPT
325	default "arch/arm/mach-rockchip/rk3368/u-boot-tpl.lds"
326
327config TPL_TEXT_BASE
328        default 0xff8c1000
329
330config TPL_MAX_SIZE
331        default 28672
332
333config TPL_STACK
334        default 0xff8cffff
335
336endif
337
338config ROCKCHIP_RK3399
339	bool "Support Rockchip RK3399"
340	select ARM64
341	select SUPPORT_SPL
342	select SUPPORT_TPL
343	select SPL
344	select TPL
345	select TPL_NEEDS_SEPARATE_TEXT_BASE if TPL
346	select TPL_NEEDS_SEPARATE_STACK if TPL
347	imply TPL_SERIAL_SUPPORT
348	select SPL_SEPARATE_BSS
349	select SPL_SERIAL_SUPPORT
350	select SPL_DRIVERS_MISC_SUPPORT
351	select GICV3
352	select BOARD_LATE_INIT
353	select ROCKCHIP_BROM_HELPER
354	select ARM_SMCCC
355	select TPL_LIBCOMMON_SUPPORT
356	select TPL_LIBGENERIC_SUPPORT
357	select TPL_SYS_MALLOC_SIMPLE
358	select TPL_BOOTROM_SUPPORT
359	select TPL_DRIVERS_MISC_SUPPORT
360	select TPL_OF_CONTROL
361	select TPL_DM
362	select TPL_REGMAP
363	select TPL_SYSCON
364	select TPL_RAM
365	select TPL_CLK
366	select TPL_TINY_MEMSET
367	help
368	  The Rockchip RK3399 is a ARM-based SoC with a dual-core Cortex-A72
369	  and quad-core Cortex-A53.
370	  including NEON and GPU, 1MB L2 cache, Mali-T7 graphics, two
371	  video interfaces supporting HDMI and eDP, several DDR3 options
372	  and video codec support. Peripherals include Gigabit Ethernet,
373	  USB2 host and OTG, SDIO, I2S, UARTs, SPI, I2C and PWMs.
374
375if ROCKCHIP_RK3399
376
377config ROCKCHIP_RK3399PRO
378	bool "Support Rockchip RK3399Pro"
379
380config TPL_LDSCRIPT
381	default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
382
383config TPL_TEXT_BASE
384        default 0xff8c2000
385
386config TPL_MAX_SIZE
387        default 188416
388
389config TPL_STACK
390        default 0xff8effff
391
392endif
393
394config ROCKCHIP_RK3506
395	bool "Support Rockchip RK3506"
396	select CPU_V7
397	select ROCKCHIP_BROM_HELPER
398	select DEBUG_UART_BOARD_INIT
399	select ARM_SMCCC
400	select GICV2
401	select ARM_ERRATA_814220
402	imply SUPPORT_SPL
403	imply SUPPORT_TPL
404	imply SPL
405	imply TPL
406	imply TPL_SERIAL_SUPPORT
407	imply SPL_SERIAL_SUPPORT
408	imply TPL_TINY_FRAMEWORK if TPL
409	imply BOARD_LATE_INIT
410	imply ROCKCHIP_GPIO_V2
411
412	help
413	  The Rockchip RK3506 is a ARM-based SoC with a tri-core Cortex-A7.
414
415if ROCKCHIP_RK3506
416
417config TPL_LDSCRIPT
418	default "arch/arm/mach-rockchip/u-boot-tpl.lds"
419
420config TPL_TEXT_BASE
421	default 0xfff81000
422
423config TPL_MAX_SIZE
424	default 45056
425
426endif
427
428config ROCKCHIP_RK3528
429	bool "Support Rockchip RK3528"
430	select ARM64 if !ARM64_BOOT_AARCH32
431	select GICV2 if !ARM64_BOOT_AARCH32
432	select SUPPORT_TPL if !ARM64_BOOT_AARCH32
433	select SUPPORT_SPL if !ARM64_BOOT_AARCH32
434	select TPL_TINY_FRAMEWORK if TPL
435	select DEBUG_UART_BOARD_INIT
436	imply TPL if !ARM64_BOOT_AARCH32
437	imply SPL if !ARM64_BOOT_AARCH32
438	imply TPL_SERIAL_SUPPORT
439	help
440	  The Rockchip RK3528 is a ARM-based SoC with a quad-core Cortex-A53.
441
442if ROCKCHIP_RK3528
443
444config TPL_LDSCRIPT
445	default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
446
447config TPL_TEXT_BASE
448	default 0xfe481000
449
450config TPL_MAX_SIZE
451	default 61440
452
453endif
454
455config ROCKCHIP_RK3562
456	bool "Support Rockchip RK3562"
457	select ARM_SMCCC
458	select ARM64 if !ARM64_BOOT_AARCH32
459	select GICV2 if !ARM64_BOOT_AARCH32
460	select SUPPORT_TPL if !ARM64_BOOT_AARCH32
461	select SUPPORT_SPL if !ARM64_BOOT_AARCH32
462	select TPL_TINY_FRAMEWORK if TPL
463	select DEBUG_UART_BOARD_INIT
464	imply TPL if !ARM64_BOOT_AARCH32
465	imply SPL if !ARM64_BOOT_AARCH32
466	imply TPL_SERIAL_SUPPORT
467	help
468	  The Rockchip RK3562 is a ARM-based SoC with a quad-core Cortex-A53.
469
470if ROCKCHIP_RK3562
471
472config TPL_LDSCRIPT
473	default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
474
475config TPL_TEXT_BASE
476	default 0xfe481000
477
478config TPL_MAX_SIZE
479	default 61440
480
481endif
482
483config ROCKCHIP_RK3568
484	bool "Support Rockchip RK3568"
485	select ARM64 if !ARM64_BOOT_AARCH32
486	select ARM_SMCCC
487	select GICV3 if !ARM64_BOOT_AARCH32 && !SUPPORT_USBPLUG
488	select SUPPORT_TPL if !ARM64_BOOT_AARCH32
489	select SUPPORT_SPL if !ARM64_BOOT_AARCH32
490	select TPL_TINY_FRAMEWORK if TPL
491	select DEBUG_UART_BOARD_INIT
492	imply TPL if !ARM64_BOOT_AARCH32
493	imply SPL if !ARM64_BOOT_AARCH32
494	imply TPL_SERIAL_SUPPORT
495	help
496	  The Rockchip RK3568 is a ARM-based SoC with a quad-core Cortex-A55.
497
498if ROCKCHIP_RK3568
499
500config TPL_LDSCRIPT
501	default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
502
503config TPL_TEXT_BASE
504	default 0xfdcc1000
505
506config TPL_MAX_SIZE
507	default 61440
508
509endif
510
511config ROCKCHIP_RK3576
512	bool "Support Rockchip RK3576"
513	select ARM64
514	select GICV2
515	select ARM_SMCCC
516	select DEBUG_UART_BOARD_INIT
517	select ROCKCHIP_BROM_HELPER
518	select SUPPORT_SPL
519	select SUPPORT_TPL
520	select TPL_TINY_FRAMEWORK if TPL
521	imply TPL
522	imply SPL
523	imply TPL_SERIAL_SUPPORT
524
525	help
526	  The Rockchip RK3576 is a ARM-based SoC with a quad-core Cortex-A53
527	  and a quad-core Cortex-A72.
528
529if ROCKCHIP_RK3576
530
531config TPL_LDSCRIPT
532	default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
533
534config TPL_TEXT_BASE
535	default 0x3ff81000
536
537config TPL_MAX_SIZE
538	default 61440
539
540endif
541
542config ROCKCHIP_RK3588
543	bool "Support Rockchip RK3588"
544	select ARM64 if !ARM64_BOOT_AARCH32
545	select ARM_SMCCC
546	select DEBUG_UART_BOARD_INIT
547	select GICV3 if !ARM64_BOOT_AARCH32 && !SUPPORT_USBPLUG
548	select ROCKCHIP_BROM_HELPER
549	select SUPPORT_SPL if !ARM64_BOOT_AARCH32
550	select SUPPORT_TPL if !ARM64_BOOT_AARCH32
551	select TPL_TINY_FRAMEWORK if TPL
552	imply TPL if !ARM64_BOOT_AARCH32
553	imply SPL if !ARM64_BOOT_AARCH32
554	imply TPL_SERIAL_SUPPORT
555	select DEBUG_UART_BOARD_INIT
556	help
557	  The Rockchip RK3588 is a ARM-based SoC with a quad-core Cortex-A55.
558
559if ROCKCHIP_RK3588
560
561config TPL_LDSCRIPT
562	default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
563
564config TPL_TEXT_BASE
565	default 0xff001000
566
567config TPL_MAX_SIZE
568	default 61440
569endif
570
571config ROCKCHIP_RK1808
572	bool "Support Rockchip RK1808"
573	select ARM64
574	select ARM_SMCCC
575	select GICV3 if !COPROCESSOR_RK1808
576	select SUPPORT_SPL if !COPROCESSOR_RK1808
577	select SUPPORT_TPL if !COPROCESSOR_RK1808
578	help
579	  The Rockchip RK1808 is a ARM-based Soc which embedded with dual
580	  Cortex-A35.
581
582if ROCKCHIP_RK1808
583
584config ROCKCHIP_RK1806
585	bool "Support Rockchip RK1806"
586	help
587	  The Rockchip RK1806 is a ARM-based Soc which embedded with dual
588	  Cortex-A35.
589
590config COPROCESSOR_RK1808
591	bool "RK1808 coprocessor"
592	help
593	  This indicates the RK1808 is working as a coprocessor for another
594	  more powerful SoC.
595
596endif
597
598config ROCKCHIP_RV1103B
599	bool "Support Rockchip RV1103B"
600	select CPU_V7
601	select ARM_ZERO_CNTVOFF
602	select ROCKCHIP_BROM_HELPER
603	select DEBUG_UART_BOARD_INIT
604	select ARM_ERRATA_814220
605	imply SUPPORT_SPL
606	imply SUPPORT_TPL
607	imply SPL
608	imply TPL
609	imply TPL_SERIAL_SUPPORT
610	imply TPL_TINY_FRAMEWORK if TPL
611	imply BOARD_LATE_INIT
612	imply ROCKCHIP_GPIO_V2
613
614	help
615	  The Rockchip RV1103B is a ARM-based SoC with a Cortex-A7 and
616	  other modules.
617
618if ROCKCHIP_RV1103B
619
620config TPL_LDSCRIPT
621	default "arch/arm/mach-rockchip/u-boot-tpl.lds"
622
623config TPL_TEXT_BASE
624	default 0x210f7000
625
626config TPL_MAX_SIZE
627	default 32768
628endif
629
630config ROCKCHIP_RV1106
631	bool "Support Rockchip RV1106"
632	select CPU_V7
633	select DEBUG_UART_BOARD_INIT
634	select ARM_ERRATA_814220
635	imply SUPPORT_SPL
636	imply SUPPORT_TPL
637	imply SPL
638	imply TPL
639	imply TPL_SERIAL_SUPPORT
640	imply TPL_TINY_FRAMEWORK if TPL
641	imply BOARD_LATE_INIT
642	imply ROCKCHIP_GPIO_V2
643	help
644	  The Rockchip RV1106 is a ARM-based SoC with a Cortex-A7 and
645	  other modules.
646
647if ROCKCHIP_RV1106
648
649config TPL_LDSCRIPT
650	default "arch/arm/mach-rockchip/u-boot-tpl.lds"
651
652config TPL_TEXT_BASE
653	default 0xff701000
654
655config TPL_MAX_SIZE
656	default 32768
657endif
658
659config ROCKCHIP_RV1108
660	bool "Support Rockchip RV1108"
661	select CPU_V7
662	select SUPPORT_SPL
663	select SUPPORT_TPL
664	select SPL
665	select TPL
666	select BOARD_LATE_INIT
667	select ARM_ERRATA_814220
668	help
669	  The Rockchip RV1108 is a ARM-based SoC with a single-core Cortex-A7
670	  and a DSP.
671
672if ROCKCHIP_RV1108
673
674config TPL_LDSCRIPT
675        default "arch/arm/mach-rockchip/u-boot-tpl.lds"
676
677config TPL_TEXT_BASE
678        default 0x10080800
679
680config TPL_MAX_SIZE
681        default 6144
682
683config TPL_STACK
684        default 0x10082000
685
686endif
687
688config ROCKCHIP_RV1126
689	bool "Support Rockchip RV1126"
690	select CPU_V7
691	imply SUPPORT_TPL
692	imply SUPPORT_SPL
693	imply TPL_TINY_FRAMEWORK if TPL
694	select DEBUG_UART_BOARD_INIT
695	select ARM_ERRATA_814220
696	imply TPL
697	imply SPL
698	imply GICV2
699	imply ARM_SMCCC
700	imply BOARD_LATE_INIT
701	imply ROCKCHIP_GPIO_V2
702	imply TPL_SERIAL_SUPPORT
703	help
704	  The Rockchip RV1126 is a ARM-based SoC with a quad-core Cortex-A7
705	  and a risc-v core.
706
707if ROCKCHIP_RV1126
708
709config TPL_LDSCRIPT
710	default "arch/arm/mach-rockchip/u-boot-tpl.lds"
711
712config TPL_TEXT_BASE
713	default 0xff701000
714
715config TPL_MAX_SIZE
716	default 32768
717endif
718
719config ROCKCHIP_RV1126B
720	bool "Support Rockchip RV1126B"
721	select ARM64 if !ARM64_BOOT_AARCH32
722	select GICV2 if !ARM64_BOOT_AARCH32
723	select ARM_SMCCC
724	select DEBUG_UART_BOARD_INIT
725	select ROCKCHIP_BROM_HELPER
726	select SUPPORT_TPL if !ARM64_BOOT_AARCH32
727	select SUPPORT_SPL if !ARM64_BOOT_AARCH32
728	select TPL_TINY_FRAMEWORK if TPL
729	imply TPL if !ARM64_BOOT_AARCH32
730	imply SPL if !ARM64_BOOT_AARCH32
731	imply TPL_SERIAL_SUPPORT
732	help
733	  The Rockchip RV1126B is a ARM-based SoC with a quad-core Cortex-A53.
734
735if ROCKCHIP_RV1126B
736
737config TPL_LDSCRIPT
738	default "arch/arm/mach-rockchip/u-boot-tpl-v8.lds"
739
740config TPL_TEXT_BASE
741	default 0x3ffb1000
742
743config TPL_MAX_SIZE
744	default 61440
745
746endif
747
748config SPL_ROCKCHIP_BACK_TO_BROM
749	bool "SPL returns to bootrom"
750	default y if ROCKCHIP_RK3036
751	select ROCKCHIP_BROM_HELPER
752	depends on SPL
753	help
754	  Rockchip SoCs have ability to load SPL & U-Boot binary. If enabled,
755          SPL will return to the boot rom, which will then load the U-Boot
756          binary to keep going on.
757
758config TPL_ROCKCHIP_BACK_TO_BROM
759	bool "TPL returns to bootrom"
760	default y
761	select ROCKCHIP_BROM_HELPER
762	depends on TPL
763	help
764	  Rockchip SoCs have ability to load SPL & U-Boot binary. If enabled,
765          SPL will return to the boot rom, which will then load the U-Boot
766          binary to keep going on.
767
768config ARM64_BOOT_AARCH32
769	bool "Support Boot an ARM64 on AArch32 execution state, ie. U-Boot is in AArch32"
770	select CPU_V7
771	default n
772	help
773	  If you want to boot an ARM64 processor on 32-bit mode, say y here.
774
775config ARM64_SWITCH_TO_AARCH32
776	bool "Support AArch64 U-Boot boot AArch32 kernel"
777	default n
778	help
779	  If you want AArch64 U-Boot to boot AArch32 kernel, say y here.
780	  This feature needs ATF to help switch the PE state.
781
782config ROCKCHIP_BOOT_MODE_REG
783	hex "Rockchip boot mode flag register address"
784	default 0xff010200 if ROCKCHIP_PX30
785	default 0x200081c8 if ROCKCHIP_RK3036
786	default 0x100a0038 if ROCKCHIP_RK3128
787	default 0x20004040 if ROCKCHIP_RK3188
788	default 0x110005c8 if ROCKCHIP_RK322X
789	default 0xff730094 if ROCKCHIP_RK3288
790	default 0xff000500 if ROCKCHIP_RK3308
791	default 0xff1005c8 if ROCKCHIP_RK3328
792	default 0xff738200 if ROCKCHIP_RK3368
793	default 0xff320300 if ROCKCHIP_RK3399
794	default 0xff910200 if ROCKCHIP_RK3506
795	default 0xff370200 if ROCKCHIP_RK3528
796	default 0xff010220 if ROCKCHIP_RK3562
797	default 0xfdc20200 if ROCKCHIP_RK3568
798	default 0x26024040 if ROCKCHIP_RK3576
799	default 0xfd588080 if ROCKCHIP_RK3588
800	default 0xfe020200 if ROCKCHIP_RK1808
801	default 0x20160200 if ROCKCHIP_RV1103B
802	default 0xff020200 if ROCKCHIP_RV1106
803	default 0x10300580 if ROCKCHIP_RV1108
804	default 0xfe020200 if ROCKCHIP_RV1126
805	default 0x20130220 if ROCKCHIP_RV1126B
806	default 0
807	help
808	  The Soc will enter to different boot mode(defined in asm/arch/boot_mode.h)
809	  according to the value from this register.
810
811config ROCKCHIP_STIMER_BASE
812	hex "Rockchip Secure timer base address"
813	default 0xff220020 if ROCKCHIP_PX30
814	default 0x200440a0 if ROCKCHIP_RK3036
815	default 0x2000e000 if ROCKCHIP_RK3066
816	default 0x20018020 if ROCKCHIP_RK3126
817	default 0x200440a0 if ROCKCHIP_RK3128
818	default 0x2000e000 if ROCKCHIP_RK3188
819	default 0x110d0020 if ROCKCHIP_RK322X
820	default 0xff810020 if ROCKCHIP_RK3288
821	default 0xff1b00a0 if ROCKCHIP_RK3308
822	default 0xff1d0020 if ROCKCHIP_RK3328
823	default 0xff830020 if ROCKCHIP_RK3368
824	default 0xff8680a0 if ROCKCHIP_RK3399
825	default 0xff980000 if ROCKCHIP_RK3506
826	default 0xff620000 if ROCKCHIP_RK3528
827	default 0xffa90020 if ROCKCHIP_RK3562
828	default 0xfdd1c020 if ROCKCHIP_RK3568
829	default 0x27400000 if ROCKCHIP_RK3576
830	default 0xfd8c8000 if ROCKCHIP_RK3588
831	default 0x20500000 if ROCKCHIP_RV1103B
832	default 0xff590020 if ROCKCHIP_RV1106
833	default 0x10350020 if ROCKCHIP_RV1108
834	default 0xff670020 if ROCKCHIP_RV1126
835	default 0x20820000 if ROCKCHIP_RV1126B
836	default 0
837	help
838	  The secure timer inited in SPL/TPL in secure word, ARM generic timer
839	  works after this timer work.
840
841config ROCKCHIP_IRAM_START_ADDR
842	hex "Rockchip Secure timer base address"
843	default 0xff0e0000 if ROCKCHIP_PX30
844	default 0x10080000 if ROCKCHIP_RK3036
845	default 0x10080000 if ROCKCHIP_RK3128
846	default 0x10080000 if ROCKCHIP_RK3188
847	default 0x10080000 if ROCKCHIP_RK322X
848	default 0xff700000 if ROCKCHIP_RK3288
849	default 0xfff80000 if ROCKCHIP_RK3308
850	default 0xff091000 if ROCKCHIP_RK3328
851	default 0xff8c0000 if ROCKCHIP_RK3368
852	default 0xff8c0000 if ROCKCHIP_RK3399
853	default 0xfff80000 if ROCKCHIP_RK3506
854	default 0xfe480000 if ROCKCHIP_RK3528
855	default 0xfe480000 if ROCKCHIP_RK3562
856	default 0xfdcc0000 if ROCKCHIP_RK3568
857	default 0x3ff80000 if ROCKCHIP_RK3576
858	default 0xff000000 if ROCKCHIP_RK3588
859	default 0x210f6000 if ROCKCHIP_RV1103B
860	default 0xff6c0000 if ROCKCHIP_RV1106
861	default 0x10080000 if ROCKCHIP_RV1108
862	default 0xff700000 if ROCKCHIP_RV1126
863	default 0x3ffb0000 if ROCKCHIP_RV1126B
864	default 0
865	help
866	  The IRAM start addr is to locate variant of the boot device from
867	  bootrom.
868
869config ROCKCHIP_SPL_RESERVE_IRAM
870	hex "Size of IRAM reserved in SPL"
871	default 0
872	help
873	  SPL may need reserve memory for firmware loaded by SPL, whose load
874	  address is in IRAM and may overlay with SPL text area if not
875	  reserved.
876
877config ROCKCHIP_BROM_HELPER
878	bool
879
880config SPL_ROCKCHIP_EARLYRETURN_TO_BROM
881        bool "SPL requires early-return (for RK3188-style BROM) to BROM"
882	depends on SPL && ENABLE_ARM_SOC_BOOT0_HOOK
883	help
884	  Some Rockchip BROM variants (e.g. on the RK3188) load the
885	  first stage in segments and enter multiple times. E.g. on
886	  the RK3188, the first 1KB of the first stage are loaded
887	  first and entered; after returning to the BROM, the
888	  remainder of the first stage is loaded, but the BROM
889	  re-enters at the same address/to the same code as previously.
890
891	  This enables support code in the BOOT0 hook for the SPL stage
892	  to allow multiple entries.
893
894config TPL_ROCKCHIP_EARLYRETURN_TO_BROM
895        bool "TPL requires early-return (for RK3188-style BROM) to BROM"
896	depends on TPL && ENABLE_ARM_SOC_BOOT0_HOOK
897	help
898	  Some Rockchip BROM variants (e.g. on the RK3188) load the
899	  first stage in segments and enter multiple times. E.g. on
900	  the RK3188, the first 1KB of the first stage are loaded
901	  first and entered; after returning to the BROM, the
902	  remainder of the first stage is loaded, but the BROM
903	  re-enters at the same address/to the same code as previously.
904
905	  This enables support code in the BOOT0 hook for the TPL stage
906	  to allow multiple entries.
907
908config SPL_MMC_SUPPORT
909	default y if !SPL_ROCKCHIP_BACK_TO_BROM && MMC
910
911config RKIMG_BOOTLOADER
912	bool "Support for Rockchip platform features"
913	default y
914	help
915	  Actually this is a compatible configure for code compilation.
916
917config RKIMG_ANDROID_BOOTMODE_LEGACY
918	bool "Support set androidboot.mode with legacy rule"
919	depends on RKIMG_BOOTLOADER
920	default n
921	help
922	  Rockchip set "androidboot.mode=" as "charger" or boot media for android,
923	  which is a rockchip private solution(SDK < 8.1) and deprecated.
924
925config ROCKCHIP_BOOTDEV
926	string "Set the boot device for multiple storage board"
927	default ""
928	help
929	  On the multiple storage on board, set this to determine what we really
930	  want to be the boot device, which contains kernel, rootfs and etc.
931	  Fall through to get from preloader or scan list when it's NULL.
932
933config ROCKCHIP_RESOURCE_IMAGE
934	bool "Enable support for rockchip resource image"
935	depends on RKIMG_BOOTLOADER
936	default y
937	help
938	  This enables support to get dtb or logo files from
939	  rockchip resource image format partition.
940
941config ROCKCHIP_DTB_VERIFY
942	bool "Enable hash verify for DTB in the resource file"
943	depends on ROCKCHIP_RESOURCE_IMAGE
944	select SHA1 if !DM_CRYPTO
945	select SHA256 if !DM_CRYPTO
946	default y
947	help
948	  This enables the hash verify for DTB in the resource file, it means we
949	  always read DTB from second position even the DTB position is present.
950
951config ROCKCHIP_USB_BOOT
952	bool "Enable support for rockchip U-disk boot"
953	depends on USB
954	default n
955	help
956	  This enables support for rockchip U-disk boot.
957
958config ROCKCHIP_FIT_IMAGE
959	bool "Enable support for FIT image"
960	depends on FIT
961	select CMD_BOOT_FIT
962	default n
963	help
964	  This enables loading dtb from fit image.
965
966config ROCKCHIP_UIMAGE
967	bool "Enable support for legacy uImage"
968	depends on !FIT_SIGNATURE && USING_KERNEL_DTB
969	select CMD_BOOT_UIMAGE
970	default n
971	help
972	  This enables loading dtb from uImage image.
973
974config ROCKCHIP_EARLY_DISTRO_DTB
975	bool "Enable support for distro dtb early"
976	depends on DISTRO_DEFAULTS && USING_KERNEL_DTB && CMD_FS_GENERIC
977	default n
978	help
979	  This enables loading dtb from distro bootable partition when there
980	  is no valid dtb in android boot.img and rockchip resource.img.
981
982if ROCKCHIP_EARLY_DISTRO_DTB
983
984config ROCKCHIP_EARLY_DISTRO_DTB_PATH
985	string "/rk-kernel.dtb"
986	help
987	  "DTB file path in the bootable partition image"
988endif
989
990config ROCKCHIP_HWID_DTB
991	bool "Enable support for selecting DTB by hardware id"
992	depends on ROCKCHIP_RESOURCE_IMAGE
993	default n
994	help
995	  This enables select the expected DTB from sets by hardware id,
996	  i.e. GPIO or ADC value.
997
998config SPL_ROCKCHIP_HWID_DTB
999	bool "Enable support for selecting DTB by hardware id in SPL"
1000	depends on SPL_KERNEL_BOOT
1001	default n
1002	help
1003	  This enables select the expected kernel DTB from sets by hardware id in SPL,
1004	  i.e. GPIO or ADC value.
1005
1006config ROCKCHIP_VENDOR_PARTITION
1007	bool "Rockchip vendor storage partition support"
1008	depends on (RKIMG_BOOTLOADER || SUPPORT_USBPLUG)
1009	help
1010	  This enable support to read/write vendor configuration data from/to
1011	  this partition.
1012
1013config USING_KERNEL_DTB
1014	bool "Using dtb from Kernel/resource for U-Boot"
1015	depends on RKIMG_BOOTLOADER && OF_LIVE
1016	default y
1017	help
1018	  This enable support to read dtb from resource and use it for U-Boot,
1019	  the uart and emmc will still using U-Boot dtb, but other devices like
1020	  regulator/pmic, display, usb will use dts node from kernel.
1021
1022config USING_KERNEL_DTB_V2
1023	bool "Version 2 of kernel dtb mechanism"
1024	depends on USING_KERNEL_DTB
1025	default n
1026	help
1027	  The V2 mechanism:
1028	    - both of U-Boot and kernel's *ALL* devices are exist in dm tree.
1029	    - put the necessary U-Boot devices in the head of device uclass list.
1030	    - the both existence policy don't require phandle fixup any more.
1031	    - it is for the next generation(rk3588 ...) or necessary platforms.
1032	  The V1 mechanism(legacy):
1033	    - U-Boot: only some necessary U-Boot devices(storage, crypto...) in dm tree.
1034	    - kernel: all the devices(except the U-Boot only) in dm tree.
1035
1036config EMBED_KERNEL_DTB
1037	bool "Enable embedded dtb support"
1038	default n
1039	help
1040	  Enable embedded dtb support.
1041
1042config EMBED_KERNEL_DTB_PATH
1043	string "Embedded kernel dtb file path"
1044	depends on EMBED_KERNEL_DTB && USING_KERNEL_DTB
1045	default "dts/kern.dtb"
1046	help
1047	  This file will auto be appended to the u-boot.bin.
1048
1049config EMBED_KERNEL_DTB_ALWAYS
1050	bool "Always using embedded kernel dtb"
1051	depends on EMBED_KERNEL_DTB && USING_KERNEL_DTB
1052	default n
1053	help
1054	  Allow fallback to always use a prepared kernel dtb even USING_KERNEL_DTB
1055	  is set. This makes U-Boot stage more stable but not flexible any more to
1056	  compatible different boards.
1057
1058config ROCKCHIP_CRC
1059	bool "Rockchip CRC verify images"
1060	help
1061	  This enable support Rockchip CRC verify images. It takes a lot of time,
1062	  so it is better only used for debug.
1063
1064config ROCKCHIP_SMCCC
1065	bool "Rockchip SMCCC"
1066	default y if ARM_SMCCC
1067	help
1068	  This enable support for Rockchip SMC calls
1069
1070config ROCKCHIP_DEBUGGER
1071	bool "Rockchip debugger"
1072	depends on IRQ
1073	help
1074	  This enable support for Rockchip debugger. Now we install a timer interrupt
1075	  and dump pt_regs when the timeout event trigger. This helps us to know cpu
1076	  state when system hang.
1077
1078config ROCKCHIP_CRASH_DUMP
1079	bool "Rockchip crash dump registers"
1080	help
1081	  This enable dump registers when system crash, the registers you would like
1082	  to dump can be added in show_regs().
1083
1084config ROCKCHIP_PRELOADER_ATAGS
1085	bool "Rockchip pre-loader atags"
1086	default y if ARCH_ROCKCHIP
1087	help
1088	  This enable support Rockchip atags among pre-loaders, i.e. ddr, miniloader, ATF,
1089	  tos, U-Boot, etc. It delivers boot and configure information, shared with pre-loaders
1090	  and finally ends with U-Boot.
1091
1092config ROCKCHIP_META
1093	bool "Rockchip Meta"
1094	depends on SPL_KERNEL_BOOT && SPL_LIBDISK_SUPPORT
1095	help
1096	  This support to load Rockchip meta data which like isp parameter, peripheral
1097	  parameters, etc.
1098
1099config ROCKCHIP_PRELOADER_SERIAL
1100	bool "Rockchip pre-loader serial"
1101	default y if ROCKCHIP_PRELOADER_ATAGS
1102	help
1103	  This enable U-Boot using pre-loader atags serial configure to initialize console.
1104	  It denpends on serial aliases to find pre-loader serial number.
1105
1106config ROCKCHIP_IMAGE_TINY
1107	bool "Rockchip tiny Image generation"
1108	default n
1109	help
1110	  This enable tiny image generation
1111
1112config ROCKCHIP_FIT_IMAGE_PACK
1113	bool "Rockchip fit image pack of U-Boot and TEE"
1114	depends on ROCKCHIP_FIT_IMAGE
1115	default n
1116	help
1117	  This enable fit image pack of U-Boot and TEE, it's used for make.sh script.
1118
1119config ROCKCHIP_UART_MUX_SEL_M
1120	int "UART mux select"
1121	default 0
1122	depends on TPL
1123	help
1124	  This select uart multiplexer for debug uart iomux in board_debug_uart_init.
1125
1126config ROCKCHIP_REBOOT_TEST
1127	bool "Rockchip reboot stress test before kernel"
1128	default n
1129	help
1130	  It's a reboot stress test before kernel stages.
1131
1132config ROCKCHIP_NEW_IDB
1133	bool "Rockchip new IDB header"
1134	default n
1135	help
1136	  The new IDB header was introduced from RK356X.
1137
1138config ROCKCHIP_HOTKEY
1139	bool "Rockchip hotkey"
1140	default y
1141	help
1142	  Define a lot of hotkeys for debug.
1143
1144config ROCKCHIP_CMD
1145	string "Rockchip specific command"
1146	default ""
1147	help
1148	  It defines a command to be run when the key is pressed if assigned.
1149	  String format: "cmd key".
1150	  @cmd: any U-Boot cmd.
1151	  @key: any key map id, '-' standard for ignore.
1152	  e.g. "sd_update 115", 115 is KEY_VOLUMEUP.
1153
1154config GICV2
1155	bool "ARM GICv2"
1156
1157config GICV3
1158	bool "ARM GICv3"
1159
1160config ROCKCHIP_EMMC_IOMUX
1161	bool "ROCKCHIP EMMC IOMUX"
1162	default n
1163	help
1164	  This enable U-Boot to config EMMC iomux.
1165
1166config ROCKCHIP_NAND_IOMUX
1167	bool "ROCKCHIP NAND IOMUX"
1168	default n
1169	help
1170	  This enable U-Boot to config NAND iomux.
1171
1172config ROCKCHIP_SFC_IOMUX
1173	bool "ROCKCHIP SFC IOMUX"
1174	default n
1175	help
1176	  This enable U-Boot to config SFC iomux.
1177
1178config ROCKCHIP_SET_SN
1179	bool "Rockchip set serial number"
1180	default y
1181
1182config ROCKCHIP_SET_ETHADDR
1183	bool "Rockchip set eth address"
1184	default y
1185
1186config BASE_DEFCONFIG
1187	string "Base defconfig of config fragment"
1188	default ""
1189	help
1190	  Indicate the base defconfig of config fragment.
1191
1192config CHIP_NAME
1193	string "Chip label name"
1194	default ""
1195
1196config LOADER_INI
1197	string "Name of Loader ini file in rkbin repository"
1198	default ""
1199	help
1200	  The ini file is used to pack loader image.
1201
1202config TRUST_INI
1203	string "Name of Trust ini file in rkbin repository"
1204	default ""
1205	help
1206	  The ini file is used to pack trust image.
1207
1208if !ROCKCHIP_FIT_IMAGE_PACK
1209config UBOOT_SIZE_KB
1210	int "Per u-boot.bin Image size, unit: KB"
1211	default 1024
1212
1213config UBOOT_NUM
1214	int "Number of u-boot.bin image being packed into trust.img"
1215	default 4
1216
1217config TRUST_SIZE_KB
1218	int "Per trust Image size, unit: KB"
1219	default 2048
1220
1221config TRUST_NUM
1222	int "Number of trust image being packed into trust.img"
1223	default 2
1224
1225config TRUST_RSA_MODE
1226	int "RSA mode of trust.img on ARM64"
1227	default 2
1228	help
1229	  The RSA mode for tools to pack, the mode id can be:
1230	  0: none; 1: RSA-1024; 2: RSA-2048; 3: RSA-2048-pss.
1231
1232config TRUST_SHA_MODE
1233	int "SHA mode of trust.img on ARM64"
1234	default 3
1235	help
1236	  The SHA mode for tools to pack, the mode id can be:
1237	  0: none; 1: sha1; 2: sha256 RK big endian; 3: sha256 little endian.
1238endif
1239
1240config PSTORE
1241	bool "Print log to linux pstore buffer"
1242	default n
1243	help
1244	  This enable Print uboot log to linux pstore buffer which address
1245	  is default 0x110000 for most soc.
1246
1247config PERSISTENT_RAM_ADDR
1248	hex "Linux pstore buffer address"
1249	default 0x0
1250	depends on PSTORE
1251	help
1252	  This select linux pstore buffer address for U-Boot. When value is
1253	  0, U-Boot auto gets this address from preloader atags.
1254
1255config PERSISTENT_RAM_SIZE
1256	hex "Linux pstore buffer size"
1257	default 0x0
1258	depends on (PERSISTENT_RAM_ADDR != 0)
1259	help
1260	  This select linux pstore buffer size for U-Boot, the value must be
1261	  set if PERSISTENT_RAM_ADDR != 0.
1262
1263config ROCKCHIP_MINIDUMP
1264	bool "Minidump Save Linux Debug Data To Ram Elf"
1265	default n
1266	help
1267	  This enable saving linux debug data to a reserved memory as a elf file.
1268
1269config ROCKCHIP_MINIDUMP_SMEM_BASE
1270	hex "The base of share memory between Uboot and Linux"
1271	default 0x1f0000
1272	depends on ROCKCHIP_MINIDUMP
1273	help
1274	  This select the base address of share memory, which is behind PSTORE.
1275
1276config ROCKCHIP_MINIDUMP_MAX_ELF_SIZE
1277	hex "The max size of minidump elf"
1278	default 0x2000000
1279	depends on ROCKCHIP_MINIDUMP
1280	help
1281	  This is used to judge the elf program size and section size.
1282
1283config ROCKCHIP_MINIDUMP_MAX_ENTRIES
1284	hex "The max entries of minidump region"
1285	default 0x200
1286	depends on ROCKCHIP_MINIDUMP
1287	help
1288	  This sets the max entries of minidump region.
1289
1290config SANITY_CPU_SWAP
1291	bool "Sanity cpu swap"
1292	help
1293	  This enale checking current cpu mpidr and kernel
1294	  dts cpu0 mpidr.
1295
1296source "arch/arm/mach-rockchip/px30/Kconfig"
1297source "arch/arm/mach-rockchip/rk3036/Kconfig"
1298source "arch/arm/mach-rockchip/rk3066/Kconfig"
1299source "arch/arm/mach-rockchip/rk3128/Kconfig"
1300source "arch/arm/mach-rockchip/rk3188/Kconfig"
1301source "arch/arm/mach-rockchip/rk322x/Kconfig"
1302source "arch/arm/mach-rockchip/rk3288/Kconfig"
1303source "arch/arm/mach-rockchip/rk3308/Kconfig"
1304source "arch/arm/mach-rockchip/rk3328/Kconfig"
1305source "arch/arm/mach-rockchip/rk3368/Kconfig"
1306source "arch/arm/mach-rockchip/rk3399/Kconfig"
1307source "arch/arm/mach-rockchip/rk3506/Kconfig"
1308source "arch/arm/mach-rockchip/rk3528/Kconfig"
1309source "arch/arm/mach-rockchip/rk3562/Kconfig"
1310source "arch/arm/mach-rockchip/rk3568/Kconfig"
1311source "arch/arm/mach-rockchip/rk3576/Kconfig"
1312source "arch/arm/mach-rockchip/rk3588/Kconfig"
1313source "arch/arm/mach-rockchip/rk1808/Kconfig"
1314source "arch/arm/mach-rockchip/rv1103b/Kconfig"
1315source "arch/arm/mach-rockchip/rv1106/Kconfig"
1316source "arch/arm/mach-rockchip/rv1108/Kconfig"
1317source "arch/arm/mach-rockchip/rv1126/Kconfig"
1318source "arch/arm/mach-rockchip/rv1126b/Kconfig"
1319
1320endif
1321