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