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