Álvaro Fernández Rojas | ee42214 | 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 | e30d2bd | 2017-04-25 00:39:21 +0200 | [diff] [blame] | 5 | default "bcm6358" if SOC_BMIPS_BCM6358 |
| 6 | |
| 7 | choice |
| 8 | prompt "Broadcom MIPS SoC select" |
| 9 | |
| 10 | config SOC_BMIPS_BCM6358 |
| 11 | bool "BMIPS BCM6358 family" |
| 12 | select SUPPORTS_BIG_ENDIAN |
| 13 | select SUPPORTS_CPU_MIPS32_R1 |
| 14 | select MIPS_TUNE_4KC |
| 15 | select MIPS_L1_CACHE_SHIFT_4 |
| 16 | select SWAP_IO_SPACE |
| 17 | select SYSRESET_SYSCON |
| 18 | help |
| 19 | This supports BMIPS BCM6358 family including BCM6358 and BCM6359. |
| 20 | |
| 21 | endchoice |
Álvaro Fernández Rojas | ee42214 | 2017-04-25 00:39:20 +0200 | [diff] [blame] | 22 | |
| 23 | choice |
Álvaro Fernández Rojas | 4a2b272 | 2017-04-25 00:39:22 +0200 | [diff] [blame^] | 24 | prompt "Board select" |
| 25 | |
| 26 | config BOARD_HUAWEI_HG556A |
| 27 | bool "Huawei EchoLife HG556a" |
| 28 | depends on SOC_BMIPS_BCM6358 |
| 29 | select BMIPS_SUPPORTS_BOOT_RAM |
| 30 | |
| 31 | endchoice |
| 32 | |
| 33 | choice |
Álvaro Fernández Rojas | ee42214 | 2017-04-25 00:39:20 +0200 | [diff] [blame] | 34 | prompt "Boot mode" |
| 35 | |
| 36 | config BMIPS_BOOT_RAM |
| 37 | bool "RAM boot" |
| 38 | depends on BMIPS_SUPPORTS_BOOT_RAM |
| 39 | help |
| 40 | This builds an image that is linked to a RAM address. It can be used |
| 41 | for booting from CFE via TFTP using an ELF image, but it can also be |
| 42 | booted from RAM by other bootloaders using a BIN image. |
| 43 | |
| 44 | endchoice |
| 45 | |
| 46 | config BMIPS_SUPPORTS_BOOT_RAM |
| 47 | bool |
| 48 | |
Álvaro Fernández Rojas | 4a2b272 | 2017-04-25 00:39:22 +0200 | [diff] [blame^] | 49 | source "board/huawei/hg556a/Kconfig" |
| 50 | |
Álvaro Fernández Rojas | ee42214 | 2017-04-25 00:39:20 +0200 | [diff] [blame] | 51 | endmenu |