blob: 1a47ac90290940a8c301d262686843e33c85f660 [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 Yamada1e72b1c2014-12-06 00:03:22 +09008 default "uniphier"
Masahiro Yamada82069432014-10-03 19:21:07 +09009
Masahiro Yamadaa6185612014-12-06 00:03:20 +090010config UNIPHIER_SMP
11 bool
12
Masahiro Yamada82069432014-10-03 19:21:07 +090013choice
14 prompt "UniPhier SoC select"
15
16config MACH_PH1_PRO4
17 bool "PH1-Pro4"
Masahiro Yamadaa6185612014-12-06 00:03:20 +090018 select UNIPHIER_SMP
Masahiro Yamada82069432014-10-03 19:21:07 +090019
20config MACH_PH1_LD4
21 bool "PH1-LD4"
22
23config MACH_PH1_SLD8
24 bool "PH1-sLD8"
25
26endchoice
27
Masahiro Yamada39c450d2014-12-06 00:03:21 +090028choice
29 prompt "UniPhier Support Card select"
30 optional
31
32config PFC_MICRO_SUPPORT_CARD
33 bool "Support card with PFC CPLD"
34 help
35 This option provides support for the expansion board with PFC
36 original address mapping.
37
38 Say Y to use the on-board UART, Ether, LED devices.
39
40config DCC_MICRO_SUPPORT_CARD
41 bool "Support card with DCC CPLD"
42 help
43 This option provides support for the expansion board with DCC-
44 arranged address mapping that is compatible with legacy UniPhier
45 reference boards.
46
47 Say Y to use the on-board UART, Ether, LED devices.
48
49endchoice
50
Simon Glass838723b2015-02-11 16:32:59 -070051config SYS_MALLOC_F
52 default y
53
54config SYS_MALLOC_F_LEN
55 default 0x2000
56
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +090057config CMD_PINMON
58 bool "Enable boot mode pins monitor command"
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +090059 default y
60 help
61 The command "pinmon" shows the state of the boot mode pins.
62 The boot mode pins are latched when the system reset is deasserted
63 and determine which device the system should load a boot image from.
64
Masahiro Yamada8f899ed2014-12-19 20:20:53 +090065config CMD_DDRPHY_DUMP
66 bool "Enable dump command of DDR PHY parameters"
67 depends on !SPL_BUILD
68 help
69 The command "ddrphy" shows the resulting parameters of DDR PHY
70 training; it is useful for the evaluation of DDR PHY training.
71
Masahiro Yamadab0c79042014-11-06 20:16:42 +090072choice
73 prompt "DDR3 Frequency select"
Masahiro Yamada3cdae7b2015-02-05 14:42:58 +090074 depends on SPL_BUILD
Masahiro Yamadab0c79042014-11-06 20:16:42 +090075
76config DDR_FREQ_1600
77 bool "DDR3 1600"
78 depends on MACH_PH1_PRO4 || MACH_PH1_LD4
79
80config DDR_FREQ_1333
81 bool "DDR3 1333"
82 depends on MACH_PH1_LD4 || MACH_PH1_SLD8
83
84endchoice
85
86config DDR_FREQ
87 int
88 default 1333 if DDR_FREQ_1333
89 default 1600 if DDR_FREQ_1600
90
Masahiro Yamada82069432014-10-03 19:21:07 +090091endmenu