blob: e256eeb6686805131a1a5cb5aaf992df1cf6de1e [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
9
10config ARCH_UNIPHIER_64BIT
11 bool
12 select ARM64
13 select SPL_SEPARATE_BSS
Masahiro Yamada18c11982016-06-17 19:24:28 +090014 select ARMV8_MULTIENTRY
Masahiro Yamada48efc8a2016-06-17 19:24:27 +090015
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090016choice
17 prompt "UniPhier SoC select"
Masahiro Yamadaea65c982016-03-18 16:41:43 +090018 default ARCH_UNIPHIER_PRO4
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090019
Masahiro Yamadaea65c982016-03-18 16:41:43 +090020config ARCH_UNIPHIER_SLD3
Masahiro Yamada323d1f92015-09-22 00:27:39 +090021 bool "UniPhier PH1-sLD3 SoC"
Masahiro Yamada48efc8a2016-06-17 19:24:27 +090022 select ARCH_UNIPHIER_32BIT
Masahiro Yamada66cba042014-10-03 19:21:07 +090023
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090024config ARCH_UNIPHIER_LD4_SLD8
25 bool "UniPhier PH1-LD4/PH1-sLD8 SoC"
Masahiro Yamada48efc8a2016-06-17 19:24:27 +090026 select ARCH_UNIPHIER_32BIT
Masahiro Yamada66cba042014-10-03 19:21:07 +090027
Masahiro Yamadaea65c982016-03-18 16:41:43 +090028config ARCH_UNIPHIER_PRO4
Masahiro Yamada323d1f92015-09-22 00:27:39 +090029 bool "UniPhier PH1-Pro4 SoC"
Masahiro Yamada48efc8a2016-06-17 19:24:27 +090030 select ARCH_UNIPHIER_32BIT
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090031
32config ARCH_UNIPHIER_PRO5_PXS2_LD6B
33 bool "UniPhier PH1-Pro5/ProXstream2/PH1-LD6b SoC"
Masahiro Yamada48efc8a2016-06-17 19:24:27 +090034 select ARCH_UNIPHIER_32BIT
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090035
Masahiro Yamada667dbcd2016-05-24 21:14:01 +090036config ARCH_UNIPHIER_LD11
37 bool "UniPhier PH1-LD11 SoC"
Masahiro Yamada48efc8a2016-06-17 19:24:27 +090038 select ARCH_UNIPHIER_64BIT
Masahiro Yamada667dbcd2016-05-24 21:14:01 +090039
Masahiro Yamada9d0c2ce2016-04-21 14:43:18 +090040config ARCH_UNIPHIER_LD20
41 bool "UniPhier PH1-LD20 SoC"
Masahiro Yamada48efc8a2016-06-17 19:24:27 +090042 select ARCH_UNIPHIER_64BIT
Masahiro Yamada51ea5a02016-06-17 19:24:29 +090043 select OF_BOARD_SETUP
Masahiro Yamada9d0c2ce2016-04-21 14:43:18 +090044
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090045endchoice
46
Masahiro Yamadaea65c982016-03-18 16:41:43 +090047config ARCH_UNIPHIER_LD4
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090048 bool "Enable UniPhier PH1-LD4 SoC support"
49 depends on ARCH_UNIPHIER_LD4_SLD8
50 default y
Masahiro Yamada3365b4e2015-07-21 14:04:22 +090051
Masahiro Yamadaea65c982016-03-18 16:41:43 +090052config ARCH_UNIPHIER_SLD8
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090053 bool "Enable UniPhier PH1-sLD8 SoC support"
54 depends on ARCH_UNIPHIER_LD4_SLD8
55 default y
Masahiro Yamada66cba042014-10-03 19:21:07 +090056
Masahiro Yamadaea65c982016-03-18 16:41:43 +090057config ARCH_UNIPHIER_PRO5
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090058 bool "Enable UniPhier PH1-Pro5 SoC support"
59 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
60 default y
Masahiro Yamada28f40d42015-09-22 00:27:40 +090061
Masahiro Yamadaea65c982016-03-18 16:41:43 +090062config ARCH_UNIPHIER_PXS2
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090063 bool "Enable UniPhier ProXstream2 SoC support"
64 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
65 default y
Masahiro Yamada019df872015-09-22 00:27:41 +090066
Masahiro Yamadaea65c982016-03-18 16:41:43 +090067config ARCH_UNIPHIER_LD6B
Masahiro Yamada5fb87a12016-02-26 18:59:42 +090068 bool "Enable UniPhier PH1-LD6b SoC support"
69 depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
70 default y
Masahiro Yamada019df872015-09-22 00:27:41 +090071
Masahiro Yamada98798422015-09-11 20:17:45 +090072config MICRO_SUPPORT_CARD
73 bool "Use Micro Support Card"
Masahiro Yamada32014552014-12-06 00:03:21 +090074 help
Masahiro Yamada98798422015-09-11 20:17:45 +090075 This option provides support for the expansion board, available
76 on some UniPhier reference boards.
Masahiro Yamada32014552014-12-06 00:03:21 +090077
78 Say Y to use the on-board UART, Ether, LED devices.
79
Masahiro Yamada59ca5532014-10-20 20:45:22 +090080config CMD_PINMON
81 bool "Enable boot mode pins monitor command"
Masahiro Yamada59ca5532014-10-20 20:45:22 +090082 default y
83 help
84 The command "pinmon" shows the state of the boot mode pins.
85 The boot mode pins are latched when the system reset is deasserted
86 and determine which device the system should load a boot image from.
87
Masahiro Yamadac67b2af2014-12-19 20:20:53 +090088config CMD_DDRPHY_DUMP
89 bool "Enable dump command of DDR PHY parameters"
Masahiro Yamadaea65c982016-03-18 16:41:43 +090090 depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || ARCH_UNIPHIER_SLD8
Masahiro Yamadaf6c65bc2016-03-18 16:41:47 +090091 default y
Masahiro Yamadac67b2af2014-12-19 20:20:53 +090092 help
93 The command "ddrphy" shows the resulting parameters of DDR PHY
94 training; it is useful for the evaluation of DDR PHY training.
95
Masahiro Yamada93d92d42016-01-09 01:51:15 +090096config CMD_DDRMPHY_DUMP
97 bool "Enable dump command of DDR Multi PHY parameters"
Masahiro Yamadaea65c982016-03-18 16:41:43 +090098 depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B
Masahiro Yamadaf6c65bc2016-03-18 16:41:47 +090099 default y
Masahiro Yamada93d92d42016-01-09 01:51:15 +0900100 help
101 The command "ddrmphy" shows the resulting parameters of DDR Multi PHY
102 training; it is useful for the evaluation of DDR Multi PHY training.
103
Masahiro Yamadab6ef3a32015-05-29 17:30:01 +0900104endif