blob: a8a0b90c39b289f6ead2b7b5601d41716f16eaf2 [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 Yamada74b79f82016-06-17 19:24:27 +090011
12config ARCH_UNIPHIER_64BIT
13 bool
14 select ARM64
15 select SPL_SEPARATE_BSS
Masahiro Yamada3a0850d2016-06-17 19:24:28 +090016 select ARMV8_MULTIENTRY
Masahiro Yamadac2675812016-07-17 01:38:21 +090017 select ARMV8_SPIN_TABLE
Masahiro Yamada74b79f82016-06-17 19:24:27 +090018
Masahiro Yamada89c0b152016-02-26 18:59:42 +090019choice
20 prompt "UniPhier SoC select"
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090021 default ARCH_UNIPHIER_PRO4
Masahiro Yamada89c0b152016-02-26 18:59:42 +090022
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090023config ARCH_UNIPHIER_SLD3
Masahiro Yamada75f16f82015-09-22 00:27:39 +090024 bool "UniPhier PH1-sLD3 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090025 select ARCH_UNIPHIER_32BIT
Masahiro Yamada82069432014-10-03 19:21:07 +090026
Masahiro Yamada89c0b152016-02-26 18:59:42 +090027config ARCH_UNIPHIER_LD4_SLD8
28 bool "UniPhier PH1-LD4/PH1-sLD8 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090029 select ARCH_UNIPHIER_32BIT
Masahiro Yamada82069432014-10-03 19:21:07 +090030
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090031config ARCH_UNIPHIER_PRO4
Masahiro Yamada75f16f82015-09-22 00:27:39 +090032 bool "UniPhier PH1-Pro4 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090033 select ARCH_UNIPHIER_32BIT
Masahiro Yamada89c0b152016-02-26 18:59:42 +090034
35config ARCH_UNIPHIER_PRO5_PXS2_LD6B
36 bool "UniPhier PH1-Pro5/ProXstream2/PH1-LD6b SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090037 select ARCH_UNIPHIER_32BIT
Masahiro Yamada89c0b152016-02-26 18:59:42 +090038
Masahiro Yamada8bbbcbd2016-05-24 21:14:01 +090039config ARCH_UNIPHIER_LD11
40 bool "UniPhier PH1-LD11 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090041 select ARCH_UNIPHIER_64BIT
Masahiro Yamada8bbbcbd2016-05-24 21:14:01 +090042
Masahiro Yamada063eb1e2016-04-21 14:43:18 +090043config ARCH_UNIPHIER_LD20
44 bool "UniPhier PH1-LD20 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090045 select ARCH_UNIPHIER_64BIT
Masahiro Yamada460483c2016-06-17 19:24:29 +090046 select OF_BOARD_SETUP
Masahiro Yamada063eb1e2016-04-21 14:43:18 +090047
Masahiro Yamada89c0b152016-02-26 18:59:42 +090048endchoice
49
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090050config ARCH_UNIPHIER_LD4
Masahiro Yamada89c0b152016-02-26 18:59:42 +090051 bool "Enable UniPhier PH1-LD4 SoC support"
52 depends on ARCH_UNIPHIER_LD4_SLD8
53 default y
Masahiro Yamadafa714412015-07-21 14:04:22 +090054
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090055config ARCH_UNIPHIER_SLD8
Masahiro Yamada89c0b152016-02-26 18:59:42 +090056 bool "Enable UniPhier PH1-sLD8 SoC support"
57 depends on ARCH_UNIPHIER_LD4_SLD8
58 default y
Masahiro Yamada82069432014-10-03 19:21:07 +090059
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090060config ARCH_UNIPHIER_PRO5
Masahiro Yamada89c0b152016-02-26 18:59:42 +090061 bool "Enable UniPhier PH1-Pro5 SoC support"
62 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
63 default y
Masahiro Yamadad5167d52015-09-22 00:27:40 +090064
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090065config ARCH_UNIPHIER_PXS2
Masahiro Yamada89c0b152016-02-26 18:59:42 +090066 bool "Enable UniPhier ProXstream2 SoC support"
67 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
68 default y
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090069
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090070config ARCH_UNIPHIER_LD6B
Masahiro Yamada89c0b152016-02-26 18:59:42 +090071 bool "Enable UniPhier PH1-LD6b SoC support"
72 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
73 default y
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090074
Masahiro Yamadabf44dde2016-08-10 16:08:45 +090075config CACHE_UNIPHIER
76 bool "Enable the UniPhier L2 cache controller"
77 depends on ARCH_UNIPHIER_32BIT
78 default y
79 help
80 This option allows to use the UniPhier System Cache as L2 cache.
81
Masahiro Yamada4903b6d2015-09-11 20:17:45 +090082config MICRO_SUPPORT_CARD
83 bool "Use Micro Support Card"
Masahiro Yamada39c450d2014-12-06 00:03:21 +090084 help
Masahiro Yamada4903b6d2015-09-11 20:17:45 +090085 This option provides support for the expansion board, available
86 on some UniPhier reference boards.
Masahiro Yamada39c450d2014-12-06 00:03:21 +090087
88 Say Y to use the on-board UART, Ether, LED devices.
89
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +090090config CMD_PINMON
91 bool "Enable boot mode pins monitor command"
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +090092 default y
93 help
94 The command "pinmon" shows the state of the boot mode pins.
95 The boot mode pins are latched when the system reset is deasserted
96 and determine which device the system should load a boot image from.
97
Masahiro Yamada8f899ed2014-12-19 20:20:53 +090098config CMD_DDRPHY_DUMP
99 bool "Enable dump command of DDR PHY parameters"
Masahiro Yamada53c59ae2016-03-18 16:41:43 +0900100 depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || ARCH_UNIPHIER_SLD8
Masahiro Yamada6e3de882016-03-18 16:41:47 +0900101 default y
Masahiro Yamada8f899ed2014-12-19 20:20:53 +0900102 help
103 The command "ddrphy" shows the resulting parameters of DDR PHY
104 training; it is useful for the evaluation of DDR PHY training.
105
Masahiro Yamadabfffa2c2016-01-09 01:51:15 +0900106config CMD_DDRMPHY_DUMP
107 bool "Enable dump command of DDR Multi PHY parameters"
Masahiro Yamada53c59ae2016-03-18 16:41:43 +0900108 depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B
Masahiro Yamada6e3de882016-03-18 16:41:47 +0900109 default y
Masahiro Yamadabfffa2c2016-01-09 01:51:15 +0900110 help
111 The command "ddrmphy" shows the resulting parameters of DDR Multi PHY
112 training; it is useful for the evaluation of DDR Multi PHY training.
113
Masahiro Yamada563ee4c2015-05-29 17:30:01 +0900114endif