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