xref: /openbmc/u-boot/arch/arm/mach-uniphier/Kconfig (revision 729c2db7)
1if ARCH_UNIPHIER
2
3config SYS_CONFIG_NAME
4	default "uniphier"
5
6config ARCH_UNIPHIER_32BIT
7	bool
8	select CPU_V7
9
10config ARCH_UNIPHIER_64BIT
11	bool
12	select ARM64
13	select SPL_SEPARATE_BSS
14	select ARMV8_MULTIENTRY
15	select ARMV8_SPIN_TABLE
16
17choice
18        prompt "UniPhier SoC select"
19        default ARCH_UNIPHIER_PRO4
20
21config ARCH_UNIPHIER_SLD3
22	bool "UniPhier PH1-sLD3 SoC"
23	select ARCH_UNIPHIER_32BIT
24
25config ARCH_UNIPHIER_LD4_SLD8
26	bool "UniPhier PH1-LD4/PH1-sLD8 SoC"
27	select ARCH_UNIPHIER_32BIT
28
29config ARCH_UNIPHIER_PRO4
30	bool "UniPhier PH1-Pro4 SoC"
31	select ARCH_UNIPHIER_32BIT
32
33config ARCH_UNIPHIER_PRO5_PXS2_LD6B
34	bool "UniPhier PH1-Pro5/ProXstream2/PH1-LD6b SoC"
35	select ARCH_UNIPHIER_32BIT
36
37config ARCH_UNIPHIER_LD11
38	bool "UniPhier PH1-LD11 SoC"
39	select ARCH_UNIPHIER_64BIT
40
41config ARCH_UNIPHIER_LD20
42	bool "UniPhier PH1-LD20 SoC"
43	select ARCH_UNIPHIER_64BIT
44	select OF_BOARD_SETUP
45
46endchoice
47
48config ARCH_UNIPHIER_LD4
49	bool "Enable UniPhier PH1-LD4 SoC support"
50	depends on ARCH_UNIPHIER_LD4_SLD8
51	default y
52
53config ARCH_UNIPHIER_SLD8
54	bool "Enable UniPhier PH1-sLD8 SoC support"
55	depends on ARCH_UNIPHIER_LD4_SLD8
56	default y
57
58config ARCH_UNIPHIER_PRO5
59	bool "Enable UniPhier PH1-Pro5 SoC support"
60	depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
61	default y
62
63config ARCH_UNIPHIER_PXS2
64	bool "Enable UniPhier ProXstream2 SoC support"
65	depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
66	default y
67
68config ARCH_UNIPHIER_LD6B
69	bool "Enable UniPhier PH1-LD6b SoC support"
70	depends on ARCH_UNIPHIER_PRO5_PXS2_LD6B
71	default y
72
73config MICRO_SUPPORT_CARD
74	bool "Use Micro Support Card"
75	help
76	  This option provides support for the expansion board, available
77	  on some UniPhier reference boards.
78
79	  Say Y to use the on-board UART, Ether, LED devices.
80
81config CMD_PINMON
82	bool "Enable boot mode pins monitor command"
83	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
89config CMD_DDRPHY_DUMP
90	bool "Enable dump command of DDR PHY parameters"
91	depends on ARCH_UNIPHIER_LD4 || ARCH_UNIPHIER_PRO4 || ARCH_UNIPHIER_SLD8
92	default y
93	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
97config CMD_DDRMPHY_DUMP
98	bool "Enable dump command of DDR Multi PHY parameters"
99	depends on ARCH_UNIPHIER_PXS2 || ARCH_UNIPHIER_LD6B
100	default y
101	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
105endif
106