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