xref: /openbmc/u-boot/arch/mips/mach-bmips/Kconfig (revision 23a21683)
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_SFR_NB4_SER
102	bool "SFR NeufBox 4 (Sercomm)"
103	depends on SOC_BMIPS_BCM6358
104	select BMIPS_SUPPORTS_BOOT_RAM
105
106endchoice
107
108choice
109	prompt "Boot mode"
110
111config BMIPS_BOOT_RAM
112	bool "RAM boot"
113	depends on BMIPS_SUPPORTS_BOOT_RAM
114	help
115	  This builds an image that is linked to a RAM address. It can be used
116	  for booting from CFE via TFTP using an ELF image, but it can also be
117	  booted from RAM by other bootloaders using a BIN image.
118
119endchoice
120
121config BMIPS_SUPPORTS_BOOT_RAM
122	bool
123
124source "board/comtrend/ar5387un/Kconfig"
125source "board/comtrend/ct5361/Kconfig"
126source "board/comtrend/vr3032u/Kconfig"
127source "board/huawei/hg556a/Kconfig"
128source "board/sfr/nb4_ser/Kconfig"
129
130endmenu
131