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