xref: /openbmc/u-boot/arch/arm/mach-uniphier/Kconfig (revision 91405b7f)
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
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 SYS_MALLOC_F
49	default y
50
51config CMD_PINMON
52	bool "Enable boot mode pins monitor command"
53	default y
54	help
55	  The command "pinmon" shows the state of the boot mode pins.
56	  The boot mode pins are latched when the system reset is deasserted
57	  and determine which device the system should load a boot image from.
58
59config CMD_DDRPHY_DUMP
60	bool "Enable dump command of DDR PHY parameters"
61	help
62	  The command "ddrphy" shows the resulting parameters of DDR PHY
63	  training; it is useful for the evaluation of DDR PHY training.
64
65choice
66	prompt "DDR3 Frequency select"
67
68config DDR_FREQ_1600
69	bool "DDR3 1600"
70	depends on MACH_PH1_PRO4 || MACH_PH1_LD4
71
72config DDR_FREQ_1333
73	bool "DDR3 1333"
74	depends on MACH_PH1_LD4 || MACH_PH1_SLD8
75
76endchoice
77
78config DDR_FREQ
79	int
80	default 1333 if DDR_FREQ_1333
81	default 1600 if DDR_FREQ_1600
82
83endmenu
84