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