blob: 3a8eee7b8435a9fe0a8f7806c9e2cfd9f84fa5a7 [file] [log] [blame]
Masahiro Yamadab6ef3a32015-05-29 17:30:01 +09001if ARCH_UNIPHIER
Masahiro Yamada66cba042014-10-03 19:21:07 +09002
Masahiro Yamada66cba042014-10-03 19:21:07 +09003config SYS_CONFIG_NAME
Masahiro Yamadaf5d0b9b2014-12-06 00:03:22 +09004 default "uniphier"
Masahiro Yamada66cba042014-10-03 19:21:07 +09005
Masahiro Yamada56d463b2020-07-09 15:08:13 +09006choice
7 prompt "UniPhier SoC select"
8
9config ARCH_UNIPHIER_V7_MULTI
10 bool "UniPhier V7 SoCs"
Michal Simek58008cb2018-07-23 15:55:15 +020011 select ARCH_SUPPORT_PSCI
12 select ARMV7_NONSEC
Lokesh Vutlaacf15002018-04-26 18:21:26 +053013 select CPU_V7A
Masahiro Yamadae8a92932016-08-10 16:08:49 +090014 select CPU_V7_HAS_NONSEC
Masahiro Yamada48efc8a2016-06-17 19:24:27 +090015
Masahiro Yamada561ca642017-01-21 18:05:22 +090016config ARCH_UNIPHIER_V8_MULTI
17 bool "UniPhier V8 SoCs"
18 depends on !SPL
Masahiro Yamadaee8d0372017-07-13 20:32:15 +090019 select ARM64
20 select CMD_UNZIP
Masahiro Yamada9d0c2ce2016-04-21 14:43:18 +090021
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090022endchoice
23
Masahiro Yamadaea65c982016-03-18 16:41:43 +090024config ARCH_UNIPHIER_LD4
Masahiro Yamada561ca642017-01-21 18:05:22 +090025 bool "Enable UniPhier LD4 SoC support"
Masahiro Yamada56d463b2020-07-09 15:08:13 +090026 depends on ARCH_UNIPHIER_V7_MULTI
27 depends on !SPL || SPL_TEXT_BASE = 0x00040000
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090028 default y
Masahiro Yamada3365b4e2015-07-21 14:04:22 +090029
Masahiro Yamadaea65c982016-03-18 16:41:43 +090030config ARCH_UNIPHIER_SLD8
Masahiro Yamada561ca642017-01-21 18:05:22 +090031 bool "Enable UniPhier sLD8 SoC support"
Masahiro Yamada56d463b2020-07-09 15:08:13 +090032 depends on ARCH_UNIPHIER_V7_MULTI
33 depends on !SPL || SPL_TEXT_BASE = 0x00040000
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090034 default y
Masahiro Yamada66cba042014-10-03 19:21:07 +090035
Masahiro Yamada81b9bb52017-09-15 21:43:20 +090036config ARCH_UNIPHIER_PRO4
37 bool "Enable UniPhier Pro4 SoC support"
38 depends on ARCH_UNIPHIER_V7_MULTI
Masahiro Yamada56d463b2020-07-09 15:08:13 +090039 depends on !SPL || SPL_TEXT_BASE = 0x00100000
Masahiro Yamada81b9bb52017-09-15 21:43:20 +090040 default y
41
Masahiro Yamadaea65c982016-03-18 16:41:43 +090042config ARCH_UNIPHIER_PRO5
Masahiro Yamada561ca642017-01-21 18:05:22 +090043 bool "Enable UniPhier Pro5 SoC support"
Masahiro Yamada81b9bb52017-09-15 21:43:20 +090044 depends on ARCH_UNIPHIER_V7_MULTI
Masahiro Yamada56d463b2020-07-09 15:08:13 +090045 depends on !SPL || SPL_TEXT_BASE = 0x00100000
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090046 default y
Masahiro Yamada28f40d42015-09-22 00:27:40 +090047
Masahiro Yamadaea65c982016-03-18 16:41:43 +090048config ARCH_UNIPHIER_PXS2
Masahiro Yamada561ca642017-01-21 18:05:22 +090049 bool "Enable UniPhier Pxs2 SoC support"
Masahiro Yamada81b9bb52017-09-15 21:43:20 +090050 depends on ARCH_UNIPHIER_V7_MULTI
Masahiro Yamada56d463b2020-07-09 15:08:13 +090051 depends on !SPL || SPL_TEXT_BASE = 0x00100000
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090052 default y
Masahiro Yamada019df872015-09-22 00:27:41 +090053
Masahiro Yamadaea65c982016-03-18 16:41:43 +090054config ARCH_UNIPHIER_LD6B
Masahiro Yamada561ca642017-01-21 18:05:22 +090055 bool "Enable UniPhier LD6b SoC support"
Masahiro Yamada81b9bb52017-09-15 21:43:20 +090056 depends on ARCH_UNIPHIER_V7_MULTI
Masahiro Yamada56d463b2020-07-09 15:08:13 +090057 depends on !SPL || SPL_TEXT_BASE = 0x00100000
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090058 default y
Masahiro Yamada019df872015-09-22 00:27:41 +090059
Masahiro Yamada561ca642017-01-21 18:05:22 +090060config ARCH_UNIPHIER_LD11
Masahiro Yamadaee8d0372017-07-13 20:32:15 +090061 bool "Enable UniPhier LD11 SoC support"
62 depends on ARCH_UNIPHIER_V8_MULTI
Masahiro Yamada561ca642017-01-21 18:05:22 +090063 default y
64
65config ARCH_UNIPHIER_LD20
Masahiro Yamadaee8d0372017-07-13 20:32:15 +090066 bool "Enable UniPhier LD20 SoC support"
67 depends on ARCH_UNIPHIER_V8_MULTI
Masahiro Yamada561ca642017-01-21 18:05:22 +090068 default y
Michal Simek58008cb2018-07-23 15:55:15 +020069 select OF_BOARD_SETUP
Masahiro Yamada561ca642017-01-21 18:05:22 +090070
Masahiro Yamada2c2ab3d2017-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 Yamada7382d172016-08-10 16:08:45 +090076config CACHE_UNIPHIER
77 bool "Enable the UniPhier L2 cache controller"
Masahiro Yamada56d463b2020-07-09 15:08:13 +090078 depends on ARCH_UNIPHIER_V7_MULTI
Masahiro Yamada7382d172016-08-10 16:08:45 +090079 default y
Michal Simek58008cb2018-07-23 15:55:15 +020080 select SYS_CACHE_SHIFT_7
Masahiro Yamada7382d172016-08-10 16:08:45 +090081 help
82 This option allows to use the UniPhier System Cache as L2 cache.
83
Masahiro Yamada98798422015-09-11 20:17:45 +090084config MICRO_SUPPORT_CARD
85 bool "Use Micro Support Card"
Masahiro Yamadae2bb0be2020-07-09 15:08:18 +090086 depends on UNIPHIER_SYSTEM_BUS
Masahiro Yamada32014552014-12-06 00:03:21 +090087 help
Masahiro Yamada98798422015-09-11 20:17:45 +090088 This option provides support for the expansion board, available
89 on some UniPhier reference boards.
Masahiro Yamada32014552014-12-06 00:03:21 +090090
91 Say Y to use the on-board UART, Ether, LED devices.
92
Masahiro Yamada59ca5532014-10-20 20:45:22 +090093config CMD_PINMON
94 bool "Enable boot mode pins monitor command"
Masahiro Yamada59ca5532014-10-20 20:45:22 +090095 default y
96 help
97 The command "pinmon" shows the state of the boot mode pins.
98 The boot mode pins are latched when the system reset is deasserted
99 and determine which device the system should load a boot image from.
100
Masahiro Yamadac67b2af2014-12-19 20:20:53 +0900101config CMD_DDRPHY_DUMP
102 bool "Enable dump command of DDR PHY parameters"
Masahiro Yamada5f498452016-10-27 23:47:09 +0900103 depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || \
104 ARCH_UNIPHIER_SLD8 || ARCH_UNIPHIER_LD11
Masahiro Yamadaf6c65bc2016-03-18 16:41:47 +0900105 default y
Masahiro Yamadac67b2af2014-12-19 20:20:53 +0900106 help
107 The command "ddrphy" shows the resulting parameters of DDR PHY
108 training; it is useful for the evaluation of DDR PHY training.
109
Masahiro Yamada93d92d42016-01-09 01:51:15 +0900110config CMD_DDRMPHY_DUMP
111 bool "Enable dump command of DDR Multi PHY parameters"
Masahiro Yamadaea65c982016-03-18 16:41:43 +0900112 depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B
Masahiro Yamadaf6c65bc2016-03-18 16:41:47 +0900113 default y
Masahiro Yamada93d92d42016-01-09 01:51:15 +0900114 help
115 The command "ddrmphy" shows the resulting parameters of DDR Multi PHY
116 training; it is useful for the evaluation of DDR Multi PHY training.
117
Masahiro Yamada9ac0e7b2017-10-17 21:19:42 +0900118config SYS_SOC
Masahiro Yamada56d463b2020-07-09 15:08:13 +0900119 default "uniphier-v7" if ARCH_UNIPHIER_V7_MULTI
Masahiro Yamadab6ef3a32015-05-29 17:30:01 +0900120endif