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