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