blob: 1aed55a539bddb162053634ef6d6a9ee7335891f [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 Yamada74b79f82016-06-17 19:24:27 +09006config ARCH_UNIPHIER_32BIT
7 bool
8 select CPU_V7
Masahiro Yamada0ae5c5a2016-08-10 16:08:49 +09009 select CPU_V7_HAS_NONSEC
10 select ARMV7_NONSEC
Masahiro Yamadad5415b22016-08-30 16:22:22 +090011 select ARCH_SUPPORT_PSCI
Masahiro Yamada74b79f82016-06-17 19:24:27 +090012
Masahiro Yamada89c0b152016-02-26 18:59:42 +090013choice
14 prompt "UniPhier SoC select"
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090015 default ARCH_UNIPHIER_PRO4
Masahiro Yamada89c0b152016-02-26 18:59:42 +090016
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090017config ARCH_UNIPHIER_SLD3
Masahiro Yamadadabee242017-01-21 18:05:22 +090018 bool "UniPhier sLD3 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090019 select ARCH_UNIPHIER_32BIT
Masahiro Yamada82069432014-10-03 19:21:07 +090020
Masahiro Yamada89c0b152016-02-26 18:59:42 +090021config ARCH_UNIPHIER_LD4_SLD8
Masahiro Yamadadabee242017-01-21 18:05:22 +090022 bool "UniPhier LD4/sLD8 SoCs"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090023 select ARCH_UNIPHIER_32BIT
Masahiro Yamada82069432014-10-03 19:21:07 +090024
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090025config ARCH_UNIPHIER_PRO4
Masahiro Yamadadabee242017-01-21 18:05:22 +090026 bool "UniPhier Pro4 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090027 select ARCH_UNIPHIER_32BIT
Masahiro Yamada89c0b152016-02-26 18:59:42 +090028
29config ARCH_UNIPHIER_PRO5_PXS2_LD6B
Masahiro Yamadadabee242017-01-21 18:05:22 +090030 bool "UniPhier Pro5/PXs2/LD6b SoCs"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090031 select ARCH_UNIPHIER_32BIT
Masahiro Yamada89c0b152016-02-26 18:59:42 +090032
Masahiro Yamadadabee242017-01-21 18:05:22 +090033config ARCH_UNIPHIER_V8_MULTI
34 bool "UniPhier V8 SoCs"
35 depends on !SPL
Masahiro Yamada3f8e1662017-07-13 20:32:15 +090036 select ARM64
37 select CMD_UNZIP
Masahiro Yamada063eb1e2016-04-21 14:43:18 +090038
Masahiro Yamada89c0b152016-02-26 18:59:42 +090039endchoice
40
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090041config ARCH_UNIPHIER_LD4
Masahiro Yamadadabee242017-01-21 18:05:22 +090042 bool "Enable UniPhier LD4 SoC support"
Masahiro Yamada89c0b152016-02-26 18:59:42 +090043 depends on ARCH_UNIPHIER_LD4_SLD8
44 default y
Masahiro Yamadafa714412015-07-21 14:04:22 +090045
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090046config ARCH_UNIPHIER_SLD8
Masahiro Yamadadabee242017-01-21 18:05:22 +090047 bool "Enable UniPhier sLD8 SoC support"
Masahiro Yamada89c0b152016-02-26 18:59:42 +090048 depends on ARCH_UNIPHIER_LD4_SLD8
49 default y
Masahiro Yamada82069432014-10-03 19:21:07 +090050
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090051config ARCH_UNIPHIER_PRO5
Masahiro Yamadadabee242017-01-21 18:05:22 +090052 bool "Enable UniPhier Pro5 SoC support"
Masahiro Yamada89c0b152016-02-26 18:59:42 +090053 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
54 default y
Masahiro Yamadad5167d52015-09-22 00:27:40 +090055
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090056config ARCH_UNIPHIER_PXS2
Masahiro Yamadadabee242017-01-21 18:05:22 +090057 bool "Enable UniPhier Pxs2 SoC support"
Masahiro Yamada89c0b152016-02-26 18:59:42 +090058 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
59 default y
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090060
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090061config ARCH_UNIPHIER_LD6B
Masahiro Yamadadabee242017-01-21 18:05:22 +090062 bool "Enable UniPhier LD6b SoC support"
Masahiro Yamada89c0b152016-02-26 18:59:42 +090063 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
64 default y
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090065
Masahiro Yamadadabee242017-01-21 18:05:22 +090066config ARCH_UNIPHIER_LD11
Masahiro Yamada3f8e1662017-07-13 20:32:15 +090067 bool "Enable UniPhier LD11 SoC support"
68 depends on ARCH_UNIPHIER_V8_MULTI
Masahiro Yamadadabee242017-01-21 18:05:22 +090069 default y
70
71config ARCH_UNIPHIER_LD20
Masahiro Yamada3f8e1662017-07-13 20:32:15 +090072 bool "Enable UniPhier LD20 SoC support"
73 depends on ARCH_UNIPHIER_V8_MULTI
Masahiro Yamadadabee242017-01-21 18:05:22 +090074 select OF_BOARD_SETUP
75 default y
76
Masahiro Yamada133b1262017-01-21 18:05:31 +090077config ARCH_UNIPHIER_PXS3
78 bool "Enable UniPhier PXs3 SoC support"
79 depends on ARCH_UNIPHIER_V8_MULTI
80 default y
81
Masahiro Yamadabf44dde2016-08-10 16:08:45 +090082config CACHE_UNIPHIER
83 bool "Enable the UniPhier L2 cache controller"
84 depends on ARCH_UNIPHIER_32BIT
Tom Rini84f9b612016-08-22 08:22:17 -040085 select SYS_CACHE_SHIFT_7
Masahiro Yamadabf44dde2016-08-10 16:08:45 +090086 default y
87 help
88 This option allows to use the UniPhier System Cache as L2 cache.
89
Masahiro Yamada4903b6d2015-09-11 20:17:45 +090090config MICRO_SUPPORT_CARD
91 bool "Use Micro Support Card"
Masahiro Yamada39c450d2014-12-06 00:03:21 +090092 help
Masahiro Yamada4903b6d2015-09-11 20:17:45 +090093 This option provides support for the expansion board, available
94 on some UniPhier reference boards.
Masahiro Yamada39c450d2014-12-06 00:03:21 +090095
96 Say Y to use the on-board UART, Ether, LED devices.
97
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +090098config CMD_PINMON
99 bool "Enable boot mode pins monitor command"
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +0900100 default y
101 help
102 The command "pinmon" shows the state of the boot mode pins.
103 The boot mode pins are latched when the system reset is deasserted
104 and determine which device the system should load a boot image from.
105
Masahiro Yamada8f899ed2014-12-19 20:20:53 +0900106config CMD_DDRPHY_DUMP
107 bool "Enable dump command of DDR PHY parameters"
Masahiro Yamadab5a83932016-10-27 23:47:09 +0900108 depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || \
109 ARCH_UNIPHIER_SLD8 || ARCH_UNIPHIER_LD11
Masahiro Yamada6e3de882016-03-18 16:41:47 +0900110 default y
Masahiro Yamada8f899ed2014-12-19 20:20:53 +0900111 help
112 The command "ddrphy" shows the resulting parameters of DDR PHY
113 training; it is useful for the evaluation of DDR PHY training.
114
Masahiro Yamadabfffa2c2016-01-09 01:51:15 +0900115config CMD_DDRMPHY_DUMP
116 bool "Enable dump command of DDR Multi PHY parameters"
Masahiro Yamada53c59ae2016-03-18 16:41:43 +0900117 depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B
Masahiro Yamada6e3de882016-03-18 16:41:47 +0900118 default y
Masahiro Yamadabfffa2c2016-01-09 01:51:15 +0900119 help
120 The command "ddrmphy" shows the resulting parameters of DDR Multi PHY
121 training; it is useful for the evaluation of DDR Multi PHY training.
122
Masahiro Yamada563ee4c2015-05-29 17:30:01 +0900123endif