blob: 5739325da71b91004a4b168970647525120670c7 [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
Masahiro Yamada0ae5c5a2016-08-10 16:08:49 +09009 select CPU_V7_HAS_NONSEC
10 select ARMV7_NONSEC
Masahiro Yamadad5415b22016-08-30 16:22:22 +090011 select ARCH_SUPPORT_PSCI
Masahiro Yamada74b79f82016-06-17 19:24:27 +090012
13config ARCH_UNIPHIER_64BIT
14 bool
15 select ARM64
Masahiro Yamada2737fd32017-02-05 10:42:56 +090016 select CMD_UNZIP
Masahiro Yamadadabee242017-01-21 18:05:22 +090017 select SPL_SEPARATE_BSS if SPL
18 select ARMV8_MULTIENTRY if SPL
19 select ARMV8_SPIN_TABLE if SPL
Masahiro Yamada74b79f82016-06-17 19:24:27 +090020
Masahiro Yamada89c0b152016-02-26 18:59:42 +090021choice
22 prompt "UniPhier SoC select"
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090023 default ARCH_UNIPHIER_PRO4
Masahiro Yamada89c0b152016-02-26 18:59:42 +090024
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090025config ARCH_UNIPHIER_SLD3
Masahiro Yamadadabee242017-01-21 18:05:22 +090026 bool "UniPhier sLD3 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090027 select ARCH_UNIPHIER_32BIT
Masahiro Yamada82069432014-10-03 19:21:07 +090028
Masahiro Yamada89c0b152016-02-26 18:59:42 +090029config ARCH_UNIPHIER_LD4_SLD8
Masahiro Yamadadabee242017-01-21 18:05:22 +090030 bool "UniPhier LD4/sLD8 SoCs"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090031 select ARCH_UNIPHIER_32BIT
Masahiro Yamada82069432014-10-03 19:21:07 +090032
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090033config ARCH_UNIPHIER_PRO4
Masahiro Yamadadabee242017-01-21 18:05:22 +090034 bool "UniPhier Pro4 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090035 select ARCH_UNIPHIER_32BIT
Masahiro Yamada89c0b152016-02-26 18:59:42 +090036
37config ARCH_UNIPHIER_PRO5_PXS2_LD6B
Masahiro Yamadadabee242017-01-21 18:05:22 +090038 bool "UniPhier Pro5/PXs2/LD6b SoCs"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090039 select ARCH_UNIPHIER_32BIT
Masahiro Yamada89c0b152016-02-26 18:59:42 +090040
Masahiro Yamadadabee242017-01-21 18:05:22 +090041config ARCH_UNIPHIER_LD11_SINGLE
42 bool "UniPhier LD11 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090043 select ARCH_UNIPHIER_64BIT
Masahiro Yamada8bbbcbd2016-05-24 21:14:01 +090044
Masahiro Yamadadabee242017-01-21 18:05:22 +090045config ARCH_UNIPHIER_LD20_SINGLE
46 bool "UniPhier LD20 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090047 select ARCH_UNIPHIER_64BIT
Masahiro Yamadadabee242017-01-21 18:05:22 +090048
49config ARCH_UNIPHIER_V8_MULTI
50 bool "UniPhier V8 SoCs"
51 depends on !SPL
52 select ARCH_UNIPHIER_64BIT
Masahiro Yamada063eb1e2016-04-21 14:43:18 +090053
Masahiro Yamada89c0b152016-02-26 18:59:42 +090054endchoice
55
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090056config ARCH_UNIPHIER_LD4
Masahiro Yamadadabee242017-01-21 18:05:22 +090057 bool "Enable UniPhier LD4 SoC support"
Masahiro Yamada89c0b152016-02-26 18:59:42 +090058 depends on ARCH_UNIPHIER_LD4_SLD8
59 default y
Masahiro Yamadafa714412015-07-21 14:04:22 +090060
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090061config ARCH_UNIPHIER_SLD8
Masahiro Yamadadabee242017-01-21 18:05:22 +090062 bool "Enable UniPhier sLD8 SoC support"
Masahiro Yamada89c0b152016-02-26 18:59:42 +090063 depends on ARCH_UNIPHIER_LD4_SLD8
64 default y
Masahiro Yamada82069432014-10-03 19:21:07 +090065
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090066config ARCH_UNIPHIER_PRO5
Masahiro Yamadadabee242017-01-21 18:05:22 +090067 bool "Enable UniPhier Pro5 SoC support"
Masahiro Yamada89c0b152016-02-26 18:59:42 +090068 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
69 default y
Masahiro Yamadad5167d52015-09-22 00:27:40 +090070
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090071config ARCH_UNIPHIER_PXS2
Masahiro Yamadadabee242017-01-21 18:05:22 +090072 bool "Enable UniPhier Pxs2 SoC support"
Masahiro Yamada89c0b152016-02-26 18:59:42 +090073 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
74 default y
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090075
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090076config ARCH_UNIPHIER_LD6B
Masahiro Yamadadabee242017-01-21 18:05:22 +090077 bool "Enable UniPhier LD6b SoC support"
Masahiro Yamada89c0b152016-02-26 18:59:42 +090078 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
79 default y
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090080
Masahiro Yamadadabee242017-01-21 18:05:22 +090081config ARCH_UNIPHIER_LD11
82 bool "Enable UniPhier LD11 SoC support" if ARCH_UNIPHIER_V8_MULTI
83 depends on ARCH_UNIPHIER_LD11_SINGLE || ARCH_UNIPHIER_V8_MULTI
84 default y
85
86config ARCH_UNIPHIER_LD20
87 bool "Enable UniPhier LD20 SoC support" if ARCH_UNIPHIER_V8_MULTI
88 depends on ARCH_UNIPHIER_LD20_SINGLE || ARCH_UNIPHIER_V8_MULTI
89 select OF_BOARD_SETUP
90 default y
91
Masahiro Yamada133b1262017-01-21 18:05:31 +090092config ARCH_UNIPHIER_PXS3
93 bool "Enable UniPhier PXs3 SoC support"
94 depends on ARCH_UNIPHIER_V8_MULTI
95 default y
96
Masahiro Yamadabf44dde2016-08-10 16:08:45 +090097config CACHE_UNIPHIER
98 bool "Enable the UniPhier L2 cache controller"
99 depends on ARCH_UNIPHIER_32BIT
Tom Rini84f9b612016-08-22 08:22:17 -0400100 select SYS_CACHE_SHIFT_7
Masahiro Yamadabf44dde2016-08-10 16:08:45 +0900101 default y
102 help
103 This option allows to use the UniPhier System Cache as L2 cache.
104
Masahiro Yamada4903b6d2015-09-11 20:17:45 +0900105config MICRO_SUPPORT_CARD
106 bool "Use Micro Support Card"
Masahiro Yamada39c450d2014-12-06 00:03:21 +0900107 help
Masahiro Yamada4903b6d2015-09-11 20:17:45 +0900108 This option provides support for the expansion board, available
109 on some UniPhier reference boards.
Masahiro Yamada39c450d2014-12-06 00:03:21 +0900110
111 Say Y to use the on-board UART, Ether, LED devices.
112
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +0900113config CMD_PINMON
114 bool "Enable boot mode pins monitor command"
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +0900115 default y
116 help
117 The command "pinmon" shows the state of the boot mode pins.
118 The boot mode pins are latched when the system reset is deasserted
119 and determine which device the system should load a boot image from.
120
Masahiro Yamada8f899ed2014-12-19 20:20:53 +0900121config CMD_DDRPHY_DUMP
122 bool "Enable dump command of DDR PHY parameters"
Masahiro Yamadab5a83932016-10-27 23:47:09 +0900123 depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || \
124 ARCH_UNIPHIER_SLD8 || ARCH_UNIPHIER_LD11
Masahiro Yamada6e3de882016-03-18 16:41:47 +0900125 default y
Masahiro Yamada8f899ed2014-12-19 20:20:53 +0900126 help
127 The command "ddrphy" shows the resulting parameters of DDR PHY
128 training; it is useful for the evaluation of DDR PHY training.
129
Masahiro Yamadabfffa2c2016-01-09 01:51:15 +0900130config CMD_DDRMPHY_DUMP
131 bool "Enable dump command of DDR Multi PHY parameters"
Masahiro Yamada53c59ae2016-03-18 16:41:43 +0900132 depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B
Masahiro Yamada6e3de882016-03-18 16:41:47 +0900133 default y
Masahiro Yamadabfffa2c2016-01-09 01:51:15 +0900134 help
135 The command "ddrmphy" shows the resulting parameters of DDR Multi PHY
136 training; it is useful for the evaluation of DDR Multi PHY training.
137
Masahiro Yamada563ee4c2015-05-29 17:30:01 +0900138endif