Álvaro Fernández Rojas | 98a97a8 | 2017-04-25 00:39:20 +0200 | [diff] [blame] | 1 | menu "Broadcom MIPS platforms" |
| 2 | depends on ARCH_BMIPS |
| 3 | |
| 4 | config SYS_SOC |
Álvaro Fernández Rojas | 3aa4576 | 2017-04-25 00:39:23 +0200 | [diff] [blame^] | 5 | default "bcm6328" if SOC_BMIPS_BCM6328 |
Álvaro Fernández Rojas | 9cc9086 | 2017-04-25 00:39:21 +0200 | [diff] [blame] | 6 | default "bcm6358" if SOC_BMIPS_BCM6358 |
| 7 | |
| 8 | choice |
| 9 | prompt "Broadcom MIPS SoC select" |
| 10 | |
Álvaro Fernández Rojas | 3aa4576 | 2017-04-25 00:39:23 +0200 | [diff] [blame^] | 11 | config 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 Rojas | 9cc9086 | 2017-04-25 00:39:21 +0200 | [diff] [blame] | 22 | config 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 | |
| 33 | endchoice |
Álvaro Fernández Rojas | 98a97a8 | 2017-04-25 00:39:20 +0200 | [diff] [blame] | 34 | |
| 35 | choice |
Álvaro Fernández Rojas | 219be89 | 2017-04-25 00:39:22 +0200 | [diff] [blame] | 36 | prompt "Board select" |
| 37 | |
| 38 | config BOARD_HUAWEI_HG556A |
| 39 | bool "Huawei EchoLife HG556a" |
| 40 | depends on SOC_BMIPS_BCM6358 |
| 41 | select BMIPS_SUPPORTS_BOOT_RAM |
| 42 | |
| 43 | endchoice |
| 44 | |
| 45 | choice |
Álvaro Fernández Rojas | 98a97a8 | 2017-04-25 00:39:20 +0200 | [diff] [blame] | 46 | prompt "Boot mode" |
| 47 | |
| 48 | config 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 | |
| 56 | endchoice |
| 57 | |
| 58 | config BMIPS_SUPPORTS_BOOT_RAM |
| 59 | bool |
| 60 | |
Álvaro Fernández Rojas | 219be89 | 2017-04-25 00:39:22 +0200 | [diff] [blame] | 61 | source "board/huawei/hg556a/Kconfig" |
| 62 | |
Álvaro Fernández Rojas | 98a97a8 | 2017-04-25 00:39:20 +0200 | [diff] [blame] | 63 | endmenu |