blob: c570fb3294d0ce149d0bd1d82c54e2a673c16da1 [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
Dai Okamuracd043e92022-12-09 20:33:48 +090015 select ARM_GLOBAL_TIMER if TIMER
Masahiro Yamada89c0b152016-02-26 18:59:42 +090016
Masahiro Yamadadabee242017-01-21 18:05:22 +090017config ARCH_UNIPHIER_V8_MULTI
18 bool "UniPhier V8 SoCs"
19 depends on !SPL
Masahiro Yamada3f8e1662017-07-13 20:32:15 +090020 select ARM64
21 select CMD_UNZIP
Masahiro Yamada063eb1e2016-04-21 14:43:18 +090022
Masahiro Yamada89c0b152016-02-26 18:59:42 +090023endchoice
24
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090025config ARCH_UNIPHIER_LD4
Masahiro Yamadadabee242017-01-21 18:05:22 +090026 bool "Enable UniPhier LD4 SoC support"
Masahiro Yamada4131cb62020-07-09 15:08:13 +090027 depends on ARCH_UNIPHIER_V7_MULTI
28 depends on !SPL || SPL_TEXT_BASE = 0x00040000
Masahiro Yamada89c0b152016-02-26 18:59:42 +090029 default y
Masahiro Yamadafa714412015-07-21 14:04:22 +090030
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090031config ARCH_UNIPHIER_SLD8
Masahiro Yamadadabee242017-01-21 18:05:22 +090032 bool "Enable UniPhier sLD8 SoC support"
Masahiro Yamada4131cb62020-07-09 15:08:13 +090033 depends on ARCH_UNIPHIER_V7_MULTI
34 depends on !SPL || SPL_TEXT_BASE = 0x00040000
Masahiro Yamada89c0b152016-02-26 18:59:42 +090035 default y
Masahiro Yamada82069432014-10-03 19:21:07 +090036
Masahiro Yamadae6524352017-09-15 21:43:20 +090037config ARCH_UNIPHIER_PRO4
38 bool "Enable UniPhier Pro4 SoC support"
39 depends on ARCH_UNIPHIER_V7_MULTI
Masahiro Yamada4131cb62020-07-09 15:08:13 +090040 depends on !SPL || SPL_TEXT_BASE = 0x00100000
Masahiro Yamadae6524352017-09-15 21:43:20 +090041 default y
42
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090043config ARCH_UNIPHIER_PRO5
Masahiro Yamadadabee242017-01-21 18:05:22 +090044 bool "Enable UniPhier Pro5 SoC support"
Masahiro Yamadae6524352017-09-15 21:43:20 +090045 depends on ARCH_UNIPHIER_V7_MULTI
Masahiro Yamada4131cb62020-07-09 15:08:13 +090046 depends on !SPL || SPL_TEXT_BASE = 0x00100000
Masahiro Yamada89c0b152016-02-26 18:59:42 +090047 default y
Masahiro Yamadad5167d52015-09-22 00:27:40 +090048
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090049config ARCH_UNIPHIER_PXS2
Masahiro Yamadadabee242017-01-21 18:05:22 +090050 bool "Enable UniPhier Pxs2 SoC support"
Masahiro Yamadae6524352017-09-15 21:43:20 +090051 depends on ARCH_UNIPHIER_V7_MULTI
Masahiro Yamada4131cb62020-07-09 15:08:13 +090052 depends on !SPL || SPL_TEXT_BASE = 0x00100000
Masahiro Yamada89c0b152016-02-26 18:59:42 +090053 default y
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090054
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090055config ARCH_UNIPHIER_LD6B
Masahiro Yamadadabee242017-01-21 18:05:22 +090056 bool "Enable UniPhier LD6b SoC support"
Masahiro Yamadae6524352017-09-15 21:43:20 +090057 depends on ARCH_UNIPHIER_V7_MULTI
Masahiro Yamada4131cb62020-07-09 15:08:13 +090058 depends on !SPL || SPL_TEXT_BASE = 0x00100000
Masahiro Yamada89c0b152016-02-26 18:59:42 +090059 default y
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090060
Masahiro Yamadadabee242017-01-21 18:05:22 +090061config ARCH_UNIPHIER_LD11
Masahiro Yamada3f8e1662017-07-13 20:32:15 +090062 bool "Enable UniPhier LD11 SoC support"
63 depends on ARCH_UNIPHIER_V8_MULTI
Masahiro Yamadadabee242017-01-21 18:05:22 +090064 default y
65
66config ARCH_UNIPHIER_LD20
Masahiro Yamada3f8e1662017-07-13 20:32:15 +090067 bool "Enable UniPhier LD20 SoC support"
68 depends on ARCH_UNIPHIER_V8_MULTI
Masahiro Yamadadabee242017-01-21 18:05:22 +090069 default y
Michal Simek7e7ba3b2018-07-23 15:55:15 +020070 select OF_BOARD_SETUP
Masahiro Yamadadabee242017-01-21 18:05:22 +090071
Masahiro Yamada133b1262017-01-21 18:05:31 +090072config ARCH_UNIPHIER_PXS3
73 bool "Enable UniPhier PXs3 SoC support"
74 depends on ARCH_UNIPHIER_V8_MULTI
75 default y
76
Masahiro Yamadabf44dde2016-08-10 16:08:45 +090077config CACHE_UNIPHIER
78 bool "Enable the UniPhier L2 cache controller"
Masahiro Yamada4131cb62020-07-09 15:08:13 +090079 depends on ARCH_UNIPHIER_V7_MULTI
Masahiro Yamadabf44dde2016-08-10 16:08:45 +090080 default y
Michal Simek7e7ba3b2018-07-23 15:55:15 +020081 select SYS_CACHE_SHIFT_7
Masahiro Yamadabf44dde2016-08-10 16:08:45 +090082 help
83 This option allows to use the UniPhier System Cache as L2 cache.
84
Masahiro Yamada4903b6d2015-09-11 20:17:45 +090085config MICRO_SUPPORT_CARD
86 bool "Use Micro Support Card"
Masahiro Yamadadbdd4202020-07-09 15:08:18 +090087 depends on UNIPHIER_SYSTEM_BUS
Masahiro Yamada39c450d2014-12-06 00:03:21 +090088 help
Masahiro Yamada4903b6d2015-09-11 20:17:45 +090089 This option provides support for the expansion board, available
90 on some UniPhier reference boards.
Masahiro Yamada39c450d2014-12-06 00:03:21 +090091
92 Say Y to use the on-board UART, Ether, LED devices.
93
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +090094config CMD_PINMON
95 bool "Enable boot mode pins monitor command"
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +090096 default y
97 help
98 The command "pinmon" shows the state of the boot mode pins.
99 The boot mode pins are latched when the system reset is deasserted
100 and determine which device the system should load a boot image from.
101
Masahiro Yamada8f899ed2014-12-19 20:20:53 +0900102config CMD_DDRPHY_DUMP
103 bool "Enable dump command of DDR PHY parameters"
Masahiro Yamadab5a83932016-10-27 23:47:09 +0900104 depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || \
105 ARCH_UNIPHIER_SLD8 || ARCH_UNIPHIER_LD11
Masahiro Yamada6e3de882016-03-18 16:41:47 +0900106 default y
Masahiro Yamada8f899ed2014-12-19 20:20:53 +0900107 help
108 The command "ddrphy" shows the resulting parameters of DDR PHY
109 training; it is useful for the evaluation of DDR PHY training.
110
Masahiro Yamadabfffa2c2016-01-09 01:51:15 +0900111config CMD_DDRMPHY_DUMP
112 bool "Enable dump command of DDR Multi PHY parameters"
Masahiro Yamada53c59ae2016-03-18 16:41:43 +0900113 depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B
Masahiro Yamada6e3de882016-03-18 16:41:47 +0900114 default y
Masahiro Yamadabfffa2c2016-01-09 01:51:15 +0900115 help
116 The command "ddrmphy" shows the resulting parameters of DDR Multi PHY
117 training; it is useful for the evaluation of DDR Multi PHY training.
118
Masahiro Yamada81087e12017-10-17 21:19:42 +0900119config SYS_SOC
Masahiro Yamada4131cb62020-07-09 15:08:13 +0900120 default "uniphier-v7" if ARCH_UNIPHIER_V7_MULTI
Masahiro Yamada563ee4c2015-05-29 17:30:01 +0900121endif