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