blob: db8b40523af80cfb7eed73d54a888b71fde883eb [file] [log] [blame]
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +02001menu "Broadcom MIPS platforms"
2 depends on ARCH_BMIPS
3
Álvaro Fernández Rojasb212b902018-01-20 11:45:39 +01004config SYS_MALLOC_F_LEN
5 default 0x1000
6
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +02007config SYS_SOC
Álvaro Fernández Rojasec8d4c92017-05-16 18:42:42 +02008 default "bcm3380" if SOC_BMIPS_BCM3380
Álvaro Fernández Rojas3aa45762017-04-25 00:39:23 +02009 default "bcm6328" if SOC_BMIPS_BCM6328
Álvaro Fernández Rojase2b9ed02017-05-16 18:46:58 +020010 default "bcm6338" if SOC_BMIPS_BCM6338
Álvaro Fernández Rojas92da83d2017-05-16 18:39:03 +020011 default "bcm6348" if SOC_BMIPS_BCM6348
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020012 default "bcm6358" if SOC_BMIPS_BCM6358
Álvaro Fernández Rojasff1e41e2017-04-25 00:39:25 +020013 default "bcm63268" if SOC_BMIPS_BCM63268
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020014
15choice
16 prompt "Broadcom MIPS SoC select"
17
Álvaro Fernández Rojasec8d4c92017-05-16 18:42:42 +020018config SOC_BMIPS_BCM3380
19 bool "BMIPS BCM3380 family"
20 select SUPPORTS_BIG_ENDIAN
21 select SUPPORTS_CPU_MIPS32_R1
22 select MIPS_TUNE_4KC
23 select MIPS_L1_CACHE_SHIFT_4
24 select SWAP_IO_SPACE
25 select SYSRESET_WATCHDOG
26 help
27 This supports BMIPS BCM3380 family.
28
Álvaro Fernández Rojas3aa45762017-04-25 00:39:23 +020029config SOC_BMIPS_BCM6328
30 bool "BMIPS BCM6328 family"
31 select SUPPORTS_BIG_ENDIAN
32 select SUPPORTS_CPU_MIPS32_R1
33 select MIPS_TUNE_4KC
34 select MIPS_L1_CACHE_SHIFT_4
35 select SWAP_IO_SPACE
36 select SYSRESET_SYSCON
37 help
38 This supports BMIPS BCM6328 family including BCM63281 and BCM63283.
39
Álvaro Fernández Rojase2b9ed02017-05-16 18:46:58 +020040config SOC_BMIPS_BCM6338
41 bool "BMIPS BCM6338 family"
42 select SUPPORTS_BIG_ENDIAN
43 select SUPPORTS_CPU_MIPS32_R1
44 select MIPS_TUNE_4KC
45 select MIPS_L1_CACHE_SHIFT_4
46 select SWAP_IO_SPACE
47 select SYSRESET_SYSCON
48 help
49 This supports BMIPS BCM6338 family.
50
Álvaro Fernández Rojas92da83d2017-05-16 18:39:03 +020051config SOC_BMIPS_BCM6348
52 bool "BMIPS BCM6348 family"
53 select SUPPORTS_BIG_ENDIAN
54 select SUPPORTS_CPU_MIPS32_R1
55 select MIPS_TUNE_4KC
56 select MIPS_L1_CACHE_SHIFT_4
57 select SWAP_IO_SPACE
58 select SYSRESET_WATCHDOG
59 help
60 This supports BMIPS BCM6348 family.
61
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020062config SOC_BMIPS_BCM6358
63 bool "BMIPS BCM6358 family"
64 select SUPPORTS_BIG_ENDIAN
65 select SUPPORTS_CPU_MIPS32_R1
66 select MIPS_TUNE_4KC
67 select MIPS_L1_CACHE_SHIFT_4
68 select SWAP_IO_SPACE
69 select SYSRESET_SYSCON
70 help
71 This supports BMIPS BCM6358 family including BCM6358 and BCM6359.
72
Álvaro Fernández Rojasff1e41e2017-04-25 00:39:25 +020073config SOC_BMIPS_BCM63268
74 bool "BMIPS BCM63268 family"
75 select SUPPORTS_BIG_ENDIAN
76 select SUPPORTS_CPU_MIPS32_R1
77 select MIPS_TUNE_4KC
78 select MIPS_L1_CACHE_SHIFT_4
79 select SWAP_IO_SPACE
80 select SYSRESET_SYSCON
81 help
82 This supports BMIPS BCM63268 family including BCM63168, BCM63169,
83 BCM63268 and BCM63269.
84
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020085endchoice
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +020086
87choice
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +020088 prompt "Board select"
89
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +020090config BOARD_COMTREND_AR5387UN
91 bool "Comtrend AR-5387un"
92 depends on SOC_BMIPS_BCM6328
93 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +020094 help
95 Comtrend AR-5387un boards have a BCM6328 SoC with 64 MB of RAM and 16
96 MB of flash (SPI).
97 Between its different peripherals there's an integrated switch with 4
98 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and
99 a BCM43225 (PCIe).
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +0200100
Álvaro Fernández Rojas2149f3b2017-05-16 18:39:04 +0200101config BOARD_COMTREND_CT5361
102 bool "Comtrend CT-5361"
103 depends on SOC_BMIPS_BCM6348
104 select BMIPS_SUPPORTS_BOOT_RAM
105 help
106 Comtrend CT-5361 boards have a BCM6348 SoC with 16 MB of RAM and 4 MB
107 of flash (CFI).
108 Between its different peripherals there's a BCM5325 switch with 4
109 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and a
110 BCM4312 (miniPCI).
111
Álvaro Fernández Rojas58e81b42017-04-25 00:39:26 +0200112config BOARD_COMTREND_VR3032U
113 bool "Comtrend VR-3032u board"
114 depends on SOC_BMIPS_BCM63268
115 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +0200116 help
117 Comtrend VR-3032u boards have a BCM63268 SoC with 64 MB of RAM and
118 128 MB of flash (NAND).
119 Between its different peripherals there's an integrated switch with 4
120 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs,
121 and a BCM6362 (integrated).
Álvaro Fernández Rojas58e81b42017-04-25 00:39:26 +0200122
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200123config BOARD_HUAWEI_HG556A
124 bool "Huawei EchoLife HG556a"
125 depends on SOC_BMIPS_BCM6358
126 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +0200127 help
128 Huawei EchoLife HG556a boards have a BCM6358 SoC with 64 MB of RAM
129 and 16 MB of flash (CFI).
130 Between its different peripherals there's a BCM5325 switch with 4
131 ethernet ports, 3 USB ports, 1 UART, GPIO buttons and LEDs, and
132 a RT3062F/AR9223 (PCI).
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200133
Álvaro Fernández Rojas2ea88e62017-05-16 18:42:43 +0200134config BOARD_NETGEAR_CG3100D
135 bool "Netgear CG3100D"
136 depends on SOC_BMIPS_BCM3380
137 select BMIPS_SUPPORTS_BOOT_RAM
138 help
139 Netgear CG3100D boards have a BCM3380 SoC with 64 MB of RAM and 8 MB
140 of flash (SPI).
141 Between its different peripherals there's a BCM53115 switch with 4
142 ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM43225
143 (miniPCIe).
144
Álvaro Fernández Rojas01188572017-05-16 18:46:59 +0200145config BOARD_SAGEM_FAST1704
146 bool "Sagem F@ST1704"
147 depends on SOC_BMIPS_BCM6338
148 select BMIPS_SUPPORTS_BOOT_RAM
149 help
150 Sagem F@ST1704 boards have a BCM6338 SoC with 16 MB of RAM and 4 MB
151 of flash (SPI).
152 Between its different peripherals there's a BCM5325 switch with 4
153 ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM4312
154 (miniPCI).
155
Álvaro Fernández Rojas52386c12017-05-11 11:01:30 +0200156config BOARD_SFR_NB4_SER
157 bool "SFR NeufBox 4 (Sercomm)"
158 depends on SOC_BMIPS_BCM6358
159 select BMIPS_SUPPORTS_BOOT_RAM
Álvaro Fernández Rojas30ddc6d2017-05-16 18:47:49 +0200160 help
161 SFR NeufBox 4 (Sercomm) boards have a BCM6358 SoC with 32 MB of RAM
162 and 8 MB of flash (CFI).
163 Between its different peripherals there's a BCM5325 switch with 4
164 ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and
165 a BCM4318 (PCI).
Álvaro Fernández Rojas52386c12017-05-11 11:01:30 +0200166
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200167endchoice
168
169choice
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +0200170 prompt "Boot mode"
171
172config BMIPS_BOOT_RAM
173 bool "RAM boot"
174 depends on BMIPS_SUPPORTS_BOOT_RAM
175 help
176 This builds an image that is linked to a RAM address. It can be used
177 for booting from CFE via TFTP using an ELF image, but it can also be
178 booted from RAM by other bootloaders using a BIN image.
179
180endchoice
181
182config BMIPS_SUPPORTS_BOOT_RAM
183 bool
184
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +0200185source "board/comtrend/ar5387un/Kconfig"
Álvaro Fernández Rojas2149f3b2017-05-16 18:39:04 +0200186source "board/comtrend/ct5361/Kconfig"
Álvaro Fernández Rojas58e81b42017-04-25 00:39:26 +0200187source "board/comtrend/vr3032u/Kconfig"
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200188source "board/huawei/hg556a/Kconfig"
Álvaro Fernández Rojas2ea88e62017-05-16 18:42:43 +0200189source "board/netgear/cg3100d/Kconfig"
Álvaro Fernández Rojas01188572017-05-16 18:46:59 +0200190source "board/sagem/f@st1704/Kconfig"
Álvaro Fernández Rojas52386c12017-05-11 11:01:30 +0200191source "board/sfr/nb4_ser/Kconfig"
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +0200192
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +0200193endmenu