blob: b9805874eac802221c90f453526da13fe3075667 [file] [log] [blame]
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +02001menu "Broadcom MIPS platforms"
2 depends on ARCH_BMIPS
3
4config SYS_SOC
Álvaro Fernández Rojas6471a222017-04-25 00:39:23 +02005 default "bcm6328" if SOC_BMIPS_BCM6328
Álvaro Fernández Rojasbf9012b2017-05-16 18:39:03 +02006 default "bcm6348" if SOC_BMIPS_BCM6348
Álvaro Fernández Rojase30d2bd2017-04-25 00:39:21 +02007 default "bcm6358" if SOC_BMIPS_BCM6358
Álvaro Fernández Rojas6a235bb2017-04-25 00:39:25 +02008 default "bcm63268" if SOC_BMIPS_BCM63268
Álvaro Fernández Rojase30d2bd2017-04-25 00:39:21 +02009
10choice
11 prompt "Broadcom MIPS SoC select"
12
Álvaro Fernández Rojas6471a222017-04-25 00:39:23 +020013config 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
Álvaro Fernández Rojasbf9012b2017-05-16 18:39:03 +020024config 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
Álvaro Fernández Rojase30d2bd2017-04-25 00:39:21 +020035config 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
Álvaro Fernández Rojas6a235bb2017-04-25 00:39:25 +020046config 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
Álvaro Fernández Rojase30d2bd2017-04-25 00:39:21 +020058endchoice
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +020059
60choice
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +020061 prompt "Board select"
62
Álvaro Fernández Rojas0642f482017-04-25 00:39:24 +020063config BOARD_COMTREND_AR5387UN
64 bool "Comtrend AR-5387un"
65 depends on SOC_BMIPS_BCM6328
66 select BMIPS_SUPPORTS_BOOT_RAM
67
Álvaro Fernández Rojas5e14ce22017-05-16 18:39:04 +020068config 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
Álvaro Fernández Rojas77ca99d2017-04-25 00:39:26 +020079config BOARD_COMTREND_VR3032U
80 bool "Comtrend VR-3032u board"
81 depends on SOC_BMIPS_BCM63268
82 select BMIPS_SUPPORTS_BOOT_RAM
83
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +020084config BOARD_HUAWEI_HG556A
85 bool "Huawei EchoLife HG556a"
86 depends on SOC_BMIPS_BCM6358
87 select BMIPS_SUPPORTS_BOOT_RAM
88
Álvaro Fernández Rojas63c011f2017-05-11 11:01:30 +020089config BOARD_SFR_NB4_SER
90 bool "SFR NeufBox 4 (Sercomm)"
91 depends on SOC_BMIPS_BCM6358
92 select BMIPS_SUPPORTS_BOOT_RAM
93
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +020094endchoice
95
96choice
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +020097 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
Álvaro Fernández Rojas0642f482017-04-25 00:39:24 +0200112source "board/comtrend/ar5387un/Kconfig"
Álvaro Fernández Rojas5e14ce22017-05-16 18:39:04 +0200113source "board/comtrend/ct5361/Kconfig"
Álvaro Fernández Rojas77ca99d2017-04-25 00:39:26 +0200114source "board/comtrend/vr3032u/Kconfig"
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200115source "board/huawei/hg556a/Kconfig"
Álvaro Fernández Rojas63c011f2017-05-11 11:01:30 +0200116source "board/sfr/nb4_ser/Kconfig"
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +0200117
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +0200118endmenu