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