]> git.kernelconcepts.de Git - karo-tx-uboot.git/blob - arch/arm/mach-uniphier/Kconfig
arch: Make board selection choices optional
[karo-tx-uboot.git] / arch / arm / mach-uniphier / Kconfig
1 menu "Panasonic UniPhier platform"
2         depends on ARCH_UNIPHIER
3
4 config SYS_CONFIG_NAME
5         default "uniphier"
6
7 config UNIPHIER_SMP
8         bool
9
10 choice
11         prompt "UniPhier SoC select"
12         optional
13
14 config MACH_PH1_PRO4
15         bool "PH1-Pro4"
16         select UNIPHIER_SMP
17
18 config MACH_PH1_LD4
19         bool "PH1-LD4"
20
21 config MACH_PH1_SLD8
22         bool "PH1-sLD8"
23
24 endchoice
25
26 choice
27         prompt "UniPhier Support Card select"
28         optional
29
30 config PFC_MICRO_SUPPORT_CARD
31         bool "Support card with PFC CPLD"
32         help
33           This option provides support for the expansion board with PFC
34           original address mapping.
35
36           Say Y to use the on-board UART, Ether, LED devices.
37
38 config DCC_MICRO_SUPPORT_CARD
39         bool "Support card with DCC CPLD"
40         help
41           This option provides support for the expansion board with DCC-
42           arranged address mapping that is compatible with legacy UniPhier
43           reference boards.
44
45           Say Y to use the on-board UART, Ether, LED devices.
46
47 endchoice
48
49 config CMD_PINMON
50         bool "Enable boot mode pins monitor command"
51         default y
52         help
53           The command "pinmon" shows the state of the boot mode pins.
54           The boot mode pins are latched when the system reset is deasserted
55           and determine which device the system should load a boot image from.
56
57 config CMD_DDRPHY_DUMP
58         bool "Enable dump command of DDR PHY parameters"
59         help
60           The command "ddrphy" shows the resulting parameters of DDR PHY
61           training; it is useful for the evaluation of DDR PHY training.
62
63 choice
64         prompt "DDR3 Frequency select"
65
66 config DDR_FREQ_1600
67         bool "DDR3 1600"
68         depends on MACH_PH1_PRO4 || MACH_PH1_LD4
69
70 config DDR_FREQ_1333
71         bool "DDR3 1333"
72         depends on MACH_PH1_LD4 || MACH_PH1_SLD8
73
74 endchoice
75
76 config DDR_FREQ
77         int
78         default 1333 if DDR_FREQ_1333
79         default 1600 if DDR_FREQ_1600
80
81 endmenu