blob: 7bee6c7a299099708080756a4450bc36a291e750 [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
16 select SPL_SEPARATE_BSS
Masahiro Yamada18c11982016-06-17 19:24:28 +090017 select ARMV8_MULTIENTRY
Masahiro Yamadab7c4d252016-07-17 01:38:21 +090018 select ARMV8_SPIN_TABLE
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 Yamada323d1f92015-09-22 00:27:39 +090025 bool "UniPhier PH1-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
29 bool "UniPhier PH1-LD4/PH1-sLD8 SoC"
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 Yamada323d1f92015-09-22 00:27:39 +090033 bool "UniPhier PH1-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
37 bool "UniPhier PH1-Pro5/ProXstream2/PH1-LD6b SoC"
Masahiro Yamada48efc8a2016-06-17 19:24:27 +090038 select ARCH_UNIPHIER_32BIT
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090039
Masahiro Yamada667dbcd2016-05-24 21:14:01 +090040config ARCH_UNIPHIER_LD11
41 bool "UniPhier PH1-LD11 SoC"
Masahiro Yamada48efc8a2016-06-17 19:24:27 +090042 select ARCH_UNIPHIER_64BIT
Masahiro Yamada667dbcd2016-05-24 21:14:01 +090043
Masahiro Yamada9d0c2ce2016-04-21 14:43:18 +090044config ARCH_UNIPHIER_LD20
45 bool "UniPhier PH1-LD20 SoC"
Masahiro Yamada48efc8a2016-06-17 19:24:27 +090046 select ARCH_UNIPHIER_64BIT
Masahiro Yamada51ea5a02016-06-17 19:24:29 +090047 select OF_BOARD_SETUP
Masahiro Yamada9d0c2ce2016-04-21 14:43:18 +090048
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090049endchoice
50
Masahiro Yamadaea65c982016-03-18 16:41:43 +090051config ARCH_UNIPHIER_LD4
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090052 bool "Enable UniPhier PH1-LD4 SoC support"
53 depends on ARCH_UNIPHIER_LD4_SLD8
54 default y
Masahiro Yamada3365b4e2015-07-21 14:04:22 +090055
Masahiro Yamadaea65c982016-03-18 16:41:43 +090056config ARCH_UNIPHIER_SLD8
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090057 bool "Enable UniPhier PH1-sLD8 SoC support"
58 depends on ARCH_UNIPHIER_LD4_SLD8
59 default y
Masahiro Yamada66cba042014-10-03 19:21:07 +090060
Masahiro Yamadaea65c982016-03-18 16:41:43 +090061config ARCH_UNIPHIER_PRO5
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090062 bool "Enable UniPhier PH1-Pro5 SoC support"
63 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
64 default y
Masahiro Yamada28f40d42015-09-22 00:27:40 +090065
Masahiro Yamadaea65c982016-03-18 16:41:43 +090066config ARCH_UNIPHIER_PXS2
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090067 bool "Enable UniPhier ProXstream2 SoC support"
68 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
69 default y
Masahiro Yamada019df872015-09-22 00:27:41 +090070
Masahiro Yamadaea65c982016-03-18 16:41:43 +090071config ARCH_UNIPHIER_LD6B
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090072 bool "Enable UniPhier PH1-LD6b SoC support"
73 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
74 default y
Masahiro Yamada019df872015-09-22 00:27:41 +090075
Masahiro Yamada7382d172016-08-10 16:08:45 +090076config CACHE_UNIPHIER
77 bool "Enable the UniPhier L2 cache controller"
78 depends on ARCH_UNIPHIER_32BIT
Tom Rini067716b2016-08-22 08:22:17 -040079 select SYS_CACHE_SHIFT_7
Masahiro Yamada7382d172016-08-10 16:08:45 +090080 default y
81 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 Yamada32014552014-12-06 00:03:21 +090086 help
Masahiro Yamada98798422015-09-11 20:17:45 +090087 This option provides support for the expansion board, available
88 on some UniPhier reference boards.
Masahiro Yamada32014552014-12-06 00:03:21 +090089
90 Say Y to use the on-board UART, Ether, LED devices.
91
Masahiro Yamada59ca5532014-10-20 20:45:22 +090092config CMD_PINMON
93 bool "Enable boot mode pins monitor command"
Masahiro Yamada59ca5532014-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 Yamadac67b2af2014-12-19 20:20:53 +0900100config CMD_DDRPHY_DUMP
101 bool "Enable dump command of DDR PHY parameters"
Masahiro Yamadaea65c982016-03-18 16:41:43 +0900102 depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || ARCH_UNIPHIER_SLD8
Masahiro Yamadaf6c65bc2016-03-18 16:41:47 +0900103 default y
Masahiro Yamadac67b2af2014-12-19 20:20:53 +0900104 help
105 The command "ddrphy" shows the resulting parameters of DDR PHY
106 training; it is useful for the evaluation of DDR PHY training.
107
Masahiro Yamada93d92d42016-01-09 01:51:15 +0900108config CMD_DDRMPHY_DUMP
109 bool "Enable dump command of DDR Multi PHY parameters"
Masahiro Yamadaea65c982016-03-18 16:41:43 +0900110 depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B
Masahiro Yamadaf6c65bc2016-03-18 16:41:47 +0900111 default y
Masahiro Yamada93d92d42016-01-09 01:51:15 +0900112 help
113 The command "ddrmphy" shows the resulting parameters of DDR Multi PHY
114 training; it is useful for the evaluation of DDR Multi PHY training.
115
Masahiro Yamadab6ef3a32015-05-29 17:30:01 +0900116endif