blob: e732ac1bfad0c7ea0a37d814f6096be5b67a8609 [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 Yamada48efc8a2016-06-17 19:24:27 +09006config ARCH_UNIPHIER_32BIT
7 bool
8 select CPU_V7
Masahiro Yamadae8a92932016-08-10 16:08:49 +09009 select CPU_V7_HAS_NONSEC
10 select ARMV7_NONSEC
Masahiro Yamada217f92b2016-08-30 16:22:22 +090011 select ARCH_SUPPORT_PSCI
Masahiro Yamada48efc8a2016-06-17 19:24:27 +090012
13config ARCH_UNIPHIER_64BIT
14 bool
15 select ARM64
Masahiro Yamada561ca642017-01-21 18:05:22 +090016 select SPL_SEPARATE_BSS if SPL
17 select ARMV8_MULTIENTRY if SPL
18 select ARMV8_SPIN_TABLE if SPL
Masahiro Yamada48efc8a2016-06-17 19:24:27 +090019
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090020choice
21 prompt "UniPhier SoC select"
Masahiro Yamadaea65c982016-03-18 16:41:43 +090022 default ARCH_UNIPHIER_PRO4
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090023
Masahiro Yamadaea65c982016-03-18 16:41:43 +090024config ARCH_UNIPHIER_SLD3
Masahiro Yamada561ca642017-01-21 18:05:22 +090025 bool "UniPhier sLD3 SoC"
Masahiro Yamada48efc8a2016-06-17 19:24:27 +090026 select ARCH_UNIPHIER_32BIT
Masahiro Yamada66cba042014-10-03 19:21:07 +090027
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090028config ARCH_UNIPHIER_LD4_SLD8
Masahiro Yamada561ca642017-01-21 18:05:22 +090029 bool "UniPhier LD4/sLD8 SoCs"
Masahiro Yamada48efc8a2016-06-17 19:24:27 +090030 select ARCH_UNIPHIER_32BIT
Masahiro Yamada66cba042014-10-03 19:21:07 +090031
Masahiro Yamadaea65c982016-03-18 16:41:43 +090032config ARCH_UNIPHIER_PRO4
Masahiro Yamada561ca642017-01-21 18:05:22 +090033 bool "UniPhier Pro4 SoC"
Masahiro Yamada48efc8a2016-06-17 19:24:27 +090034 select ARCH_UNIPHIER_32BIT
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090035
36config ARCH_UNIPHIER_PRO5_PXS2_LD6B
Masahiro Yamada561ca642017-01-21 18:05:22 +090037 bool "UniPhier Pro5/PXs2/LD6b SoCs"
Masahiro Yamada48efc8a2016-06-17 19:24:27 +090038 select ARCH_UNIPHIER_32BIT
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090039
Masahiro Yamada561ca642017-01-21 18:05:22 +090040config ARCH_UNIPHIER_LD11_SINGLE
41 bool "UniPhier LD11 SoC"
Masahiro Yamada48efc8a2016-06-17 19:24:27 +090042 select ARCH_UNIPHIER_64BIT
Masahiro Yamada667dbcd2016-05-24 21:14:01 +090043
Masahiro Yamada561ca642017-01-21 18:05:22 +090044config ARCH_UNIPHIER_LD20_SINGLE
45 bool "UniPhier LD20 SoC"
Masahiro Yamada48efc8a2016-06-17 19:24:27 +090046 select ARCH_UNIPHIER_64BIT
Masahiro Yamada561ca642017-01-21 18:05:22 +090047
48config ARCH_UNIPHIER_V8_MULTI
49 bool "UniPhier V8 SoCs"
50 depends on !SPL
51 select ARCH_UNIPHIER_64BIT
Masahiro Yamada9d0c2ce2016-04-21 14:43:18 +090052
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090053endchoice
54
Masahiro Yamadaea65c982016-03-18 16:41:43 +090055config ARCH_UNIPHIER_LD4
Masahiro Yamada561ca642017-01-21 18:05:22 +090056 bool "Enable UniPhier LD4 SoC support"
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090057 depends on ARCH_UNIPHIER_LD4_SLD8
58 default y
Masahiro Yamada3365b4e2015-07-21 14:04:22 +090059
Masahiro Yamadaea65c982016-03-18 16:41:43 +090060config ARCH_UNIPHIER_SLD8
Masahiro Yamada561ca642017-01-21 18:05:22 +090061 bool "Enable UniPhier sLD8 SoC support"
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090062 depends on ARCH_UNIPHIER_LD4_SLD8
63 default y
Masahiro Yamada66cba042014-10-03 19:21:07 +090064
Masahiro Yamadaea65c982016-03-18 16:41:43 +090065config ARCH_UNIPHIER_PRO5
Masahiro Yamada561ca642017-01-21 18:05:22 +090066 bool "Enable UniPhier Pro5 SoC support"
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090067 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
68 default y
Masahiro Yamada28f40d42015-09-22 00:27:40 +090069
Masahiro Yamadaea65c982016-03-18 16:41:43 +090070config ARCH_UNIPHIER_PXS2
Masahiro Yamada561ca642017-01-21 18:05:22 +090071 bool "Enable UniPhier Pxs2 SoC support"
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090072 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
73 default y
Masahiro Yamada019df872015-09-22 00:27:41 +090074
Masahiro Yamadaea65c982016-03-18 16:41:43 +090075config ARCH_UNIPHIER_LD6B
Masahiro Yamada561ca642017-01-21 18:05:22 +090076 bool "Enable UniPhier LD6b SoC support"
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090077 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
78 default y
Masahiro Yamada019df872015-09-22 00:27:41 +090079
Masahiro Yamada561ca642017-01-21 18:05:22 +090080config ARCH_UNIPHIER_LD11
81 bool "Enable UniPhier LD11 SoC support" if ARCH_UNIPHIER_V8_MULTI
82 depends on ARCH_UNIPHIER_LD11_SINGLE || ARCH_UNIPHIER_V8_MULTI
83 default y
84
85config ARCH_UNIPHIER_LD20
86 bool "Enable UniPhier LD20 SoC support" if ARCH_UNIPHIER_V8_MULTI
87 depends on ARCH_UNIPHIER_LD20_SINGLE || ARCH_UNIPHIER_V8_MULTI
88 select OF_BOARD_SETUP
89 default y
90
Masahiro Yamada7382d172016-08-10 16:08:45 +090091config CACHE_UNIPHIER
92 bool "Enable the UniPhier L2 cache controller"
93 depends on ARCH_UNIPHIER_32BIT
Tom Rini067716b2016-08-22 08:22:17 -040094 select SYS_CACHE_SHIFT_7
Masahiro Yamada7382d172016-08-10 16:08:45 +090095 default y
96 help
97 This option allows to use the UniPhier System Cache as L2 cache.
98
Masahiro Yamada98798422015-09-11 20:17:45 +090099config MICRO_SUPPORT_CARD
100 bool "Use Micro Support Card"
Masahiro Yamada32014552014-12-06 00:03:21 +0900101 help
Masahiro Yamada98798422015-09-11 20:17:45 +0900102 This option provides support for the expansion board, available
103 on some UniPhier reference boards.
Masahiro Yamada32014552014-12-06 00:03:21 +0900104
105 Say Y to use the on-board UART, Ether, LED devices.
106
Masahiro Yamada59ca5532014-10-20 20:45:22 +0900107config CMD_PINMON
108 bool "Enable boot mode pins monitor command"
Masahiro Yamada59ca5532014-10-20 20:45:22 +0900109 default y
110 help
111 The command "pinmon" shows the state of the boot mode pins.
112 The boot mode pins are latched when the system reset is deasserted
113 and determine which device the system should load a boot image from.
114
Masahiro Yamadac67b2af2014-12-19 20:20:53 +0900115config CMD_DDRPHY_DUMP
116 bool "Enable dump command of DDR PHY parameters"
Masahiro Yamada5f498452016-10-27 23:47:09 +0900117 depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || \
118 ARCH_UNIPHIER_SLD8 || ARCH_UNIPHIER_LD11
Masahiro Yamadaf6c65bc2016-03-18 16:41:47 +0900119 default y
Masahiro Yamadac67b2af2014-12-19 20:20:53 +0900120 help
121 The command "ddrphy" shows the resulting parameters of DDR PHY
122 training; it is useful for the evaluation of DDR PHY training.
123
Masahiro Yamada93d92d42016-01-09 01:51:15 +0900124config CMD_DDRMPHY_DUMP
125 bool "Enable dump command of DDR Multi PHY parameters"
Masahiro Yamadaea65c982016-03-18 16:41:43 +0900126 depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B
Masahiro Yamadaf6c65bc2016-03-18 16:41:47 +0900127 default y
Masahiro Yamada93d92d42016-01-09 01:51:15 +0900128 help
129 The command "ddrmphy" shows the resulting parameters of DDR Multi PHY
130 training; it is useful for the evaluation of DDR Multi PHY training.
131
Masahiro Yamadab6ef3a32015-05-29 17:30:01 +0900132endif