Merge branch 'master' of git://git.denx.de/u-boot-mips
[platform/kernel/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 "bcm6328" if SOC_BMIPS_BCM6328
6         default "bcm6358" if SOC_BMIPS_BCM6358
7         default "bcm63268" if SOC_BMIPS_BCM63268
8
9 choice
10         prompt "Broadcom MIPS SoC select"
11
12 config 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
23 config 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
34 config 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
46 endchoice
47
48 choice
49         prompt "Board select"
50
51 config BOARD_COMTREND_AR5387UN
52         bool "Comtrend AR-5387un"
53         depends on SOC_BMIPS_BCM6328
54         select BMIPS_SUPPORTS_BOOT_RAM
55
56 config BOARD_COMTREND_VR3032U
57         bool "Comtrend VR-3032u board"
58         depends on SOC_BMIPS_BCM63268
59         select BMIPS_SUPPORTS_BOOT_RAM
60
61 config BOARD_HUAWEI_HG556A
62         bool "Huawei EchoLife HG556a"
63         depends on SOC_BMIPS_BCM6358
64         select BMIPS_SUPPORTS_BOOT_RAM
65
66 endchoice
67
68 choice
69         prompt "Boot mode"
70
71 config 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
79 endchoice
80
81 config BMIPS_SUPPORTS_BOOT_RAM
82         bool
83
84 source "board/comtrend/ar5387un/Kconfig"
85 source "board/comtrend/vr3032u/Kconfig"
86 source "board/huawei/hg556a/Kconfig"
87
88 endmenu