blob: 011c6d9f2d6d561b86308a2d1bae757ec17e5273 [file] [log] [blame]
Masahiro Yamada82069432014-10-03 19:21:07 +09001menu "Panasonic UniPhier platform"
2 depends on ARCH_UNIPHIER
3
Masahiro Yamada82069432014-10-03 19:21:07 +09004config SYS_SOC
Masahiro Yamada82069432014-10-03 19:21:07 +09005 default "uniphier"
6
7config SYS_CONFIG_NAME
Masahiro Yamada82069432014-10-03 19:21:07 +09008 default "ph1_pro4" if MACH_PH1_PRO4
9 default "ph1_ld4" if MACH_PH1_LD4
10 default "ph1_sld8" if MACH_PH1_SLD8
11
12choice
13 prompt "UniPhier SoC select"
14
15config MACH_PH1_PRO4
16 bool "PH1-Pro4"
17
18config MACH_PH1_LD4
19 bool "PH1-LD4"
20
21config MACH_PH1_SLD8
22 bool "PH1-sLD8"
23
24endchoice
25
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +090026config 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
Masahiro Yamadab0c79042014-11-06 20:16:42 +090035config DRAM_INIT
36 bool
37 default SPL_BUILD
38
39choice
40 prompt "DDR3 Frequency select"
41 depends on DRAM_INIT
42
43config DDR_FREQ_1600
44 bool "DDR3 1600"
45 depends on MACH_PH1_PRO4 || MACH_PH1_LD4
46
47config DDR_FREQ_1333
48 bool "DDR3 1333"
49 depends on MACH_PH1_LD4 || MACH_PH1_SLD8
50
51endchoice
52
53config DDR_FREQ
54 int
55 default 1333 if DDR_FREQ_1333
56 default 1600 if DDR_FREQ_1600
57
Masahiro Yamada82069432014-10-03 19:21:07 +090058endmenu