blob: d1684486a85f7cb23ba217b12b74c22bc11a6536 [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 Rojase30d2bd2017-04-25 00:39:21 +02006 default "bcm6358" if SOC_BMIPS_BCM6358
Álvaro Fernández Rojas6a235bb2017-04-25 00:39:25 +02007 default "bcm63268" if SOC_BMIPS_BCM63268
Álvaro Fernández Rojase30d2bd2017-04-25 00:39:21 +02008
9choice
10 prompt "Broadcom MIPS SoC select"
11
Álvaro Fernández Rojas6471a222017-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 Rojase30d2bd2017-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 Rojas6a235bb2017-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 Rojase30d2bd2017-04-25 00:39:21 +020046endchoice
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +020047
48choice
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +020049 prompt "Board select"
50
Álvaro Fernández Rojas0642f482017-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 Rojas77ca99d2017-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 Rojas4a2b2722017-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
66endchoice
67
68choice
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +020069 prompt "Boot mode"
70
71config BMIPS_BOOT_RAM
72 bool "RAM boot"
73 depends on BMIPS_SUPPORTS_BOOT_RAM
74 help
75 This builds an image that is linked to a RAM address. It can be used
76 for booting from CFE via TFTP using an ELF image, but it can also be
77 booted from RAM by other bootloaders using a BIN image.
78
79endchoice
80
81config BMIPS_SUPPORTS_BOOT_RAM
82 bool
83
Álvaro Fernández Rojas0642f482017-04-25 00:39:24 +020084source "board/comtrend/ar5387un/Kconfig"
Álvaro Fernández Rojas77ca99d2017-04-25 00:39:26 +020085source "board/comtrend/vr3032u/Kconfig"
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +020086source "board/huawei/hg556a/Kconfig"
87
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +020088endmenu