xref: /openbmc/u-boot/arch/arm/mach-uniphier/Kconfig (revision 867a6ac8)
1if ARCH_UNIPHIER
2
3config SYS_CONFIG_NAME
4	default "uniphier"
5
6config UNIPHIER_SMP
7	bool
8
9choice
10	prompt "UniPhier SoC select"
11	default MACH_PH1_PRO4
12
13config MACH_PH1_SLD3
14	bool "PH1-sLD3"
15	select UNIPHIER_SMP
16
17config MACH_PH1_LD4
18	bool "PH1-LD4"
19
20config MACH_PH1_PRO4
21	bool "PH1-Pro4"
22	select UNIPHIER_SMP
23
24config MACH_PH1_SLD8
25	bool "PH1-sLD8"
26
27endchoice
28
29choice
30	prompt "UniPhier Support Card select"
31	optional
32
33config PFC_MICRO_SUPPORT_CARD
34	bool "Support card with PFC CPLD"
35	help
36	  This option provides support for the expansion board with PFC
37	  original address mapping.
38
39	  Say Y to use the on-board UART, Ether, LED devices.
40
41config DCC_MICRO_SUPPORT_CARD
42	bool "Support card with DCC CPLD"
43	help
44	  This option provides support for the expansion board with DCC-
45	  arranged address mapping that is compatible with legacy UniPhier
46	  reference boards.
47
48	  Say Y to use the on-board UART, Ether, LED devices.
49
50endchoice
51
52config CMD_PINMON
53	bool "Enable boot mode pins monitor command"
54	default y
55	help
56	  The command "pinmon" shows the state of the boot mode pins.
57	  The boot mode pins are latched when the system reset is deasserted
58	  and determine which device the system should load a boot image from.
59
60config CMD_DDRPHY_DUMP
61	bool "Enable dump command of DDR PHY parameters"
62	help
63	  The command "ddrphy" shows the resulting parameters of DDR PHY
64	  training; it is useful for the evaluation of DDR PHY training.
65
66choice
67	prompt "DDR3 Frequency select"
68
69config DDR_FREQ_1600
70	bool "DDR3 1600"
71	depends on MACH_PH1_SLD3 || MACH_PH1_LD4 || MACH_PH1_PRO4
72
73config DDR_FREQ_1333
74	bool "DDR3 1333"
75	depends on MACH_PH1_SLD3 || MACH_PH1_LD4 || MACH_PH1_SLD8
76
77endchoice
78
79config DDR_FREQ
80	int
81	default 1333 if DDR_FREQ_1333
82	default 1600 if DDR_FREQ_1600
83
84endif
85