xref: /openbmc/u-boot/arch/arm/mach-mvebu/Kconfig (revision ec90ac73)
1if ARCH_MVEBU
2
3config ARMADA_32BIT
4	bool
5	select CPU_V7
6	select SUPPORT_SPL
7	select SPL_DM
8	select SPL_DM_SEQ_ALIAS
9	select SPL_OF_CONTROL
10	select SPL_SIMPLE_BUS
11
12config ARMADA_64BIT
13	bool
14	select ARM64
15
16# ARMv7 SoCs...
17config ARMADA_375
18	bool
19	select ARMADA_32BIT
20
21config ARMADA_38X
22	bool
23	select ARMADA_32BIT
24
25config ARMADA_XP
26	bool
27	select ARMADA_32BIT
28
29# ARMv8 SoCs...
30config ARMADA_3700
31	bool
32	select ARM64
33
34# Armada 7K and 8K are very similar - use only one Kconfig symbol for both
35config ARMADA_8K
36	bool
37	select ARM64
38
39# Armada XP/38x SoC types...
40config MV78230
41	bool
42	select ARMADA_XP
43
44config MV78260
45	bool
46	select ARMADA_XP
47
48config MV78460
49	bool
50	select ARMADA_XP
51
52config 88F6820
53	bool
54	select ARMADA_38X
55
56choice
57	prompt "Armada XP/375/38x/3700/7K/8K board select"
58	optional
59
60config TARGET_CLEARFOG
61	bool "Support ClearFog"
62	select 88F6820
63
64config TARGET_MVEBU_DB_88F3720
65	bool "Support DB-88F3720 Armada 3720"
66	select ARMADA_3700
67
68config TARGET_DB_88F6720
69	bool "Support DB-88F6720 Armada 375"
70	select ARMADA_375
71
72config TARGET_DB_88F6820_GP
73	bool "Support DB-88F6820-GP"
74	select 88F6820
75
76config TARGET_DB_88F6820_AMC
77	bool "Support DB-88F6820-AMC"
78	select 88F6820
79
80config TARGET_MVEBU_DB_88F7040
81	bool "Support DB-88F7040 Armada 7040"
82	select ARMADA_8K
83
84config TARGET_DB_MV784MP_GP
85	bool "Support db-mv784mp-gp"
86	select MV78460
87
88config TARGET_DS414
89	bool "Support Synology DS414"
90	select MV78230
91
92config TARGET_MAXBCM
93	bool "Support maxbcm"
94	select MV78460
95
96config TARGET_THEADORABLE
97	bool "Support theadorable Armada XP"
98	select MV78260
99
100endchoice
101
102config SYS_BOARD
103	default "clearfog" if TARGET_CLEARFOG
104	default "mvebu_db-88f3720" if TARGET_MVEBU_DB_88F3720
105	default "db-88f6720" if TARGET_DB_88F6720
106	default "db-88f6820-gp" if TARGET_DB_88F6820_GP
107	default "db-88f6820-amc" if TARGET_DB_88F6820_AMC
108	default "mvebu_db-88f7040" if TARGET_MVEBU_DB_88F7040
109	default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
110	default "ds414" if TARGET_DS414
111	default "maxbcm" if TARGET_MAXBCM
112	default "theadorable" if TARGET_THEADORABLE
113
114config SYS_CONFIG_NAME
115	default "clearfog" if TARGET_CLEARFOG
116	default "mvebu_db-88f3720" if TARGET_MVEBU_DB_88F3720
117	default "db-88f6720" if TARGET_DB_88F6720
118	default "db-88f6820-gp" if TARGET_DB_88F6820_GP
119	default "db-88f6820-amc" if TARGET_DB_88F6820_AMC
120	default "mvebu_db-88f7040" if TARGET_MVEBU_DB_88F7040
121	default "db-mv784mp-gp" if TARGET_DB_MV784MP_GP
122	default "ds414" if TARGET_DS414
123	default "maxbcm" if TARGET_MAXBCM
124	default "theadorable" if TARGET_THEADORABLE
125
126config SYS_VENDOR
127	default "Marvell" if TARGET_DB_MV784MP_GP
128	default "Marvell" if TARGET_MVEBU_DB_88F3720
129	default "Marvell" if TARGET_DB_88F6720
130	default "Marvell" if TARGET_DB_88F6820_GP
131	default "Marvell" if TARGET_DB_88F6820_AMC
132	default "Marvell" if TARGET_MVEBU_DB_88F7040
133	default "solidrun" if TARGET_CLEARFOG
134	default "Synology" if TARGET_DS414
135
136config SYS_SOC
137	default "mvebu"
138
139endif
140