xref: /openbmc/u-boot/arch/mips/mach-bmips/Kconfig (revision 77ca99d1)
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	default "bcm63268" if SOC_BMIPS_BCM63268
8
9choice
10	prompt "Broadcom MIPS SoC select"
11
12config SOC_BMIPS_BCM6328
13	bool "BMIPS BCM6328 family"
14	select SUPPORTS_BIG_ENDIAN
15	select SUPPORTS_CPU_MIPS32_R1
16	select MIPS_TUNE_4KC
17	select MIPS_L1_CACHE_SHIFT_4
18	select SWAP_IO_SPACE
19	select SYSRESET_SYSCON
20	help
21	  This supports BMIPS BCM6328 family including BCM63281 and BCM63283.
22
23config SOC_BMIPS_BCM6358
24	bool "BMIPS BCM6358 family"
25	select SUPPORTS_BIG_ENDIAN
26	select SUPPORTS_CPU_MIPS32_R1
27	select MIPS_TUNE_4KC
28	select MIPS_L1_CACHE_SHIFT_4
29	select SWAP_IO_SPACE
30	select SYSRESET_SYSCON
31	help
32	  This supports BMIPS BCM6358 family including BCM6358 and BCM6359.
33
34config SOC_BMIPS_BCM63268
35	bool "BMIPS BCM63268 family"
36	select SUPPORTS_BIG_ENDIAN
37	select SUPPORTS_CPU_MIPS32_R1
38	select MIPS_TUNE_4KC
39	select MIPS_L1_CACHE_SHIFT_4
40	select SWAP_IO_SPACE
41	select SYSRESET_SYSCON
42	help
43	  This supports BMIPS BCM63268 family including BCM63168, BCM63169,
44	  BCM63268 and BCM63269.
45
46endchoice
47
48choice
49	prompt "Board select"
50
51config BOARD_COMTREND_AR5387UN
52	bool "Comtrend AR-5387un"
53	depends on SOC_BMIPS_BCM6328
54	select BMIPS_SUPPORTS_BOOT_RAM
55
56config BOARD_COMTREND_VR3032U
57	bool "Comtrend VR-3032u board"
58	depends on SOC_BMIPS_BCM63268
59	select BMIPS_SUPPORTS_BOOT_RAM
60
61config BOARD_HUAWEI_HG556A
62	bool "Huawei EchoLife HG556a"
63	depends on SOC_BMIPS_BCM6358
64	select BMIPS_SUPPORTS_BOOT_RAM
65
66endchoice
67
68choice
69	prompt "Boot mode"
70
71config BMIPS_BOOT_RAM
72	bool "RAM boot"
73	depends on BMIPS_SUPPORTS_BOOT_RAM
74	help
75	  This builds an image that is linked to a RAM address. It can be used
76	  for booting from CFE via TFTP using an ELF image, but it can also be
77	  booted from RAM by other bootloaders using a BIN image.
78
79endchoice
80
81config BMIPS_SUPPORTS_BOOT_RAM
82	bool
83
84source "board/comtrend/ar5387un/Kconfig"
85source "board/comtrend/vr3032u/Kconfig"
86source "board/huawei/hg556a/Kconfig"
87
88endmenu
89