blob: 7c753481cba5d442eafa01abab20c011b54968eb [file] [log] [blame]
Masahiro Yamada563ee4c2015-05-29 17:30:01 +09001if ARCH_UNIPHIER
Masahiro Yamada82069432014-10-03 19:21:07 +09002
Simon Glassf2a89462016-09-12 23:18:41 -06003config SPL_LIBCOMMON_SUPPORT
4 default y
5
Simon Glassb16c92c2016-09-12 23:18:43 -06006config SPL_LIBGENERIC_SUPPORT
7 default y
8
Simon Glassbd58f1d2016-09-12 23:18:44 -06009config SPL_MMC_SUPPORT
10 default y if !ARCH_UNIPHIER_64BIT
11
Simon Glassd5a307a2016-09-12 23:18:48 -060012config SPL_NAND_SUPPORT
13 default y if !ARM64
14
Masahiro Yamada82069432014-10-03 19:21:07 +090015config SYS_CONFIG_NAME
Masahiro Yamada1e72b1c2014-12-06 00:03:22 +090016 default "uniphier"
Masahiro Yamada82069432014-10-03 19:21:07 +090017
Masahiro Yamada74b79f82016-06-17 19:24:27 +090018config ARCH_UNIPHIER_32BIT
19 bool
20 select CPU_V7
Masahiro Yamada0ae5c5a2016-08-10 16:08:49 +090021 select CPU_V7_HAS_NONSEC
22 select ARMV7_NONSEC
Masahiro Yamadad5415b22016-08-30 16:22:22 +090023 select ARCH_SUPPORT_PSCI
Masahiro Yamada74b79f82016-06-17 19:24:27 +090024
25config ARCH_UNIPHIER_64BIT
26 bool
27 select ARM64
28 select SPL_SEPARATE_BSS
Masahiro Yamada3a0850d2016-06-17 19:24:28 +090029 select ARMV8_MULTIENTRY
Masahiro Yamadac2675812016-07-17 01:38:21 +090030 select ARMV8_SPIN_TABLE
Masahiro Yamada74b79f82016-06-17 19:24:27 +090031
Masahiro Yamada89c0b152016-02-26 18:59:42 +090032choice
33 prompt "UniPhier SoC select"
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090034 default ARCH_UNIPHIER_PRO4
Masahiro Yamada89c0b152016-02-26 18:59:42 +090035
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090036config ARCH_UNIPHIER_SLD3
Masahiro Yamada75f16f82015-09-22 00:27:39 +090037 bool "UniPhier PH1-sLD3 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090038 select ARCH_UNIPHIER_32BIT
Masahiro Yamada82069432014-10-03 19:21:07 +090039
Masahiro Yamada89c0b152016-02-26 18:59:42 +090040config ARCH_UNIPHIER_LD4_SLD8
41 bool "UniPhier PH1-LD4/PH1-sLD8 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090042 select ARCH_UNIPHIER_32BIT
Masahiro Yamada82069432014-10-03 19:21:07 +090043
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090044config ARCH_UNIPHIER_PRO4
Masahiro Yamada75f16f82015-09-22 00:27:39 +090045 bool "UniPhier PH1-Pro4 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090046 select ARCH_UNIPHIER_32BIT
Masahiro Yamada89c0b152016-02-26 18:59:42 +090047
48config ARCH_UNIPHIER_PRO5_PXS2_LD6B
49 bool "UniPhier PH1-Pro5/ProXstream2/PH1-LD6b SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090050 select ARCH_UNIPHIER_32BIT
Masahiro Yamada89c0b152016-02-26 18:59:42 +090051
Masahiro Yamada8bbbcbd2016-05-24 21:14:01 +090052config ARCH_UNIPHIER_LD11
53 bool "UniPhier PH1-LD11 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090054 select ARCH_UNIPHIER_64BIT
Masahiro Yamada8bbbcbd2016-05-24 21:14:01 +090055
Masahiro Yamada063eb1e2016-04-21 14:43:18 +090056config ARCH_UNIPHIER_LD20
57 bool "UniPhier PH1-LD20 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090058 select ARCH_UNIPHIER_64BIT
Masahiro Yamada460483c2016-06-17 19:24:29 +090059 select OF_BOARD_SETUP
Masahiro Yamada063eb1e2016-04-21 14:43:18 +090060
Masahiro Yamada89c0b152016-02-26 18:59:42 +090061endchoice
62
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090063config ARCH_UNIPHIER_LD4
Masahiro Yamada89c0b152016-02-26 18:59:42 +090064 bool "Enable UniPhier PH1-LD4 SoC support"
65 depends on ARCH_UNIPHIER_LD4_SLD8
66 default y
Masahiro Yamadafa714412015-07-21 14:04:22 +090067
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090068config ARCH_UNIPHIER_SLD8
Masahiro Yamada89c0b152016-02-26 18:59:42 +090069 bool "Enable UniPhier PH1-sLD8 SoC support"
70 depends on ARCH_UNIPHIER_LD4_SLD8
71 default y
Masahiro Yamada82069432014-10-03 19:21:07 +090072
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090073config ARCH_UNIPHIER_PRO5
Masahiro Yamada89c0b152016-02-26 18:59:42 +090074 bool "Enable UniPhier PH1-Pro5 SoC support"
75 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
76 default y
Masahiro Yamadad5167d52015-09-22 00:27:40 +090077
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090078config ARCH_UNIPHIER_PXS2
Masahiro Yamada89c0b152016-02-26 18:59:42 +090079 bool "Enable UniPhier ProXstream2 SoC support"
80 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
81 default y
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090082
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090083config ARCH_UNIPHIER_LD6B
Masahiro Yamada89c0b152016-02-26 18:59:42 +090084 bool "Enable UniPhier PH1-LD6b SoC support"
85 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
86 default y
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090087
Masahiro Yamadabf44dde2016-08-10 16:08:45 +090088config CACHE_UNIPHIER
89 bool "Enable the UniPhier L2 cache controller"
90 depends on ARCH_UNIPHIER_32BIT
Tom Rini84f9b612016-08-22 08:22:17 -040091 select SYS_CACHE_SHIFT_7
Masahiro Yamadabf44dde2016-08-10 16:08:45 +090092 default y
93 help
94 This option allows to use the UniPhier System Cache as L2 cache.
95
Masahiro Yamada4903b6d2015-09-11 20:17:45 +090096config MICRO_SUPPORT_CARD
97 bool "Use Micro Support Card"
Masahiro Yamada39c450d2014-12-06 00:03:21 +090098 help
Masahiro Yamada4903b6d2015-09-11 20:17:45 +090099 This option provides support for the expansion board, available
100 on some UniPhier reference boards.
Masahiro Yamada39c450d2014-12-06 00:03:21 +0900101
102 Say Y to use the on-board UART, Ether, LED devices.
103
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +0900104config CMD_PINMON
105 bool "Enable boot mode pins monitor command"
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +0900106 default y
107 help
108 The command "pinmon" shows the state of the boot mode pins.
109 The boot mode pins are latched when the system reset is deasserted
110 and determine which device the system should load a boot image from.
111
Masahiro Yamada8f899ed2014-12-19 20:20:53 +0900112config CMD_DDRPHY_DUMP
113 bool "Enable dump command of DDR PHY parameters"
Masahiro Yamada53c59ae2016-03-18 16:41:43 +0900114 depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || ARCH_UNIPHIER_SLD8
Masahiro Yamada6e3de882016-03-18 16:41:47 +0900115 default y
Masahiro Yamada8f899ed2014-12-19 20:20:53 +0900116 help
117 The command "ddrphy" shows the resulting parameters of DDR PHY
118 training; it is useful for the evaluation of DDR PHY training.
119
Masahiro Yamadabfffa2c2016-01-09 01:51:15 +0900120config CMD_DDRMPHY_DUMP
121 bool "Enable dump command of DDR Multi PHY parameters"
Masahiro Yamada53c59ae2016-03-18 16:41:43 +0900122 depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B
Masahiro Yamada6e3de882016-03-18 16:41:47 +0900123 default y
Masahiro Yamadabfffa2c2016-01-09 01:51:15 +0900124 help
125 The command "ddrmphy" shows the resulting parameters of DDR Multi PHY
126 training; it is useful for the evaluation of DDR Multi PHY training.
127
Masahiro Yamada563ee4c2015-05-29 17:30:01 +0900128endif