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