blob: 4a0c383475a03321e80f536c548831f170061874 [file] [log] [blame]
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +02001menu "Broadcom MIPS platforms"
2 depends on ARCH_BMIPS
3
4config SYS_SOC
Álvaro Fernández Rojas3aa45762017-04-25 00:39:23 +02005 default "bcm6328" if SOC_BMIPS_BCM6328
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +02006 default "bcm6358" if SOC_BMIPS_BCM6358
Álvaro Fernández Rojasff1e41e2017-04-25 00:39:25 +02007 default "bcm63268" if SOC_BMIPS_BCM63268
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +02008
9choice
10 prompt "Broadcom MIPS SoC select"
11
Álvaro Fernández Rojas3aa45762017-04-25 00:39:23 +020012config SOC_BMIPS_BCM6328
13 bool "BMIPS BCM6328 family"
14 select SUPPORTS_BIG_ENDIAN
15 select SUPPORTS_CPU_MIPS32_R1
16 select MIPS_TUNE_4KC
17 select MIPS_L1_CACHE_SHIFT_4
18 select SWAP_IO_SPACE
19 select SYSRESET_SYSCON
20 help
21 This supports BMIPS BCM6328 family including BCM63281 and BCM63283.
22
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020023config SOC_BMIPS_BCM6358
24 bool "BMIPS BCM6358 family"
25 select SUPPORTS_BIG_ENDIAN
26 select SUPPORTS_CPU_MIPS32_R1
27 select MIPS_TUNE_4KC
28 select MIPS_L1_CACHE_SHIFT_4
29 select SWAP_IO_SPACE
30 select SYSRESET_SYSCON
31 help
32 This supports BMIPS BCM6358 family including BCM6358 and BCM6359.
33
Álvaro Fernández Rojasff1e41e2017-04-25 00:39:25 +020034config SOC_BMIPS_BCM63268
35 bool "BMIPS BCM63268 family"
36 select SUPPORTS_BIG_ENDIAN
37 select SUPPORTS_CPU_MIPS32_R1
38 select MIPS_TUNE_4KC
39 select MIPS_L1_CACHE_SHIFT_4
40 select SWAP_IO_SPACE
41 select SYSRESET_SYSCON
42 help
43 This supports BMIPS BCM63268 family including BCM63168, BCM63169,
44 BCM63268 and BCM63269.
45
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020046endchoice
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +020047
48choice
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +020049 prompt "Board select"
50
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +020051config BOARD_COMTREND_AR5387UN
52 bool "Comtrend AR-5387un"
53 depends on SOC_BMIPS_BCM6328
54 select BMIPS_SUPPORTS_BOOT_RAM
55
Álvaro Fernández Rojas58e81b42017-04-25 00:39:26 +020056config BOARD_COMTREND_VR3032U
57 bool "Comtrend VR-3032u board"
58 depends on SOC_BMIPS_BCM63268
59 select BMIPS_SUPPORTS_BOOT_RAM
60
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +020061config BOARD_HUAWEI_HG556A
62 bool "Huawei EchoLife HG556a"
63 depends on SOC_BMIPS_BCM6358
64 select BMIPS_SUPPORTS_BOOT_RAM
65
Álvaro Fernández Rojas52386c12017-05-11 11:01:30 +020066config BOARD_SFR_NB4_SER
67 bool "SFR NeufBox 4 (Sercomm)"
68 depends on SOC_BMIPS_BCM6358
69 select BMIPS_SUPPORTS_BOOT_RAM
70
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +020071endchoice
72
73choice
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +020074 prompt "Boot mode"
75
76config BMIPS_BOOT_RAM
77 bool "RAM boot"
78 depends on BMIPS_SUPPORTS_BOOT_RAM
79 help
80 This builds an image that is linked to a RAM address. It can be used
81 for booting from CFE via TFTP using an ELF image, but it can also be
82 booted from RAM by other bootloaders using a BIN image.
83
84endchoice
85
86config BMIPS_SUPPORTS_BOOT_RAM
87 bool
88
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +020089source "board/comtrend/ar5387un/Kconfig"
Álvaro Fernández Rojas58e81b42017-04-25 00:39:26 +020090source "board/comtrend/vr3032u/Kconfig"
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +020091source "board/huawei/hg556a/Kconfig"
Álvaro Fernández Rojas52386c12017-05-11 11:01:30 +020092source "board/sfr/nb4_ser/Kconfig"
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +020093
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +020094endmenu