xref: /openbmc/u-boot/arch/mips/mach-bmips/Kconfig (revision 6471a225)
1menu "Broadcom MIPS platforms"
2	depends on ARCH_BMIPS
3
4config SYS_SOC
5	default "bcm6328" if SOC_BMIPS_BCM6328
6	default "bcm6358" if SOC_BMIPS_BCM6358
7
8choice
9	prompt "Broadcom MIPS SoC select"
10
11config 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
22config 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
34
35choice
36	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
46	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
61source "board/huawei/hg556a/Kconfig"
62
63endmenu
64