blob: feda49e0a69fad06db12cfb741a6e191dd590dfa [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
13config MACH_PH1_PRO4
14 bool "PH1-Pro4"
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
20config MACH_PH1_SLD8
21 bool "PH1-sLD8"
22
23endchoice
24
Masahiro Yamada39c450d2014-12-06 00:03:21 +090025choice
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
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +090048config CMD_PINMON
49 bool "Enable boot mode pins monitor command"
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +090050 default y
51 help
52 The command "pinmon" shows the state of the boot mode pins.
53 The boot mode pins are latched when the system reset is deasserted
54 and determine which device the system should load a boot image from.
55
Masahiro Yamada8f899ed2014-12-19 20:20:53 +090056config CMD_DDRPHY_DUMP
57 bool "Enable dump command of DDR PHY parameters"
Masahiro Yamada8f899ed2014-12-19 20:20:53 +090058 help
59 The command "ddrphy" shows the resulting parameters of DDR PHY
60 training; it is useful for the evaluation of DDR PHY training.
61
Masahiro Yamadab0c79042014-11-06 20:16:42 +090062choice
63 prompt "DDR3 Frequency select"
Masahiro Yamadab0c79042014-11-06 20:16:42 +090064
65config DDR_FREQ_1600
66 bool "DDR3 1600"
67 depends on MACH_PH1_PRO4 || MACH_PH1_LD4
68
69config DDR_FREQ_1333
70 bool "DDR3 1333"
71 depends on MACH_PH1_LD4 || MACH_PH1_SLD8
72
73endchoice
74
75config DDR_FREQ
76 int
77 default 1333 if DDR_FREQ_1333
78 default 1600 if DDR_FREQ_1600
79
Masahiro Yamada563ee4c2015-05-29 17:30:01 +090080endif