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