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