1menu "Broadcom MIPS platforms" 2 depends on ARCH_BMIPS 3 4config SYS_MALLOC_F_LEN 5 default 0x1000 6 7config SYS_SOC 8 default "bcm3380" if SOC_BMIPS_BCM3380 9 default "bcm6318" if SOC_BMIPS_BCM6318 10 default "bcm6328" if SOC_BMIPS_BCM6328 11 default "bcm6338" if SOC_BMIPS_BCM6338 12 default "bcm6348" if SOC_BMIPS_BCM6348 13 default "bcm6358" if SOC_BMIPS_BCM6358 14 default "bcm6368" if SOC_BMIPS_BCM6368 15 default "bcm6362" if SOC_BMIPS_BCM6362 16 default "bcm63268" if SOC_BMIPS_BCM63268 17 18choice 19 prompt "Broadcom MIPS SoC select" 20 21config SOC_BMIPS_BCM3380 22 bool "BMIPS BCM3380 family" 23 select SUPPORTS_BIG_ENDIAN 24 select SUPPORTS_CPU_MIPS32_R1 25 select MIPS_TUNE_4KC 26 select MIPS_L1_CACHE_SHIFT_4 27 select SWAP_IO_SPACE 28 select SYSRESET_WATCHDOG 29 help 30 This supports BMIPS BCM3380 family. 31 32config SOC_BMIPS_BCM6318 33 bool "BMIPS BCM6318 family" 34 select SUPPORTS_BIG_ENDIAN 35 select SUPPORTS_CPU_MIPS32_R1 36 select MIPS_TUNE_4KC 37 select MIPS_L1_CACHE_SHIFT_4 38 select SWAP_IO_SPACE 39 select SYSRESET_SYSCON 40 help 41 This supports BMIPS BCM6318 family. 42 43config SOC_BMIPS_BCM6328 44 bool "BMIPS BCM6328 family" 45 select SUPPORTS_BIG_ENDIAN 46 select SUPPORTS_CPU_MIPS32_R1 47 select MIPS_TUNE_4KC 48 select MIPS_L1_CACHE_SHIFT_4 49 select SWAP_IO_SPACE 50 select SYSRESET_SYSCON 51 help 52 This supports BMIPS BCM6328 family including BCM63281 and BCM63283. 53 54config SOC_BMIPS_BCM6338 55 bool "BMIPS BCM6338 family" 56 select SUPPORTS_BIG_ENDIAN 57 select SUPPORTS_CPU_MIPS32_R1 58 select MIPS_TUNE_4KC 59 select MIPS_L1_CACHE_SHIFT_4 60 select SWAP_IO_SPACE 61 select SYSRESET_SYSCON 62 help 63 This supports BMIPS BCM6338 family. 64 65config SOC_BMIPS_BCM6348 66 bool "BMIPS BCM6348 family" 67 select SUPPORTS_BIG_ENDIAN 68 select SUPPORTS_CPU_MIPS32_R1 69 select MIPS_TUNE_4KC 70 select MIPS_L1_CACHE_SHIFT_4 71 select SWAP_IO_SPACE 72 select SYSRESET_WATCHDOG 73 help 74 This supports BMIPS BCM6348 family. 75 76config SOC_BMIPS_BCM6358 77 bool "BMIPS BCM6358 family" 78 select SUPPORTS_BIG_ENDIAN 79 select SUPPORTS_CPU_MIPS32_R1 80 select MIPS_TUNE_4KC 81 select MIPS_L1_CACHE_SHIFT_4 82 select SWAP_IO_SPACE 83 select SYSRESET_SYSCON 84 help 85 This supports BMIPS BCM6358 family including BCM6358 and BCM6359. 86 87config SOC_BMIPS_BCM6368 88 bool "BMIPS BCM6368 family" 89 select SUPPORTS_BIG_ENDIAN 90 select SUPPORTS_CPU_MIPS32_R1 91 select MIPS_TUNE_4KC 92 select MIPS_L1_CACHE_SHIFT_4 93 select SWAP_IO_SPACE 94 select SYSRESET_SYSCON 95 help 96 This supports BMIPS BCM6368 family including BCM6368 and BCM6369. 97 98config SOC_BMIPS_BCM6362 99 bool "BMIPS BCM6362 family" 100 select SUPPORTS_BIG_ENDIAN 101 select SUPPORTS_CPU_MIPS32_R1 102 select MIPS_TUNE_4KC 103 select MIPS_L1_CACHE_SHIFT_4 104 select SWAP_IO_SPACE 105 select SYSRESET_SYSCON 106 help 107 This supports BMIPS BCM6362 family including BCM6361 and BCM6362. 108 109config SOC_BMIPS_BCM63268 110 bool "BMIPS BCM63268 family" 111 select SUPPORTS_BIG_ENDIAN 112 select SUPPORTS_CPU_MIPS32_R1 113 select MIPS_TUNE_4KC 114 select MIPS_L1_CACHE_SHIFT_4 115 select SWAP_IO_SPACE 116 select SYSRESET_SYSCON 117 help 118 This supports BMIPS BCM63268 family including BCM63168, BCM63169, 119 BCM63268 and BCM63269. 120 121endchoice 122 123choice 124 prompt "Board select" 125 126config BOARD_COMTREND_AR5315U 127 bool "Comtrend AR-5315u" 128 depends on SOC_BMIPS_BCM6318 129 select BMIPS_SUPPORTS_BOOT_RAM 130 help 131 Comtrend AR-5315u boards have a BCM6318 SoC with 64 MB of RAM and 16 132 MB of flash (SPI). 133 Between its different peripherals there's an integrated switch with 4 134 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and 135 a BCM43217 (PCIe). 136 137config BOARD_COMTREND_AR5387UN 138 bool "Comtrend AR-5387un" 139 depends on SOC_BMIPS_BCM6328 140 select BMIPS_SUPPORTS_BOOT_RAM 141 help 142 Comtrend AR-5387un boards have a BCM6328 SoC with 64 MB of RAM and 16 143 MB of flash (SPI). 144 Between its different peripherals there's an integrated switch with 4 145 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and 146 a BCM43225 (PCIe). 147 148config BOARD_COMTREND_CT5361 149 bool "Comtrend CT-5361" 150 depends on SOC_BMIPS_BCM6348 151 select BMIPS_SUPPORTS_BOOT_RAM 152 help 153 Comtrend CT-5361 boards have a BCM6348 SoC with 16 MB of RAM and 4 MB 154 of flash (CFI). 155 Between its different peripherals there's a BCM5325 switch with 4 156 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and a 157 BCM4312 (miniPCI). 158 159config BOARD_COMTREND_VR3032U 160 bool "Comtrend VR-3032u board" 161 depends on SOC_BMIPS_BCM63268 162 select BMIPS_SUPPORTS_BOOT_RAM 163 help 164 Comtrend VR-3032u boards have a BCM63268 SoC with 64 MB of RAM and 165 128 MB of flash (NAND). 166 Between its different peripherals there's an integrated switch with 4 167 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, 168 and a BCM6362 (integrated). 169 170config BOARD_COMTREND_WAP5813N 171 bool "Comtrend WAP-5813n board" 172 depends on SOC_BMIPS_BCM6368 173 select BMIPS_SUPPORTS_BOOT_RAM 174 help 175 Comtrend WAP-5813n boards have a BCM6369 SoC with 64 MB of RAM and 176 8 MB of flash (CFI). 177 Between its different peripherals there's a BCM53115 switch with 5 178 ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, 179 and a BCM4322 (miniPCI). 180 181config BOARD_HUAWEI_HG556A 182 bool "Huawei EchoLife HG556a" 183 depends on SOC_BMIPS_BCM6358 184 select BMIPS_SUPPORTS_BOOT_RAM 185 help 186 Huawei EchoLife HG556a boards have a BCM6358 SoC with 64 MB of RAM 187 and 16 MB of flash (CFI). 188 Between its different peripherals there's a BCM5325 switch with 4 189 ethernet ports, 3 USB ports, 1 UART, GPIO buttons and LEDs, and 190 a RT3062F/AR9223 (PCI). 191 192config BOARD_NETGEAR_CG3100D 193 bool "Netgear CG3100D" 194 depends on SOC_BMIPS_BCM3380 195 select BMIPS_SUPPORTS_BOOT_RAM 196 help 197 Netgear CG3100D boards have a BCM3380 SoC with 64 MB of RAM and 8 MB 198 of flash (SPI). 199 Between its different peripherals there's a BCM53115 switch with 4 200 ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM43225 201 (miniPCIe). 202 203config BOARD_NETGEAR_DGND3700V2 204 bool "Netgear DGND3700v2" 205 depends on SOC_BMIPS_BCM6362 206 select BMIPS_SUPPORTS_BOOT_RAM 207 help 208 Netgear DGND3700v2 boards have a BCM6362 SoC with 64 MB of RAM and 209 32 MB of flash (NAND). 210 Between its different peripherals there's a BCM53125 switch with 5 211 ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and a 212 BCM43228 (miniPCIe). 213 214config BOARD_SAGEM_FAST1704 215 bool "Sagem F@ST1704" 216 depends on SOC_BMIPS_BCM6338 217 select BMIPS_SUPPORTS_BOOT_RAM 218 help 219 Sagem F@ST1704 boards have a BCM6338 SoC with 16 MB of RAM and 4 MB 220 of flash (SPI). 221 Between its different peripherals there's a BCM5325 switch with 4 222 ethernet ports, 1 UART, GPIO buttons and LEDs, and a BCM4312 223 (miniPCI). 224 225config BOARD_SFR_NB4_SER 226 bool "SFR NeufBox 4 (Sercomm)" 227 depends on SOC_BMIPS_BCM6358 228 select BMIPS_SUPPORTS_BOOT_RAM 229 help 230 SFR NeufBox 4 (Sercomm) boards have a BCM6358 SoC with 32 MB of RAM 231 and 8 MB of flash (CFI). 232 Between its different peripherals there's a BCM5325 switch with 4 233 ethernet ports, 2 USB ports, 1 UART, GPIO buttons and LEDs, and 234 a BCM4318 (PCI). 235 236endchoice 237 238choice 239 prompt "Boot mode" 240 241config BMIPS_BOOT_RAM 242 bool "RAM boot" 243 depends on BMIPS_SUPPORTS_BOOT_RAM 244 help 245 This builds an image that is linked to a RAM address. It can be used 246 for booting from CFE via TFTP using an ELF image, but it can also be 247 booted from RAM by other bootloaders using a BIN image. 248 249endchoice 250 251config BMIPS_SUPPORTS_BOOT_RAM 252 bool 253 254source "board/comtrend/ar5315u/Kconfig" 255source "board/comtrend/ar5387un/Kconfig" 256source "board/comtrend/ct5361/Kconfig" 257source "board/comtrend/vr3032u/Kconfig" 258source "board/comtrend/wap5813n/Kconfig" 259source "board/huawei/hg556a/Kconfig" 260source "board/netgear/cg3100d/Kconfig" 261source "board/netgear/dgnd3700v2/Kconfig" 262source "board/sagem/f@st1704/Kconfig" 263source "board/sfr/nb4_ser/Kconfig" 264 265endmenu 266