blob: 31a03d92928443d34303148584e1ebe503b6273f [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
Masahiro Yamadaa6185612014-12-06 00:03:20 +090012config UNIPHIER_SMP
13 bool
14
Masahiro Yamada82069432014-10-03 19:21:07 +090015choice
16 prompt "UniPhier SoC select"
17
18config MACH_PH1_PRO4
19 bool "PH1-Pro4"
Masahiro Yamadaa6185612014-12-06 00:03:20 +090020 select UNIPHIER_SMP
Masahiro Yamada82069432014-10-03 19:21:07 +090021
22config MACH_PH1_LD4
23 bool "PH1-LD4"
24
25config MACH_PH1_SLD8
26 bool "PH1-sLD8"
27
28endchoice
29
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +090030config CMD_PINMON
31 bool "Enable boot mode pins monitor command"
32 depends on !SPL_BUILD
33 default y
34 help
35 The command "pinmon" shows the state of the boot mode pins.
36 The boot mode pins are latched when the system reset is deasserted
37 and determine which device the system should load a boot image from.
38
Masahiro Yamada05154a22014-11-11 22:18:22 +090039config SOC_INIT
40 bool
41 default SPL_BUILD
42
Masahiro Yamadab0c79042014-11-06 20:16:42 +090043config DRAM_INIT
44 bool
45 default SPL_BUILD
46
47choice
48 prompt "DDR3 Frequency select"
49 depends on DRAM_INIT
50
51config DDR_FREQ_1600
52 bool "DDR3 1600"
53 depends on MACH_PH1_PRO4 || MACH_PH1_LD4
54
55config DDR_FREQ_1333
56 bool "DDR3 1333"
57 depends on MACH_PH1_LD4 || MACH_PH1_SLD8
58
59endchoice
60
61config DDR_FREQ
62 int
63 default 1333 if DDR_FREQ_1333
64 default 1600 if DDR_FREQ_1600
65
Masahiro Yamada82069432014-10-03 19:21:07 +090066endmenu