blob: e39ced674f1de0ce25d32fa339b0997724ecde7a [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
9
10config ARCH_UNIPHIER_64BIT
11 bool
12 select ARM64
13 select SPL_SEPARATE_BSS
Masahiro Yamada3a0850d2016-06-17 19:24:28 +090014 select ARMV8_MULTIENTRY
Masahiro Yamadac2675812016-07-17 01:38:21 +090015 select ARMV8_SPIN_TABLE
Masahiro Yamada74b79f82016-06-17 19:24:27 +090016
Masahiro Yamada89c0b152016-02-26 18:59:42 +090017choice
18 prompt "UniPhier SoC select"
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090019 default ARCH_UNIPHIER_PRO4
Masahiro Yamada89c0b152016-02-26 18:59:42 +090020
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090021config ARCH_UNIPHIER_SLD3
Masahiro Yamada75f16f82015-09-22 00:27:39 +090022 bool "UniPhier PH1-sLD3 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090023 select ARCH_UNIPHIER_32BIT
Masahiro Yamada82069432014-10-03 19:21:07 +090024
Masahiro Yamada89c0b152016-02-26 18:59:42 +090025config ARCH_UNIPHIER_LD4_SLD8
26 bool "UniPhier PH1-LD4/PH1-sLD8 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090027 select ARCH_UNIPHIER_32BIT
Masahiro Yamada82069432014-10-03 19:21:07 +090028
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090029config ARCH_UNIPHIER_PRO4
Masahiro Yamada75f16f82015-09-22 00:27:39 +090030 bool "UniPhier PH1-Pro4 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090031 select ARCH_UNIPHIER_32BIT
Masahiro Yamada89c0b152016-02-26 18:59:42 +090032
33config ARCH_UNIPHIER_PRO5_PXS2_LD6B
34 bool "UniPhier PH1-Pro5/ProXstream2/PH1-LD6b SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090035 select ARCH_UNIPHIER_32BIT
Masahiro Yamada89c0b152016-02-26 18:59:42 +090036
Masahiro Yamada8bbbcbd2016-05-24 21:14:01 +090037config ARCH_UNIPHIER_LD11
38 bool "UniPhier PH1-LD11 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090039 select ARCH_UNIPHIER_64BIT
Masahiro Yamada8bbbcbd2016-05-24 21:14:01 +090040
Masahiro Yamada063eb1e2016-04-21 14:43:18 +090041config ARCH_UNIPHIER_LD20
42 bool "UniPhier PH1-LD20 SoC"
Masahiro Yamada74b79f82016-06-17 19:24:27 +090043 select ARCH_UNIPHIER_64BIT
Masahiro Yamada460483c2016-06-17 19:24:29 +090044 select OF_BOARD_SETUP
Masahiro Yamada063eb1e2016-04-21 14:43:18 +090045
Masahiro Yamada89c0b152016-02-26 18:59:42 +090046endchoice
47
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090048config ARCH_UNIPHIER_LD4
Masahiro Yamada89c0b152016-02-26 18:59:42 +090049 bool "Enable UniPhier PH1-LD4 SoC support"
50 depends on ARCH_UNIPHIER_LD4_SLD8
51 default y
Masahiro Yamadafa714412015-07-21 14:04:22 +090052
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090053config ARCH_UNIPHIER_SLD8
Masahiro Yamada89c0b152016-02-26 18:59:42 +090054 bool "Enable UniPhier PH1-sLD8 SoC support"
55 depends on ARCH_UNIPHIER_LD4_SLD8
56 default y
Masahiro Yamada82069432014-10-03 19:21:07 +090057
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090058config ARCH_UNIPHIER_PRO5
Masahiro Yamada89c0b152016-02-26 18:59:42 +090059 bool "Enable UniPhier PH1-Pro5 SoC support"
60 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
61 default y
Masahiro Yamadad5167d52015-09-22 00:27:40 +090062
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090063config ARCH_UNIPHIER_PXS2
Masahiro Yamada89c0b152016-02-26 18:59:42 +090064 bool "Enable UniPhier ProXstream2 SoC support"
65 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
66 default y
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090067
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090068config ARCH_UNIPHIER_LD6B
Masahiro Yamada89c0b152016-02-26 18:59:42 +090069 bool "Enable UniPhier PH1-LD6b SoC support"
70 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
71 default y
Masahiro Yamada1fe65d32015-09-22 00:27:41 +090072
Masahiro Yamada4903b6d2015-09-11 20:17:45 +090073config MICRO_SUPPORT_CARD
74 bool "Use Micro Support Card"
Masahiro Yamada39c450d2014-12-06 00:03:21 +090075 help
Masahiro Yamada4903b6d2015-09-11 20:17:45 +090076 This option provides support for the expansion board, available
77 on some UniPhier reference boards.
Masahiro Yamada39c450d2014-12-06 00:03:21 +090078
79 Say Y to use the on-board UART, Ether, LED devices.
80
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +090081config CMD_PINMON
82 bool "Enable boot mode pins monitor command"
Masahiro Yamada4b5e7e32014-10-20 20:45:22 +090083 default y
84 help
85 The command "pinmon" shows the state of the boot mode pins.
86 The boot mode pins are latched when the system reset is deasserted
87 and determine which device the system should load a boot image from.
88
Masahiro Yamada8f899ed2014-12-19 20:20:53 +090089config CMD_DDRPHY_DUMP
90 bool "Enable dump command of DDR PHY parameters"
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090091 depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || ARCH_UNIPHIER_SLD8
Masahiro Yamada6e3de882016-03-18 16:41:47 +090092 default y
Masahiro Yamada8f899ed2014-12-19 20:20:53 +090093 help
94 The command "ddrphy" shows the resulting parameters of DDR PHY
95 training; it is useful for the evaluation of DDR PHY training.
96
Masahiro Yamadabfffa2c2016-01-09 01:51:15 +090097config CMD_DDRMPHY_DUMP
98 bool "Enable dump command of DDR Multi PHY parameters"
Masahiro Yamada53c59ae2016-03-18 16:41:43 +090099 depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B
Masahiro Yamada6e3de882016-03-18 16:41:47 +0900100 default y
Masahiro Yamadabfffa2c2016-01-09 01:51:15 +0900101 help
102 The command "ddrmphy" shows the resulting parameters of DDR Multi PHY
103 training; it is useful for the evaluation of DDR Multi PHY training.
104
Masahiro Yamada563ee4c2015-05-29 17:30:01 +0900105endif