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