9cf8e5c12037480c70d233d0c479e4321a14dc69
[oweals/u-boot.git] / arch / mips / mach-bmips / Kconfig
1 menu "Broadcom MIPS platforms"
2         depends on ARCH_BMIPS
3
4 config SYS_SOC
5         default "bcm3380" if SOC_BMIPS_BCM3380
6         default "bcm6328" if SOC_BMIPS_BCM6328
7         default "bcm6348" if SOC_BMIPS_BCM6348
8         default "bcm6358" if SOC_BMIPS_BCM6358
9         default "bcm63268" if SOC_BMIPS_BCM63268
10
11 choice
12         prompt "Broadcom MIPS SoC select"
13
14 config SOC_BMIPS_BCM3380
15         bool "BMIPS BCM3380 family"
16         select SUPPORTS_BIG_ENDIAN
17         select SUPPORTS_CPU_MIPS32_R1
18         select MIPS_TUNE_4KC
19         select MIPS_L1_CACHE_SHIFT_4
20         select SWAP_IO_SPACE
21         select SYSRESET_WATCHDOG
22         help
23           This supports BMIPS BCM3380 family.
24
25 config SOC_BMIPS_BCM6328
26         bool "BMIPS BCM6328 family"
27         select SUPPORTS_BIG_ENDIAN
28         select SUPPORTS_CPU_MIPS32_R1
29         select MIPS_TUNE_4KC
30         select MIPS_L1_CACHE_SHIFT_4
31         select SWAP_IO_SPACE
32         select SYSRESET_SYSCON
33         help
34           This supports BMIPS BCM6328 family including BCM63281 and BCM63283.
35
36 config SOC_BMIPS_BCM6348
37         bool "BMIPS BCM6348 family"
38         select SUPPORTS_BIG_ENDIAN
39         select SUPPORTS_CPU_MIPS32_R1
40         select MIPS_TUNE_4KC
41         select MIPS_L1_CACHE_SHIFT_4
42         select SWAP_IO_SPACE
43         select SYSRESET_WATCHDOG
44         help
45           This supports BMIPS BCM6348 family.
46
47 config SOC_BMIPS_BCM6358
48         bool "BMIPS BCM6358 family"
49         select SUPPORTS_BIG_ENDIAN
50         select SUPPORTS_CPU_MIPS32_R1
51         select MIPS_TUNE_4KC
52         select MIPS_L1_CACHE_SHIFT_4
53         select SWAP_IO_SPACE
54         select SYSRESET_SYSCON
55         help
56           This supports BMIPS BCM6358 family including BCM6358 and BCM6359.
57
58 config SOC_BMIPS_BCM63268
59         bool "BMIPS BCM63268 family"
60         select SUPPORTS_BIG_ENDIAN
61         select SUPPORTS_CPU_MIPS32_R1
62         select MIPS_TUNE_4KC
63         select MIPS_L1_CACHE_SHIFT_4
64         select SWAP_IO_SPACE
65         select SYSRESET_SYSCON
66         help
67           This supports BMIPS BCM63268 family including BCM63168, BCM63169,
68           BCM63268 and BCM63269.
69
70 endchoice
71
72 choice
73         prompt "Board select"
74
75 config BOARD_COMTREND_AR5387UN
76         bool "Comtrend AR-5387un"
77         depends on SOC_BMIPS_BCM6328
78         select BMIPS_SUPPORTS_BOOT_RAM
79
80 config BOARD_COMTREND_CT5361
81         bool "Comtrend CT-5361"
82         depends on SOC_BMIPS_BCM6348
83         select BMIPS_SUPPORTS_BOOT_RAM
84         help
85           Comtrend CT-5361 boards have a BCM6348 SoC with 16 MB of RAM and 4 MB
86           of flash (CFI).
87           Between its different peripherals there's a BCM5325 switch with 4
88           ethernet ports, 1 USB port, 1 UART, GPIO buttons and LEDs, and a
89           BCM4312 (miniPCI).
90
91 config BOARD_COMTREND_VR3032U
92         bool "Comtrend VR-3032u board"
93         depends on SOC_BMIPS_BCM63268
94         select BMIPS_SUPPORTS_BOOT_RAM
95
96 config BOARD_HUAWEI_HG556A
97         bool "Huawei EchoLife HG556a"
98         depends on SOC_BMIPS_BCM6358
99         select BMIPS_SUPPORTS_BOOT_RAM
100
101 config BOARD_SFR_NB4_SER
102         bool "SFR NeufBox 4 (Sercomm)"
103         depends on SOC_BMIPS_BCM6358
104         select BMIPS_SUPPORTS_BOOT_RAM
105
106 endchoice
107
108 choice
109         prompt "Boot mode"
110
111 config BMIPS_BOOT_RAM
112         bool "RAM boot"
113         depends on BMIPS_SUPPORTS_BOOT_RAM
114         help
115           This builds an image that is linked to a RAM address. It can be used
116           for booting from CFE via TFTP using an ELF image, but it can also be
117           booted from RAM by other bootloaders using a BIN image.
118
119 endchoice
120
121 config BMIPS_SUPPORTS_BOOT_RAM
122         bool
123
124 source "board/comtrend/ar5387un/Kconfig"
125 source "board/comtrend/ct5361/Kconfig"
126 source "board/comtrend/vr3032u/Kconfig"
127 source "board/huawei/hg556a/Kconfig"
128 source "board/sfr/nb4_ser/Kconfig"
129
130 endmenu