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