ARM: uniphier: introduce CONFIG_ARM_UNIPHIER_{32, 64}BIT
[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 ARCH_UNIPHIER_32BIT
7         bool
8         select CPU_V7
9
10 config ARCH_UNIPHIER_64BIT
11         bool
12         select ARM64
13         select SPL_SEPARATE_BSS
14
15 choice
16         prompt "UniPhier SoC select"
17         default ARCH_UNIPHIER_PRO4
18
19 config ARCH_UNIPHIER_SLD3
20         bool "UniPhier PH1-sLD3 SoC"
21         select ARCH_UNIPHIER_32BIT
22
23 config ARCH_UNIPHIER_LD4_SLD8
24         bool "UniPhier PH1-LD4/PH1-sLD8 SoC"
25         select ARCH_UNIPHIER_32BIT
26
27 config ARCH_UNIPHIER_PRO4
28         bool "UniPhier PH1-Pro4 SoC"
29         select ARCH_UNIPHIER_32BIT
30
31 config ARCH_UNIPHIER_PRO5_PXS2_LD6B
32         bool "UniPhier PH1-Pro5/ProXstream2/PH1-LD6b SoC"
33         select ARCH_UNIPHIER_32BIT
34
35 config ARCH_UNIPHIER_LD11
36         bool "UniPhier PH1-LD11 SoC"
37         select ARCH_UNIPHIER_64BIT
38
39 config ARCH_UNIPHIER_LD20
40         bool "UniPhier PH1-LD20 SoC"
41         select ARCH_UNIPHIER_64BIT
42
43 endchoice
44
45 config ARCH_UNIPHIER_LD4
46         bool "Enable UniPhier PH1-LD4 SoC support"
47         depends on ARCH_UNIPHIER_LD4_SLD8
48         default y
49
50 config ARCH_UNIPHIER_SLD8
51         bool "Enable UniPhier PH1-sLD8 SoC support"
52         depends on ARCH_UNIPHIER_LD4_SLD8
53         default y
54
55 config ARCH_UNIPHIER_PRO5
56         bool "Enable UniPhier PH1-Pro5 SoC support"
57         depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
58         default y
59
60 config ARCH_UNIPHIER_PXS2
61         bool "Enable UniPhier ProXstream2 SoC support"
62         depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
63         default y
64
65 config ARCH_UNIPHIER_LD6B
66         bool "Enable UniPhier PH1-LD6b SoC support"
67         depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
68         default y
69
70 config MICRO_SUPPORT_CARD
71         bool "Use Micro Support Card"
72         help
73           This option provides support for the expansion board, available
74           on some UniPhier reference boards.
75
76           Say Y to use the on-board UART, Ether, LED devices.
77
78 config CMD_PINMON
79         bool "Enable boot mode pins monitor command"
80         default y
81         help
82           The command "pinmon" shows the state of the boot mode pins.
83           The boot mode pins are latched when the system reset is deasserted
84           and determine which device the system should load a boot image from.
85
86 config CMD_DDRPHY_DUMP
87         bool "Enable dump command of DDR PHY parameters"
88         depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || ARCH_UNIPHIER_SLD8
89         default y
90         help
91           The command "ddrphy" shows the resulting parameters of DDR PHY
92           training; it is useful for the evaluation of DDR PHY training.
93
94 config CMD_DDRMPHY_DUMP
95         bool "Enable dump command of DDR Multi PHY parameters"
96         depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B
97         default y
98         help
99           The command "ddrmphy" shows the resulting parameters of DDR Multi PHY
100           training; it is useful for the evaluation of DDR Multi PHY training.
101
102 endif