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