blob: 1d96db21caeb705a19d8811f8547536c032406a6 [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 Yamada39c450d2014-12-06 00:03:21 +090030choice
31 prompt "UniPhier Support Card select"
32 optional
33
34config 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
42config 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
51endchoice
52
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +090053config 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
Masahiro Yamada05154a22014-11-11 22:18:22 +090062config SOC_INIT
63 bool
64 default SPL_BUILD
65
Masahiro Yamadab0c79042014-11-06 20:16:42 +090066config DRAM_INIT
67 bool
68 default SPL_BUILD
69
70choice
71 prompt "DDR3 Frequency select"
72 depends on DRAM_INIT
73
74config DDR_FREQ_1600
75 bool "DDR3 1600"
76 depends on MACH_PH1_PRO4 || MACH_PH1_LD4
77
78config DDR_FREQ_1333
79 bool "DDR3 1333"
80 depends on MACH_PH1_LD4 || MACH_PH1_SLD8
81
82endchoice
83
84config DDR_FREQ
85 int
86 default 1333 if DDR_FREQ_1333
87 default 1600 if DDR_FREQ_1600
88
Masahiro Yamada82069432014-10-03 19:21:07 +090089endmenu