blob: 7b49ad3b490d10aaf2a9d2948bb7307c79e032c9 [file] [log] [blame]
Masahiro Yamadab6ef3a32015-05-29 17:30:01 +09001if ARCH_UNIPHIER
Masahiro Yamada66cba042014-10-03 19:21:07 +09002
Masahiro Yamada66cba042014-10-03 19:21:07 +09003config SYS_CONFIG_NAME
Masahiro Yamadaf5d0b9b2014-12-06 00:03:22 +09004 default "uniphier"
Masahiro Yamada66cba042014-10-03 19:21:07 +09005
Masahiro Yamada84b35842014-12-06 00:03:20 +09006config UNIPHIER_SMP
7 bool
8
Masahiro Yamada66cba042014-10-03 19:21:07 +09009choice
10 prompt "UniPhier SoC select"
Masahiro Yamada7fff91f2015-05-29 17:30:06 +090011 default MACH_PH1_PRO4
Masahiro Yamada66cba042014-10-03 19:21:07 +090012
Masahiro Yamada3365b4e2015-07-21 14:04:22 +090013config MACH_PH1_SLD3
14 bool "PH1-sLD3"
Masahiro Yamada84b35842014-12-06 00:03:20 +090015 select UNIPHIER_SMP
Masahiro Yamada66cba042014-10-03 19:21:07 +090016
17config MACH_PH1_LD4
18 bool "PH1-LD4"
19
Masahiro Yamada3365b4e2015-07-21 14:04:22 +090020config MACH_PH1_PRO4
21 bool "PH1-Pro4"
22 select UNIPHIER_SMP
23
Masahiro Yamada66cba042014-10-03 19:21:07 +090024config MACH_PH1_SLD8
25 bool "PH1-sLD8"
26
27endchoice
28
Masahiro Yamada32014552014-12-06 00:03:21 +090029choice
30 prompt "UniPhier Support Card select"
31 optional
32
33config PFC_MICRO_SUPPORT_CARD
34 bool "Support card with PFC CPLD"
35 help
36 This option provides support for the expansion board with PFC
37 original address mapping.
38
39 Say Y to use the on-board UART, Ether, LED devices.
40
41config DCC_MICRO_SUPPORT_CARD
42 bool "Support card with DCC CPLD"
43 help
44 This option provides support for the expansion board with DCC-
45 arranged address mapping that is compatible with legacy UniPhier
46 reference boards.
47
48 Say Y to use the on-board UART, Ether, LED devices.
49
50endchoice
51
Masahiro Yamada59ca5532014-10-20 20:45:22 +090052config CMD_PINMON
53 bool "Enable boot mode pins monitor command"
Masahiro Yamada59ca5532014-10-20 20:45:22 +090054 default y
55 help
56 The command "pinmon" shows the state of the boot mode pins.
57 The boot mode pins are latched when the system reset is deasserted
58 and determine which device the system should load a boot image from.
59
Masahiro Yamadac67b2af2014-12-19 20:20:53 +090060config CMD_DDRPHY_DUMP
61 bool "Enable dump command of DDR PHY parameters"
Masahiro Yamadac67b2af2014-12-19 20:20:53 +090062 help
63 The command "ddrphy" shows the resulting parameters of DDR PHY
64 training; it is useful for the evaluation of DDR PHY training.
65
Masahiro Yamadaa69e0372014-11-06 20:16:42 +090066choice
67 prompt "DDR3 Frequency select"
Masahiro Yamadaa69e0372014-11-06 20:16:42 +090068
69config DDR_FREQ_1600
70 bool "DDR3 1600"
Masahiro Yamada3365b4e2015-07-21 14:04:22 +090071 depends on MACH_PH1_SLD3 || MACH_PH1_LD4 || MACH_PH1_PRO4
Masahiro Yamadaa69e0372014-11-06 20:16:42 +090072
73config DDR_FREQ_1333
74 bool "DDR3 1333"
Masahiro Yamada3365b4e2015-07-21 14:04:22 +090075 depends on MACH_PH1_SLD3 || MACH_PH1_LD4 || MACH_PH1_SLD8
Masahiro Yamadaa69e0372014-11-06 20:16:42 +090076
77endchoice
78
79config DDR_FREQ
80 int
81 default 1333 if DDR_FREQ_1333
82 default 1600 if DDR_FREQ_1600
83
Masahiro Yamadab6ef3a32015-05-29 17:30:01 +090084endif