xref: /rk3399_rockchip-uboot/arch/arm/mach-uniphier/Kconfig (revision cc4288ef42be5bf70e7dc0fa5eb977cb4a6e894e)
1if ARCH_UNIPHIER
2
3config SPL_LIBCOMMON_SUPPORT
4	default y
5
6config SPL_LIBGENERIC_SUPPORT
7	default y
8
9config SYS_CONFIG_NAME
10	default "uniphier"
11
12config ARCH_UNIPHIER_32BIT
13	bool
14	select CPU_V7
15	select CPU_V7_HAS_NONSEC
16	select ARMV7_NONSEC
17	select ARCH_SUPPORT_PSCI
18
19config ARCH_UNIPHIER_64BIT
20	bool
21	select ARM64
22	select SPL_SEPARATE_BSS
23	select ARMV8_MULTIENTRY
24	select ARMV8_SPIN_TABLE
25
26choice
27        prompt "UniPhier SoC select"
28        default ARCH_UNIPHIER_PRO4
29
30config ARCH_UNIPHIER_SLD3
31	bool "UniPhier PH1-sLD3 SoC"
32	select ARCH_UNIPHIER_32BIT
33
34config ARCH_UNIPHIER_LD4_SLD8
35	bool "UniPhier PH1-LD4/PH1-sLD8 SoC"
36	select ARCH_UNIPHIER_32BIT
37
38config ARCH_UNIPHIER_PRO4
39	bool "UniPhier PH1-Pro4 SoC"
40	select ARCH_UNIPHIER_32BIT
41
42config ARCH_UNIPHIER_PRO5_PXS2_LD6B
43	bool "UniPhier PH1-Pro5/ProXstream2/PH1-LD6b SoC"
44	select ARCH_UNIPHIER_32BIT
45
46config ARCH_UNIPHIER_LD11
47	bool "UniPhier PH1-LD11 SoC"
48	select ARCH_UNIPHIER_64BIT
49
50config ARCH_UNIPHIER_LD20
51	bool "UniPhier PH1-LD20 SoC"
52	select ARCH_UNIPHIER_64BIT
53	select OF_BOARD_SETUP
54
55endchoice
56
57config ARCH_UNIPHIER_LD4
58	bool "Enable UniPhier PH1-LD4 SoC support"
59	depends on ARCH_UNIPHIER_LD4_SLD8
60	default y
61
62config ARCH_UNIPHIER_SLD8
63	bool "Enable UniPhier PH1-sLD8 SoC support"
64	depends on ARCH_UNIPHIER_LD4_SLD8
65	default y
66
67config ARCH_UNIPHIER_PRO5
68	bool "Enable UniPhier PH1-Pro5 SoC support"
69	depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
70	default y
71
72config ARCH_UNIPHIER_PXS2
73	bool "Enable UniPhier ProXstream2 SoC support"
74	depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
75	default y
76
77config ARCH_UNIPHIER_LD6B
78	bool "Enable UniPhier PH1-LD6b SoC support"
79	depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
80	default y
81
82config CACHE_UNIPHIER
83	bool "Enable the UniPhier L2 cache controller"
84	depends on ARCH_UNIPHIER_32BIT
85	select SYS_CACHE_SHIFT_7
86	default y
87	help
88	  This option allows to use the UniPhier System Cache as L2 cache.
89
90config MICRO_SUPPORT_CARD
91	bool "Use Micro Support Card"
92	help
93	  This option provides support for the expansion board, available
94	  on some UniPhier reference boards.
95
96	  Say Y to use the on-board UART, Ether, LED devices.
97
98config CMD_PINMON
99	bool "Enable boot mode pins monitor command"
100	default y
101	help
102	  The command "pinmon" shows the state of the boot mode pins.
103	  The boot mode pins are latched when the system reset is deasserted
104	  and determine which device the system should load a boot image from.
105
106config CMD_DDRPHY_DUMP
107	bool "Enable dump command of DDR PHY parameters"
108	depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || ARCH_UNIPHIER_SLD8
109	default y
110	help
111	  The command "ddrphy" shows the resulting parameters of DDR PHY
112	  training; it is useful for the evaluation of DDR PHY training.
113
114config CMD_DDRMPHY_DUMP
115	bool "Enable dump command of DDR Multi PHY parameters"
116	depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B
117	default y
118	help
119	  The command "ddrmphy" shows the resulting parameters of DDR Multi PHY
120	  training; it is useful for the evaluation of DDR Multi PHY training.
121
122endif
123