blob: e3ffcb7cf598c447eb2e53cbff70f51b3c1e93ec [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
7
8choice
9 prompt "Broadcom MIPS SoC select"
10
Álvaro Fernández Rojas3aa45762017-04-25 00:39:23 +020011config SOC_BMIPS_BCM6328
12 bool "BMIPS BCM6328 family"
13 select SUPPORTS_BIG_ENDIAN
14 select SUPPORTS_CPU_MIPS32_R1
15 select MIPS_TUNE_4KC
16 select MIPS_L1_CACHE_SHIFT_4
17 select SWAP_IO_SPACE
18 select SYSRESET_SYSCON
19 help
20 This supports BMIPS BCM6328 family including BCM63281 and BCM63283.
21
Álvaro Fernández Rojas9cc90862017-04-25 00:39:21 +020022config SOC_BMIPS_BCM6358
23 bool "BMIPS BCM6358 family"
24 select SUPPORTS_BIG_ENDIAN
25 select SUPPORTS_CPU_MIPS32_R1
26 select MIPS_TUNE_4KC
27 select MIPS_L1_CACHE_SHIFT_4
28 select SWAP_IO_SPACE
29 select SYSRESET_SYSCON
30 help
31 This supports BMIPS BCM6358 family including BCM6358 and BCM6359.
32
33endchoice
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +020034
35choice
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +020036 prompt "Board select"
37
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +020038config BOARD_COMTREND_AR5387UN
39 bool "Comtrend AR-5387un"
40 depends on SOC_BMIPS_BCM6328
41 select BMIPS_SUPPORTS_BOOT_RAM
42
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +020043config BOARD_HUAWEI_HG556A
44 bool "Huawei EchoLife HG556a"
45 depends on SOC_BMIPS_BCM6358
46 select BMIPS_SUPPORTS_BOOT_RAM
47
48endchoice
49
50choice
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +020051 prompt "Boot mode"
52
53config BMIPS_BOOT_RAM
54 bool "RAM boot"
55 depends on BMIPS_SUPPORTS_BOOT_RAM
56 help
57 This builds an image that is linked to a RAM address. It can be used
58 for booting from CFE via TFTP using an ELF image, but it can also be
59 booted from RAM by other bootloaders using a BIN image.
60
61endchoice
62
63config BMIPS_SUPPORTS_BOOT_RAM
64 bool
65
Álvaro Fernández Rojas2114b1f2017-04-25 00:39:24 +020066source "board/comtrend/ar5387un/Kconfig"
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +020067source "board/huawei/hg556a/Kconfig"
68
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +020069endmenu