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