xref: /openbmc/u-boot/arch/mips/mach-bmips/Kconfig (revision 6243c884)
1menu "Broadcom MIPS platforms"
2	depends on ARCH_BMIPS
3
4config SYS_MALLOC_F_LEN
5	default 0x1000
6
7config SYS_SOC
8	default "bcm3380" if SOC_BMIPS_BCM3380
9	default "bcm6318" if SOC_BMIPS_BCM6318
10	default "bcm6328" if SOC_BMIPS_BCM6328
11	default "bcm6338" if SOC_BMIPS_BCM6338
12	default "bcm6348" if SOC_BMIPS_BCM6348
13	default "bcm6358" if SOC_BMIPS_BCM6358
14	default "bcm6368" if SOC_BMIPS_BCM6368
15	default "bcm63268" if SOC_BMIPS_BCM63268
16
17choice
18	prompt "Broadcom MIPS SoC select"
19
20config SOC_BMIPS_BCM3380
21	bool "BMIPS BCM3380 family"
22	select SUPPORTS_BIG_ENDIAN
23	select SUPPORTS_CPU_MIPS32_R1
24	select MIPS_TUNE_4KC
25	select MIPS_L1_CACHE_SHIFT_4
26	select SWAP_IO_SPACE
27	select SYSRESET_WATCHDOG
28	help
29	  This supports BMIPS BCM3380 family.
30
31config SOC_BMIPS_BCM6318
32	bool "BMIPS BCM6318 family"
33	select SUPPORTS_BIG_ENDIAN
34	select SUPPORTS_CPU_MIPS32_R1
35	select MIPS_TUNE_4KC
36	select MIPS_L1_CACHE_SHIFT_4
37	select SWAP_IO_SPACE
38	select SYSRESET_SYSCON
39	help
40	  This supports BMIPS BCM6318 family.
41
42config SOC_BMIPS_BCM6328
43	bool "BMIPS BCM6328 family"
44	select SUPPORTS_BIG_ENDIAN
45	select SUPPORTS_CPU_MIPS32_R1
46	select MIPS_TUNE_4KC
47	select MIPS_L1_CACHE_SHIFT_4
48	select SWAP_IO_SPACE
49	select SYSRESET_SYSCON
50	help
51	  This supports BMIPS BCM6328 family including BCM63281 and BCM63283.
52
53config SOC_BMIPS_BCM6338
54	bool "BMIPS BCM6338 family"
55	select SUPPORTS_BIG_ENDIAN
56	select SUPPORTS_CPU_MIPS32_R1
57	select MIPS_TUNE_4KC
58	select MIPS_L1_CACHE_SHIFT_4
59	select SWAP_IO_SPACE
60	select SYSRESET_SYSCON
61	help
62	  This supports BMIPS BCM6338 family.
63
64config SOC_BMIPS_BCM6348
65	bool "BMIPS BCM6348 family"
66	select SUPPORTS_BIG_ENDIAN
67	select SUPPORTS_CPU_MIPS32_R1
68	select MIPS_TUNE_4KC
69	select MIPS_L1_CACHE_SHIFT_4
70	select SWAP_IO_SPACE
71	select SYSRESET_WATCHDOG
72	help
73	  This supports BMIPS BCM6348 family.
74
75config SOC_BMIPS_BCM6358
76	bool "BMIPS BCM6358 family"
77	select SUPPORTS_BIG_ENDIAN
78	select SUPPORTS_CPU_MIPS32_R1
79	select MIPS_TUNE_4KC
80	select MIPS_L1_CACHE_SHIFT_4
81	select SWAP_IO_SPACE
82	select SYSRESET_SYSCON
83	help
84	  This supports BMIPS BCM6358 family including BCM6358 and BCM6359.
85
86config SOC_BMIPS_BCM6368
87	bool "BMIPS BCM6368 family"
88	select SUPPORTS_BIG_ENDIAN
89	select SUPPORTS_CPU_MIPS32_R1
90	select MIPS_TUNE_4KC
91	select MIPS_L1_CACHE_SHIFT_4
92	select SWAP_IO_SPACE
93	select SYSRESET_SYSCON
94	help
95	  This supports BMIPS BCM6368 family including BCM6368 and BCM6369.
96
97config SOC_BMIPS_BCM63268
98	bool "BMIPS BCM63268 family"
99	select SUPPORTS_BIG_ENDIAN
100	select SUPPORTS_CPU_MIPS32_R1
101	select MIPS_TUNE_4KC
102	select MIPS_L1_CACHE_SHIFT_4
103	select SWAP_IO_SPACE
104	select SYSRESET_SYSCON
105	help
106	  This supports BMIPS BCM63268 family including BCM63168, BCM63169,
107	  BCM63268 and BCM63269.
108
109endchoice
110
111choice
112	prompt "Board select"
113
114config BOARD_COMTREND_AR5315U
115	bool "Comtrend AR-5315u"
116	depends on SOC_BMIPS_BCM6318
117	select BMIPS_SUPPORTS_BOOT_RAM
118	help
119	  Comtrend AR-5315u boards have a BCM6318 SoC with 64 MB of RAM and 16
120	  MB of flash (SPI).
121	  Between its different peripherals there's an integrated switch with 4
122	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
123	  a BCM43217 (PCIe).
124
125config BOARD_COMTREND_AR5387UN
126	bool "Comtrend AR-5387un"
127	depends on SOC_BMIPS_BCM6328
128	select BMIPS_SUPPORTS_BOOT_RAM
129	help
130	  Comtrend AR-5387un boards have a BCM6328 SoC with 64 MB of RAM and 16
131	  MB of flash (SPI).
132	  Between its different peripherals there's an integrated switch with 4
133	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
134	  a BCM43225 (PCIe).
135
136config BOARD_COMTREND_CT5361
137	bool "Comtrend CT-5361"
138	depends on SOC_BMIPS_BCM6348
139	select BMIPS_SUPPORTS_BOOT_RAM
140	help
141	  Comtrend CT-5361 boards have a BCM6348 SoC with 16 MB of RAM and 4 MB
142	  of flash (CFI).
143	  Between its different peripherals there's a BCM5325 switch with 4
144	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and a
145	  BCM4312 (miniPCI).
146
147config BOARD_COMTREND_VR3032U
148	bool "Comtrend VR-3032u board"
149	depends on SOC_BMIPS_BCM63268
150	select BMIPS_SUPPORTS_BOOT_RAM
151	help
152	  Comtrend VR-3032u boards have a BCM63268 SoC with 64 MB of RAM and
153	  128 MB of flash (NAND).
154	  Between its different peripherals there's an integrated switch with 4
155	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
156	  and a BCM6362 (integrated).
157
158config BOARD_COMTREND_WAP5813N
159	bool "Comtrend WAP-5813n board"
160	depends on SOC_BMIPS_BCM6368
161	select BMIPS_SUPPORTS_BOOT_RAM
162	help
163	  Comtrend WAP-5813n boards have a BCM6369 SoC with 64 MB of RAM and
164	  8 MB of flash (CFI).
165	  Between its different peripherals there's a BCM53115 switch with 5
166	  ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
167	  and a BCM4322 (miniPCI).
168
169config BOARD_HUAWEI_HG556A
170	bool "Huawei EchoLife HG556a"
171	depends on SOC_BMIPS_BCM6358
172	select BMIPS_SUPPORTS_BOOT_RAM
173	help
174	  Huawei EchoLife HG556a boards have a BCM6358 SoC with 64 MB of RAM
175	  and 16 MB of flash (CFI).
176	  Between its different peripherals there's a BCM5325 switch with 4
177	  ethernet ports, 3 USB ports, 1 UART, GPIO buttons and LEDs, and
178	  a RT3062F/AR9223 (PCI).
179
180config BOARD_NETGEAR_CG3100D
181	bool "Netgear CG3100D"
182	depends on SOC_BMIPS_BCM3380
183	select BMIPS_SUPPORTS_BOOT_RAM
184	help
185	  Netgear CG3100D boards have a BCM3380 SoC with 64 MB of RAM and 8 MB
186	  of flash (SPI).
187	  Between its different peripherals there's a BCM53115 switch with 4
188	  ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM43225
189	  (miniPCIe).
190
191config BOARD_SAGEM_FAST1704
192	bool "Sagem F@ST1704"
193	depends on SOC_BMIPS_BCM6338
194	select BMIPS_SUPPORTS_BOOT_RAM
195	help
196	  Sagem F@ST1704 boards have a BCM6338 SoC with 16 MB of RAM and 4 MB
197	  of flash (SPI).
198	  Between its different peripherals there's a BCM5325 switch with 4
199	  ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM4312
200	  (miniPCI).
201
202config BOARD_SFR_NB4_SER
203	bool "SFR NeufBox 4 (Sercomm)"
204	depends on SOC_BMIPS_BCM6358
205	select BMIPS_SUPPORTS_BOOT_RAM
206	help
207	  SFR NeufBox 4 (Sercomm) boards have a BCM6358 SoC with 32 MB of RAM
208	  and 8 MB of flash (CFI).
209	  Between its different peripherals there's a BCM5325 switch with 4
210	  ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and
211	  a BCM4318 (PCI).
212
213endchoice
214
215choice
216	prompt "Boot mode"
217
218config BMIPS_BOOT_RAM
219	bool "RAM boot"
220	depends on BMIPS_SUPPORTS_BOOT_RAM
221	help
222	  This builds an image that is linked to a RAM address. It can be used
223	  for booting from CFE via TFTP using an ELF image, but it can also be
224	  booted from RAM by other bootloaders using a BIN image.
225
226endchoice
227
228config BMIPS_SUPPORTS_BOOT_RAM
229	bool
230
231source "board/comtrend/ar5315u/Kconfig"
232source "board/comtrend/ar5387un/Kconfig"
233source "board/comtrend/ct5361/Kconfig"
234source "board/comtrend/vr3032u/Kconfig"
235source "board/comtrend/wap5813n/Kconfig"
236source "board/huawei/hg556a/Kconfig"
237source "board/netgear/cg3100d/Kconfig"
238source "board/sagem/f@st1704/Kconfig"
239source "board/sfr/nb4_ser/Kconfig"
240
241endmenu
242