blob: e125f50fa61d6d855840eda8e5bb5fd969a76477 [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 Yamada89c0b152016-02-26 18:59:42 +09006choice
7 prompt "UniPhier SoC select"
Masahiro Yamada82069432014-10-03 19:21:07 +09008
Masahiro Yamadae6524352017-09-15 21:43:20 +09009config ARCH_UNIPHIER_V7_MULTI
Masahiro Yamada4131cb62020-07-09 15:08:13 +090010 bool "UniPhier V7 SoCs"
11 select ARCH_SUPPORT_PSCI
12 select ARMV7_NONSEC
13 select CPU_V7A
14 select CPU_V7_HAS_NONSEC
Masahiro Yamada89c0b152016-02-26 18:59:42 +090015
Masahiro Yamadadabee242017-01-21 18:05:22 +090016config ARCH_UNIPHIER_V8_MULTI
17 bool "UniPhier V8 SoCs"
18 depends on !SPL
Masahiro Yamada3f8e1662017-07-13 20:32:15 +090019 select ARM64
20 select CMD_UNZIP
Masahiro Yamada063eb1e2016-04-21 14:43:18 +090021
Masahiro Yamada89c0b152016-02-26 18:59:42 +090022endchoice
23
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090024config ARCH_UNIPHIER_LD4
Masahiro Yamadadabee242017-01-21 18:05:22 +090025 bool "Enable UniPhier LD4 SoC support"
Masahiro Yamada4131cb62020-07-09 15:08:13 +090026 depends on ARCH_UNIPHIER_V7_MULTI
27 depends on !SPL || SPL_TEXT_BASE = 0x00040000
Masahiro Yamada89c0b152016-02-26 18:59:42 +090028 default y
Masahiro Yamadafa714412015-07-21 14:04:22 +090029
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090030config ARCH_UNIPHIER_SLD8
Masahiro Yamadadabee242017-01-21 18:05:22 +090031 bool "Enable UniPhier sLD8 SoC support"
Masahiro Yamada4131cb62020-07-09 15:08:13 +090032 depends on ARCH_UNIPHIER_V7_MULTI
33 depends on !SPL || SPL_TEXT_BASE = 0x00040000
Masahiro Yamada89c0b152016-02-26 18:59:42 +090034 default y
Masahiro Yamada82069432014-10-03 19:21:07 +090035
Masahiro Yamadae6524352017-09-15 21:43:20 +090036config ARCH_UNIPHIER_PRO4
37 bool "Enable UniPhier Pro4 SoC support"
38 depends on ARCH_UNIPHIER_V7_MULTI
Masahiro Yamada4131cb62020-07-09 15:08:13 +090039 depends on !SPL || SPL_TEXT_BASE = 0x00100000
Masahiro Yamadae6524352017-09-15 21:43:20 +090040 default y
41
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090042config ARCH_UNIPHIER_PRO5
Masahiro Yamadadabee242017-01-21 18:05:22 +090043 bool "Enable UniPhier Pro5 SoC support"
Masahiro Yamadae6524352017-09-15 21:43:20 +090044 depends on ARCH_UNIPHIER_V7_MULTI
Masahiro Yamada4131cb62020-07-09 15:08:13 +090045 depends on !SPL || SPL_TEXT_BASE = 0x00100000
Masahiro Yamada89c0b152016-02-26 18:59:42 +090046 default y
Masahiro Yamadad5167d52015-09-22 00:27:40 +090047
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090048config ARCH_UNIPHIER_PXS2
Masahiro Yamadadabee242017-01-21 18:05:22 +090049 bool "Enable UniPhier Pxs2 SoC support"
Masahiro Yamadae6524352017-09-15 21:43:20 +090050 depends on ARCH_UNIPHIER_V7_MULTI
Masahiro Yamada4131cb62020-07-09 15:08:13 +090051 depends on !SPL || SPL_TEXT_BASE = 0x00100000
Masahiro Yamada89c0b152016-02-26 18:59:42 +090052 default y
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090053
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090054config ARCH_UNIPHIER_LD6B
Masahiro Yamadadabee242017-01-21 18:05:22 +090055 bool "Enable UniPhier LD6b SoC support"
Masahiro Yamadae6524352017-09-15 21:43:20 +090056 depends on ARCH_UNIPHIER_V7_MULTI
Masahiro Yamada4131cb62020-07-09 15:08:13 +090057 depends on !SPL || SPL_TEXT_BASE = 0x00100000
Masahiro Yamada89c0b152016-02-26 18:59:42 +090058 default y
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090059
Masahiro Yamadadabee242017-01-21 18:05:22 +090060config ARCH_UNIPHIER_LD11
Masahiro Yamada3f8e1662017-07-13 20:32:15 +090061 bool "Enable UniPhier LD11 SoC support"
62 depends on ARCH_UNIPHIER_V8_MULTI
Masahiro Yamadadabee242017-01-21 18:05:22 +090063 default y
64
65config ARCH_UNIPHIER_LD20
Masahiro Yamada3f8e1662017-07-13 20:32:15 +090066 bool "Enable UniPhier LD20 SoC support"
67 depends on ARCH_UNIPHIER_V8_MULTI
Masahiro Yamadadabee242017-01-21 18:05:22 +090068 default y
Michal Simek7e7ba3b2018-07-23 15:55:15 +020069 select OF_BOARD_SETUP
Masahiro Yamadadabee242017-01-21 18:05:22 +090070
Masahiro Yamada133b1262017-01-21 18:05:31 +090071config ARCH_UNIPHIER_PXS3
72 bool "Enable UniPhier PXs3 SoC support"
73 depends on ARCH_UNIPHIER_V8_MULTI
74 default y
75
Masahiro Yamadabf44dde2016-08-10 16:08:45 +090076config CACHE_UNIPHIER
77 bool "Enable the UniPhier L2 cache controller"
Masahiro Yamada4131cb62020-07-09 15:08:13 +090078 depends on ARCH_UNIPHIER_V7_MULTI
Masahiro Yamadabf44dde2016-08-10 16:08:45 +090079 default y
Michal Simek7e7ba3b2018-07-23 15:55:15 +020080 select SYS_CACHE_SHIFT_7
Masahiro Yamadabf44dde2016-08-10 16:08:45 +090081 help
82 This option allows to use the UniPhier System Cache as L2 cache.
83
Masahiro Yamada4903b6d2015-09-11 20:17:45 +090084config MICRO_SUPPORT_CARD
85 bool "Use Micro Support Card"
Masahiro Yamada39c450d2014-12-06 00:03:21 +090086 help
Masahiro Yamada4903b6d2015-09-11 20:17:45 +090087 This option provides support for the expansion board, available
88 on some UniPhier reference boards.
Masahiro Yamada39c450d2014-12-06 00:03:21 +090089
90 Say Y to use the on-board UART, Ether, LED devices.
91
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +090092config CMD_PINMON
93 bool "Enable boot mode pins monitor command"
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +090094 default y
95 help
96 The command "pinmon" shows the state of the boot mode pins.
97 The boot mode pins are latched when the system reset is deasserted
98 and determine which device the system should load a boot image from.
99
Masahiro Yamada8f899ed2014-12-19 20:20:53 +0900100config CMD_DDRPHY_DUMP
101 bool "Enable dump command of DDR PHY parameters"
Masahiro Yamadab5a83932016-10-27 23:47:09 +0900102 depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || \
103 ARCH_UNIPHIER_SLD8 || ARCH_UNIPHIER_LD11
Masahiro Yamada6e3de882016-03-18 16:41:47 +0900104 default y
Masahiro Yamada8f899ed2014-12-19 20:20:53 +0900105 help
106 The command "ddrphy" shows the resulting parameters of DDR PHY
107 training; it is useful for the evaluation of DDR PHY training.
108
Masahiro Yamadabfffa2c2016-01-09 01:51:15 +0900109config CMD_DDRMPHY_DUMP
110 bool "Enable dump command of DDR Multi PHY parameters"
Masahiro Yamada53c59ae2016-03-18 16:41:43 +0900111 depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B
Masahiro Yamada6e3de882016-03-18 16:41:47 +0900112 default y
Masahiro Yamadabfffa2c2016-01-09 01:51:15 +0900113 help
114 The command "ddrmphy" shows the resulting parameters of DDR Multi PHY
115 training; it is useful for the evaluation of DDR Multi PHY training.
116
Masahiro Yamada81087e12017-10-17 21:19:42 +0900117config SYS_SOC
Masahiro Yamada4131cb62020-07-09 15:08:13 +0900118 default "uniphier-v7" if ARCH_UNIPHIER_V7_MULTI
Masahiro Yamada563ee4c2015-05-29 17:30:01 +0900119endif