blob: b461b79226fe780903aee0b5b6351198adfb0283 [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 Rojas4a2b2722017-04-25 00:39:22 +020056config BOARD_HUAWEI_HG556A
57 bool "Huawei EchoLife HG556a"
58 depends on SOC_BMIPS_BCM6358
59 select BMIPS_SUPPORTS_BOOT_RAM
60
61endchoice
62
63choice
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +020064 prompt "Boot mode"
65
66config BMIPS_BOOT_RAM
67 bool "RAM boot"
68 depends on BMIPS_SUPPORTS_BOOT_RAM
69 help
70 This builds an image that is linked to a RAM address. It can be used
71 for booting from CFE via TFTP using an ELF image, but it can also be
72 booted from RAM by other bootloaders using a BIN image.
73
74endchoice
75
76config BMIPS_SUPPORTS_BOOT_RAM
77 bool
78
Álvaro Fernández Rojas0642f482017-04-25 00:39:24 +020079source "board/comtrend/ar5387un/Kconfig"
Álvaro Fernández Rojas4a2b2722017-04-25 00:39:22 +020080source "board/huawei/hg556a/Kconfig"
81
Álvaro Fernández Rojasee422142017-04-25 00:39:20 +020082endmenu