ARM: uniphier: rework UniPhier SoC select in Kconfig
[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 choice
7         prompt "UniPhier SoC select"
8         default ARCH_UNIPHIER_PH1_PRO4
9
10 config ARCH_UNIPHIER_PH1_SLD3
11         bool "UniPhier PH1-sLD3 SoC"
12
13 config ARCH_UNIPHIER_LD4_SLD8
14         bool "UniPhier PH1-LD4/PH1-sLD8 SoC"
15
16 config ARCH_UNIPHIER_PH1_PRO4
17         bool "UniPhier PH1-Pro4 SoC"
18
19 config ARCH_UNIPHIER_PRO5_PXS2_LD6B
20         bool "UniPhier PH1-Pro5/ProXstream2/PH1-LD6b SoC"
21
22 endchoice
23
24 config ARCH_UNIPHIER_PH1_LD4
25         bool "Enable UniPhier PH1-LD4 SoC support"
26         depends on ARCH_UNIPHIER_LD4_SLD8
27         default y
28
29 config ARCH_UNIPHIER_PH1_SLD8
30         bool "Enable UniPhier PH1-sLD8 SoC support"
31         depends on ARCH_UNIPHIER_LD4_SLD8
32         default y
33
34 config ARCH_UNIPHIER_PH1_PRO5
35         bool "Enable UniPhier PH1-Pro5 SoC support"
36         depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
37         default y
38
39 config ARCH_UNIPHIER_PROXSTREAM2
40         bool "Enable UniPhier ProXstream2 SoC support"
41         depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
42         default y
43
44 config ARCH_UNIPHIER_PH1_LD6B
45         bool "Enable UniPhier PH1-LD6b SoC support"
46         depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
47         default y
48
49 config MICRO_SUPPORT_CARD
50         bool "Use Micro Support Card"
51         help
52           This option provides support for the expansion board, available
53           on some UniPhier reference boards.
54
55           Say Y to use the on-board UART, Ether, LED devices.
56
57 config 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
65 config CMD_DDRPHY_DUMP
66         bool "Enable dump command of DDR PHY parameters"
67         depends on ARCH_UNIPHIER_PH1_LD4 || ARCH_UNIPHIER_PH1_PRO4 || \
68                    ARCH_UNIPHIER_PH1_SLD8
69         help
70           The command "ddrphy" shows the resulting parameters of DDR PHY
71           training; it is useful for the evaluation of DDR PHY training.
72
73 config CMD_DDRMPHY_DUMP
74         bool "Enable dump command of DDR Multi PHY parameters"
75         depends on ARCH_UNIPHIER_PROXSTREAM2 || ARCH_UNIPHIER_PH1_LD6B
76         help
77           The command "ddrmphy" shows the resulting parameters of DDR Multi PHY
78           training; it is useful for the evaluation of DDR Multi PHY training.
79
80 endif