xref: /openbmc/u-boot/arch/arm/mach-uniphier/Kconfig (revision 679590eb)
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
13choice
14        prompt "UniPhier SoC select"
15        default ARCH_UNIPHIER_PRO4
16
17config ARCH_UNIPHIER_SLD3
18	bool "UniPhier sLD3 SoC"
19	select ARCH_UNIPHIER_32BIT
20
21config ARCH_UNIPHIER_LD4_SLD8
22	bool "UniPhier LD4/sLD8 SoCs"
23	select ARCH_UNIPHIER_32BIT
24
25config ARCH_UNIPHIER_PRO4
26	bool "UniPhier Pro4 SoC"
27	select ARCH_UNIPHIER_32BIT
28
29config ARCH_UNIPHIER_PRO5_PXS2_LD6B
30	bool "UniPhier Pro5/PXs2/LD6b SoCs"
31	select ARCH_UNIPHIER_32BIT
32
33config ARCH_UNIPHIER_V8_MULTI
34	bool "UniPhier V8 SoCs"
35	depends on !SPL
36	select ARM64
37	select CMD_UNZIP
38
39endchoice
40
41config ARCH_UNIPHIER_LD4
42	bool "Enable UniPhier LD4 SoC support"
43	depends on ARCH_UNIPHIER_LD4_SLD8
44	default y
45
46config ARCH_UNIPHIER_SLD8
47	bool "Enable UniPhier sLD8 SoC support"
48	depends on ARCH_UNIPHIER_LD4_SLD8
49	default y
50
51config ARCH_UNIPHIER_PRO5
52	bool "Enable UniPhier Pro5 SoC support"
53	depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
54	default y
55
56config ARCH_UNIPHIER_PXS2
57	bool "Enable UniPhier Pxs2 SoC support"
58	depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
59	default y
60
61config ARCH_UNIPHIER_LD6B
62	bool "Enable UniPhier LD6b SoC support"
63	depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
64	default y
65
66config ARCH_UNIPHIER_LD11
67	bool "Enable UniPhier LD11 SoC support"
68	depends on ARCH_UNIPHIER_V8_MULTI
69	default y
70
71config ARCH_UNIPHIER_LD20
72	bool "Enable UniPhier LD20 SoC support"
73	depends on ARCH_UNIPHIER_V8_MULTI
74	select OF_BOARD_SETUP
75	default y
76
77config ARCH_UNIPHIER_PXS3
78	bool "Enable UniPhier PXs3 SoC support"
79	depends on ARCH_UNIPHIER_V8_MULTI
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 || \
109		ARCH_UNIPHIER_SLD8 || ARCH_UNIPHIER_LD11
110	default y
111	help
112	  The command "ddrphy" shows the resulting parameters of DDR PHY
113	  training; it is useful for the evaluation of DDR PHY training.
114
115config CMD_DDRMPHY_DUMP
116	bool "Enable dump command of DDR Multi PHY parameters"
117	depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B
118	default y
119	help
120	  The command "ddrmphy" shows the resulting parameters of DDR Multi PHY
121	  training; it is useful for the evaluation of DDR Multi PHY training.
122
123endif
124