xref: /openbmc/u-boot/arch/mips/mach-bmips/Kconfig (revision 0642f485)
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_COMTREND_AR5387UN
39	bool "Comtrend AR-5387un"
40	depends on SOC_BMIPS_BCM6328
41	select BMIPS_SUPPORTS_BOOT_RAM
42
43config BOARD_HUAWEI_HG556A
44	bool "Huawei EchoLife HG556a"
45	depends on SOC_BMIPS_BCM6358
46	select BMIPS_SUPPORTS_BOOT_RAM
47
48endchoice
49
50choice
51	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
66source "board/comtrend/ar5387un/Kconfig"
67source "board/huawei/hg556a/Kconfig"
68
69endmenu
70