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