]> git.sur5r.net Git - u-boot/blob - arch/arm/cpu/armv7/uniphier/Kconfig
ARM: UniPhier: move DDR related configuration 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 choice
13         prompt "UniPhier SoC select"
14
15 config MACH_PH1_PRO4
16         bool "PH1-Pro4"
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 config CMD_PINMON
27         bool "Enable boot mode pins monitor command"
28         depends on !SPL_BUILD
29         default y
30         help
31           The command "pinmon" shows the state of the boot mode pins.
32           The boot mode pins are latched when the system reset is deasserted
33           and determine which device the system should load a boot image from.
34
35 config DRAM_INIT
36         bool
37         default SPL_BUILD
38
39 choice
40         prompt "DDR3 Frequency select"
41         depends on DRAM_INIT
42
43 config DDR_FREQ_1600
44         bool "DDR3 1600"
45         depends on MACH_PH1_PRO4 || MACH_PH1_LD4
46
47 config DDR_FREQ_1333
48         bool "DDR3 1333"
49         depends on MACH_PH1_LD4 || MACH_PH1_SLD8
50
51 endchoice
52
53 config DDR_FREQ
54         int
55         default 1333 if DDR_FREQ_1333
56         default 1600 if DDR_FREQ_1600
57
58 endmenu