sunxi: Tune H3 DRAM PLL to improve lock time
[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         default y
79         help
80           This option allows to use the UniPhier System Cache as L2 cache.
81
82 config MICRO_SUPPORT_CARD
83         bool "Use Micro Support Card"
84         help
85           This option provides support for the expansion board, available
86           on some UniPhier reference boards.
87
88           Say Y to use the on-board UART, Ether, LED devices.
89
90 config CMD_PINMON
91         bool "Enable boot mode pins monitor command"
92         default y
93         help
94           The command "pinmon" shows the state of the boot mode pins.
95           The boot mode pins are latched when the system reset is deasserted
96           and determine which device the system should load a boot image from.
97
98 config CMD_DDRPHY_DUMP
99         bool "Enable dump command of DDR PHY parameters"
100         depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || ARCH_UNIPHIER_SLD8
101         default y
102         help
103           The command "ddrphy" shows the resulting parameters of DDR PHY
104           training; it is useful for the evaluation of DDR PHY training.
105
106 config CMD_DDRMPHY_DUMP
107         bool "Enable dump command of DDR Multi PHY parameters"
108         depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B
109         default y
110         help
111           The command "ddrmphy" shows the resulting parameters of DDR Multi PHY
112           training; it is useful for the evaluation of DDR Multi PHY training.
113
114 endif