28d574fbb806def2ff865beae8d380443d4d57b0
[platform/kernel/u-boot.git] / arch / arm / mach-uniphier / Kconfig
1 if ARCH_UNIPHIER
2
3 config SYS_CONFIG_NAME
4         default "uniphier"
5
6 config UNIPHIER_SMP
7         bool
8
9 choice
10         prompt "UniPhier SoC select"
11         default MACH_PH1_PRO4
12
13 config MACH_PH1_SLD3
14         bool "PH1-sLD3"
15         select UNIPHIER_SMP
16
17 config MACH_PH1_LD4
18         bool "PH1-LD4"
19
20 config MACH_PH1_PRO4
21         bool "PH1-Pro4"
22         select UNIPHIER_SMP
23
24 config MACH_PH1_SLD8
25         bool "PH1-sLD8"
26
27 endchoice
28
29 config MICRO_SUPPORT_CARD
30         bool "Use Micro Support Card"
31         help
32           This option provides support for the expansion board, available
33           on some UniPhier reference boards.
34
35           Say Y to use the on-board UART, Ether, LED devices.
36
37 config CMD_PINMON
38         bool "Enable boot mode pins monitor command"
39         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
45 config CMD_DDRPHY_DUMP
46         bool "Enable dump command of DDR PHY parameters"
47         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
51 choice
52         prompt "DDR3 Frequency select"
53
54 config DDR_FREQ_1600
55         bool "DDR3 1600"
56         depends on MACH_PH1_SLD3 || MACH_PH1_LD4 || MACH_PH1_PRO4
57
58 config DDR_FREQ_1333
59         bool "DDR3 1333"
60         depends on MACH_PH1_SLD3 || MACH_PH1_LD4 || MACH_PH1_SLD8
61
62 endchoice
63
64 config DDR_FREQ
65         int
66         default 1333 if DDR_FREQ_1333
67         default 1600 if DDR_FREQ_1600
68
69 endif