blob: 28d574fbb806def2ff865beae8d380443d4d57b0 [file] [log] [blame]
Masahiro Yamada563ee4c2015-05-29 17:30:01 +09001if ARCH_UNIPHIER
Masahiro Yamada82069432014-10-03 19:21:07 +09002
Masahiro Yamada82069432014-10-03 19:21:07 +09003config SYS_CONFIG_NAME
Masahiro Yamada1e72b1c2014-12-06 00:03:22 +09004 default "uniphier"
Masahiro Yamada82069432014-10-03 19:21:07 +09005
Masahiro Yamadaa6185612014-12-06 00:03:20 +09006config UNIPHIER_SMP
7 bool
8
Masahiro Yamada82069432014-10-03 19:21:07 +09009choice
10 prompt "UniPhier SoC select"
Masahiro Yamadaa9458e72015-05-29 17:30:06 +090011 default MACH_PH1_PRO4
Masahiro Yamada82069432014-10-03 19:21:07 +090012
Masahiro Yamadafa714412015-07-21 14:04:22 +090013config MACH_PH1_SLD3
14 bool "PH1-sLD3"
Masahiro Yamadaa6185612014-12-06 00:03:20 +090015 select UNIPHIER_SMP
Masahiro Yamada82069432014-10-03 19:21:07 +090016
17config MACH_PH1_LD4
18 bool "PH1-LD4"
19
Masahiro Yamadafa714412015-07-21 14:04:22 +090020config MACH_PH1_PRO4
21 bool "PH1-Pro4"
22 select UNIPHIER_SMP
23
Masahiro Yamada82069432014-10-03 19:21:07 +090024config MACH_PH1_SLD8
25 bool "PH1-sLD8"
26
27endchoice
28
Masahiro Yamada4903b6d2015-09-11 20:17:45 +090029config MICRO_SUPPORT_CARD
30 bool "Use Micro Support Card"
Masahiro Yamada39c450d2014-12-06 00:03:21 +090031 help
Masahiro Yamada4903b6d2015-09-11 20:17:45 +090032 This option provides support for the expansion board, available
33 on some UniPhier reference boards.
Masahiro Yamada39c450d2014-12-06 00:03:21 +090034
35 Say Y to use the on-board UART, Ether, LED devices.
36
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +090037config CMD_PINMON
38 bool "Enable boot mode pins monitor command"
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +090039 default y
40 help
41 The command "pinmon" shows the state of the boot mode pins.
42 The boot mode pins are latched when the system reset is deasserted
43 and determine which device the system should load a boot image from.
44
Masahiro Yamada8f899ed2014-12-19 20:20:53 +090045config CMD_DDRPHY_DUMP
46 bool "Enable dump command of DDR PHY parameters"
Masahiro Yamada8f899ed2014-12-19 20:20:53 +090047 help
48 The command "ddrphy" shows the resulting parameters of DDR PHY
49 training; it is useful for the evaluation of DDR PHY training.
50
Masahiro Yamadab0c79042014-11-06 20:16:42 +090051choice
52 prompt "DDR3 Frequency select"
Masahiro Yamadab0c79042014-11-06 20:16:42 +090053
54config DDR_FREQ_1600
55 bool "DDR3 1600"
Masahiro Yamadafa714412015-07-21 14:04:22 +090056 depends on MACH_PH1_SLD3 || MACH_PH1_LD4 || MACH_PH1_PRO4
Masahiro Yamadab0c79042014-11-06 20:16:42 +090057
58config DDR_FREQ_1333
59 bool "DDR3 1333"
Masahiro Yamadafa714412015-07-21 14:04:22 +090060 depends on MACH_PH1_SLD3 || MACH_PH1_LD4 || MACH_PH1_SLD8
Masahiro Yamadab0c79042014-11-06 20:16:42 +090061
62endchoice
63
64config DDR_FREQ
65 int
66 default 1333 if DDR_FREQ_1333
67 default 1600 if DDR_FREQ_1600
68
Masahiro Yamada563ee4c2015-05-29 17:30:01 +090069endif