blob: 467ba5bd1c9ec85835257dc14bd77606e27c43d4 [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
38config BOARD_HUAWEI_HG556A
39 bool "Huawei EchoLife HG556a"
40 depends on SOC_BMIPS_BCM6358
41 select BMIPS_SUPPORTS_BOOT_RAM
42
43endchoice
44
45choice
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +020046 prompt "Boot mode"
47
48config BMIPS_BOOT_RAM
49 bool "RAM boot"
50 depends on BMIPS_SUPPORTS_BOOT_RAM
51 help
52 This builds an image that is linked to a RAM address. It can be used
53 for booting from CFE via TFTP using an ELF image, but it can also be
54 booted from RAM by other bootloaders using a BIN image.
55
56endchoice
57
58config BMIPS_SUPPORTS_BOOT_RAM
59 bool
60
Álvaro Fernández Rojas219be892017-04-25 00:39:22 +020061source "board/huawei/hg556a/Kconfig"
62
Álvaro Fernández Rojas98a97a82017-04-25 00:39:20 +020063endmenu