blob: ee2211241235210573341bf3366d5093d6501f1d [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
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090013choice
14 prompt "UniPhier SoC select"
Masahiro Yamadaea65c982016-03-18 16:41:43 +090015 default ARCH_UNIPHIER_PRO4
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090016
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090017config ARCH_UNIPHIER_LD4_SLD8
Masahiro Yamada561ca642017-01-21 18:05:22 +090018 bool "UniPhier LD4/sLD8 SoCs"
Masahiro Yamada48efc8a2016-06-17 19:24:27 +090019 select ARCH_UNIPHIER_32BIT
Masahiro Yamada66cba042014-10-03 19:21:07 +090020
Masahiro Yamadaea65c982016-03-18 16:41:43 +090021config ARCH_UNIPHIER_PRO4
Masahiro Yamada561ca642017-01-21 18:05:22 +090022 bool "UniPhier Pro4 SoC"
Masahiro Yamada48efc8a2016-06-17 19:24:27 +090023 select ARCH_UNIPHIER_32BIT
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090024
25config ARCH_UNIPHIER_PRO5_PXS2_LD6B
Masahiro Yamada561ca642017-01-21 18:05:22 +090026 bool "UniPhier Pro5/PXs2/LD6b SoCs"
Masahiro Yamada48efc8a2016-06-17 19:24:27 +090027 select ARCH_UNIPHIER_32BIT
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090028
Masahiro Yamada561ca642017-01-21 18:05:22 +090029config ARCH_UNIPHIER_V8_MULTI
30 bool "UniPhier V8 SoCs"
31 depends on !SPL
Masahiro Yamadaee8d0372017-07-13 20:32:15 +090032 select ARM64
33 select CMD_UNZIP
Masahiro Yamada9d0c2ce2016-04-21 14:43:18 +090034
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090035endchoice
36
Masahiro Yamadaea65c982016-03-18 16:41:43 +090037config ARCH_UNIPHIER_LD4
Masahiro Yamada561ca642017-01-21 18:05:22 +090038 bool "Enable UniPhier LD4 SoC support"
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090039 depends on ARCH_UNIPHIER_LD4_SLD8
40 default y
Masahiro Yamada3365b4e2015-07-21 14:04:22 +090041
Masahiro Yamadaea65c982016-03-18 16:41:43 +090042config ARCH_UNIPHIER_SLD8
Masahiro Yamada561ca642017-01-21 18:05:22 +090043 bool "Enable UniPhier sLD8 SoC support"
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090044 depends on ARCH_UNIPHIER_LD4_SLD8
45 default y
Masahiro Yamada66cba042014-10-03 19:21:07 +090046
Masahiro Yamadaea65c982016-03-18 16:41:43 +090047config ARCH_UNIPHIER_PRO5
Masahiro Yamada561ca642017-01-21 18:05:22 +090048 bool "Enable UniPhier Pro5 SoC support"
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090049 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
50 default y
Masahiro Yamada28f40d42015-09-22 00:27:40 +090051
Masahiro Yamadaea65c982016-03-18 16:41:43 +090052config ARCH_UNIPHIER_PXS2
Masahiro Yamada561ca642017-01-21 18:05:22 +090053 bool "Enable UniPhier Pxs2 SoC support"
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090054 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
55 default y
Masahiro Yamada019df872015-09-22 00:27:41 +090056
Masahiro Yamadaea65c982016-03-18 16:41:43 +090057config ARCH_UNIPHIER_LD6B
Masahiro Yamada561ca642017-01-21 18:05:22 +090058 bool "Enable UniPhier LD6b SoC support"
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090059 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
60 default y
Masahiro Yamada019df872015-09-22 00:27:41 +090061
Masahiro Yamada561ca642017-01-21 18:05:22 +090062config ARCH_UNIPHIER_LD11
Masahiro Yamadaee8d0372017-07-13 20:32:15 +090063 bool "Enable UniPhier LD11 SoC support"
64 depends on ARCH_UNIPHIER_V8_MULTI
Masahiro Yamada561ca642017-01-21 18:05:22 +090065 default y
66
67config ARCH_UNIPHIER_LD20
Masahiro Yamadaee8d0372017-07-13 20:32:15 +090068 bool "Enable UniPhier LD20 SoC support"
69 depends on ARCH_UNIPHIER_V8_MULTI
Masahiro Yamada561ca642017-01-21 18:05:22 +090070 select OF_BOARD_SETUP
71 default y
72
Masahiro Yamada2c2ab3d2017-01-21 18:05:31 +090073config ARCH_UNIPHIER_PXS3
74 bool "Enable UniPhier PXs3 SoC support"
75 depends on ARCH_UNIPHIER_V8_MULTI
76 default y
77
Masahiro Yamada7382d172016-08-10 16:08:45 +090078config CACHE_UNIPHIER
79 bool "Enable the UniPhier L2 cache controller"
80 depends on ARCH_UNIPHIER_32BIT
Tom Rini067716b2016-08-22 08:22:17 -040081 select SYS_CACHE_SHIFT_7
Masahiro Yamada7382d172016-08-10 16:08:45 +090082 default y
83 help
84 This option allows to use the UniPhier System Cache as L2 cache.
85
Masahiro Yamada98798422015-09-11 20:17:45 +090086config MICRO_SUPPORT_CARD
87 bool "Use Micro Support Card"
Masahiro Yamada32014552014-12-06 00:03:21 +090088 help
Masahiro Yamada98798422015-09-11 20:17:45 +090089 This option provides support for the expansion board, available
90 on some UniPhier reference boards.
Masahiro Yamada32014552014-12-06 00:03:21 +090091
92 Say Y to use the on-board UART, Ether, LED devices.
93
Masahiro Yamada59ca5532014-10-20 20:45:22 +090094config CMD_PINMON
95 bool "Enable boot mode pins monitor command"
Masahiro Yamada59ca5532014-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 Yamadac67b2af2014-12-19 20:20:53 +0900102config CMD_DDRPHY_DUMP
103 bool "Enable dump command of DDR PHY parameters"
Masahiro Yamada5f498452016-10-27 23:47:09 +0900104 depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || \
105 ARCH_UNIPHIER_SLD8 || ARCH_UNIPHIER_LD11
Masahiro Yamadaf6c65bc2016-03-18 16:41:47 +0900106 default y
Masahiro Yamadac67b2af2014-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 Yamada93d92d42016-01-09 01:51:15 +0900111config CMD_DDRMPHY_DUMP
112 bool "Enable dump command of DDR Multi PHY parameters"
Masahiro Yamadaea65c982016-03-18 16:41:43 +0900113 depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B
Masahiro Yamadaf6c65bc2016-03-18 16:41:47 +0900114 default y
Masahiro Yamada93d92d42016-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 Yamadab6ef3a32015-05-29 17:30:01 +0900119endif