blob: 89be0b3bd74eb3c1366a25c175f54b6def3e8299 [file] [log] [blame]
Masahiro Yamada563ee4c2015-05-29 17:30:01 +09001if ARCH_UNIPHIER
Masahiro Yamada82069432014-10-03 19:21:07 +09002
Masahiro Yamada82069432014-10-03 19:21:07 +09003config SYS_CONFIG_NAME
Masahiro Yamada1e72b1c2014-12-06 00:03:22 +09004 default "uniphier"
Masahiro Yamada82069432014-10-03 19:21:07 +09005
Masahiro Yamada74b79f82016-06-17 19:24:27 +09006config ARCH_UNIPHIER_32BIT
7 bool
8 select CPU_V7
9
10config ARCH_UNIPHIER_64BIT
11 bool
12 select ARM64
13 select SPL_SEPARATE_BSS
Masahiro Yamada3a0850d2016-06-17 19:24:28 +090014 select ARMV8_MULTIENTRY
Masahiro Yamada74b79f82016-06-17 19:24:27 +090015
Masahiro Yamada89c0b152016-02-26 18:59:42 +090016choice
17 prompt "UniPhier SoC select"
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090018 default ARCH_UNIPHIER_PRO4
Masahiro Yamada89c0b152016-02-26 18:59:42 +090019
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090020config ARCH_UNIPHIER_SLD3
Masahiro Yamada75f16f82015-09-22 00:27:39 +090021 bool "UniPhier PH1-sLD3 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090022 select ARCH_UNIPHIER_32BIT
Masahiro Yamada82069432014-10-03 19:21:07 +090023
Masahiro Yamada89c0b152016-02-26 18:59:42 +090024config ARCH_UNIPHIER_LD4_SLD8
25 bool "UniPhier PH1-LD4/PH1-sLD8 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090026 select ARCH_UNIPHIER_32BIT
Masahiro Yamada82069432014-10-03 19:21:07 +090027
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090028config ARCH_UNIPHIER_PRO4
Masahiro Yamada75f16f82015-09-22 00:27:39 +090029 bool "UniPhier PH1-Pro4 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090030 select ARCH_UNIPHIER_32BIT
Masahiro Yamada89c0b152016-02-26 18:59:42 +090031
32config ARCH_UNIPHIER_PRO5_PXS2_LD6B
33 bool "UniPhier PH1-Pro5/ProXstream2/PH1-LD6b SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090034 select ARCH_UNIPHIER_32BIT
Masahiro Yamada89c0b152016-02-26 18:59:42 +090035
Masahiro Yamada8bbbcbd2016-05-24 21:14:01 +090036config ARCH_UNIPHIER_LD11
37 bool "UniPhier PH1-LD11 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090038 select ARCH_UNIPHIER_64BIT
Masahiro Yamada8bbbcbd2016-05-24 21:14:01 +090039
Masahiro Yamada063eb1e2016-04-21 14:43:18 +090040config ARCH_UNIPHIER_LD20
41 bool "UniPhier PH1-LD20 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090042 select ARCH_UNIPHIER_64BIT
Masahiro Yamada063eb1e2016-04-21 14:43:18 +090043
Masahiro Yamada89c0b152016-02-26 18:59:42 +090044endchoice
45
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090046config ARCH_UNIPHIER_LD4
Masahiro Yamada89c0b152016-02-26 18:59:42 +090047 bool "Enable UniPhier PH1-LD4 SoC support"
48 depends on ARCH_UNIPHIER_LD4_SLD8
49 default y
Masahiro Yamadafa714412015-07-21 14:04:22 +090050
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090051config ARCH_UNIPHIER_SLD8
Masahiro Yamada89c0b152016-02-26 18:59:42 +090052 bool "Enable UniPhier PH1-sLD8 SoC support"
53 depends on ARCH_UNIPHIER_LD4_SLD8
54 default y
Masahiro Yamada82069432014-10-03 19:21:07 +090055
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090056config ARCH_UNIPHIER_PRO5
Masahiro Yamada89c0b152016-02-26 18:59:42 +090057 bool "Enable UniPhier PH1-Pro5 SoC support"
58 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
59 default y
Masahiro Yamadad5167d52015-09-22 00:27:40 +090060
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090061config ARCH_UNIPHIER_PXS2
Masahiro Yamada89c0b152016-02-26 18:59:42 +090062 bool "Enable UniPhier ProXstream2 SoC support"
63 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
64 default y
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090065
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090066config ARCH_UNIPHIER_LD6B
Masahiro Yamada89c0b152016-02-26 18:59:42 +090067 bool "Enable UniPhier PH1-LD6b SoC support"
68 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
69 default y
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090070
Masahiro Yamada4903b6d2015-09-11 20:17:45 +090071config MICRO_SUPPORT_CARD
72 bool "Use Micro Support Card"
Masahiro Yamada39c450d2014-12-06 00:03:21 +090073 help
Masahiro Yamada4903b6d2015-09-11 20:17:45 +090074 This option provides support for the expansion board, available
75 on some UniPhier reference boards.
Masahiro Yamada39c450d2014-12-06 00:03:21 +090076
77 Say Y to use the on-board UART, Ether, LED devices.
78
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +090079config CMD_PINMON
80 bool "Enable boot mode pins monitor command"
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +090081 default y
82 help
83 The command "pinmon" shows the state of the boot mode pins.
84 The boot mode pins are latched when the system reset is deasserted
85 and determine which device the system should load a boot image from.
86
Masahiro Yamada8f899ed2014-12-19 20:20:53 +090087config CMD_DDRPHY_DUMP
88 bool "Enable dump command of DDR PHY parameters"
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090089 depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || ARCH_UNIPHIER_SLD8
Masahiro Yamada6e3de882016-03-18 16:41:47 +090090 default y
Masahiro Yamada8f899ed2014-12-19 20:20:53 +090091 help
92 The command "ddrphy" shows the resulting parameters of DDR PHY
93 training; it is useful for the evaluation of DDR PHY training.
94
Masahiro Yamadabfffa2c2016-01-09 01:51:15 +090095config CMD_DDRMPHY_DUMP
96 bool "Enable dump command of DDR Multi PHY parameters"
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090097 depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B
Masahiro Yamada6e3de882016-03-18 16:41:47 +090098 default y
Masahiro Yamadabfffa2c2016-01-09 01:51:15 +090099 help
100 The command "ddrmphy" shows the resulting parameters of DDR Multi PHY
101 training; it is useful for the evaluation of DDR Multi PHY training.
102
Masahiro Yamada563ee4c2015-05-29 17:30:01 +0900103endif