ARM: mmp: fix potential NULL dereference
[linux/fpc-iii.git] / arch / mips / alchemy / Kconfig
blob0faaab24376e5ca60e78d0405f2534a32b94735d
1 # au1000-style gpio and interrupt controllers
2 config ALCHEMY_GPIOINT_AU1000
3         bool
5 # au1300-style GPIO/INT controller
6 config ALCHEMY_GPIOINT_AU1300
7         bool
9 # select this in your board config if you don't want to use the gpio
10 # namespace as documented in the manuals.  In this case however you need
11 # to create the necessary gpio_* functions in your board code/headers!
12 # see arch/mips/include/asm/mach-au1x00/gpio.h   for more information.
13 config ALCHEMY_GPIO_INDIRECT
14         def_bool n
16 choice
17         prompt "Machine type"
18         depends on MIPS_ALCHEMY
19         default MIPS_DB1000
21 config MIPS_MTX1
22         bool "4G Systems MTX-1 board"
23         select DMA_NONCOHERENT
24         select HW_HAS_PCI
25         select ALCHEMY_GPIOINT_AU1000
26         select SYS_SUPPORTS_LITTLE_ENDIAN
27         select SYS_HAS_EARLY_PRINTK
29 config MIPS_DB1000
30         bool "Alchemy DB1000/DB1500/DB1100 boards"
31         select ALCHEMY_GPIOINT_AU1000
32         select DMA_NONCOHERENT
33         select HW_HAS_PCI
34         select MIPS_DISABLE_OBSOLETE_IDE
35         select SYS_SUPPORTS_BIG_ENDIAN
36         select SYS_SUPPORTS_LITTLE_ENDIAN
37         select SYS_HAS_EARLY_PRINTK
39 config MIPS_DB1200
40         bool "Alchemy DB1200/PB1200 board"
41         select ALCHEMY_GPIOINT_AU1000
42         select DMA_COHERENT
43         select MIPS_DISABLE_OBSOLETE_IDE
44         select SYS_SUPPORTS_LITTLE_ENDIAN
45         select SYS_HAS_EARLY_PRINTK
47 config MIPS_DB1300
48         bool "NetLogic DB1300 board"
49         select ALCHEMY_GPIOINT_AU1300
50         select DMA_COHERENT
51         select MIPS_DISABLE_OBSOLETE_IDE
52         select SYS_SUPPORTS_LITTLE_ENDIAN
53         select SYS_HAS_EARLY_PRINTK
55 config MIPS_DB1550
56         bool "Alchemy DB1550 board"
57         select ALCHEMY_GPIOINT_AU1000
58         select HW_HAS_PCI
59         select DMA_COHERENT
60         select MIPS_DISABLE_OBSOLETE_IDE
61         select SYS_SUPPORTS_LITTLE_ENDIAN
62         select SYS_HAS_EARLY_PRINTK
64 config MIPS_PB1100
65         bool "Alchemy PB1100 board"
66         select ALCHEMY_GPIOINT_AU1000
67         select DMA_NONCOHERENT
68         select HW_HAS_PCI
69         select SWAP_IO_SPACE
70         select SYS_SUPPORTS_LITTLE_ENDIAN
71         select SYS_HAS_EARLY_PRINTK
73 config MIPS_PB1500
74         bool "Alchemy PB1500 board"
75         select ALCHEMY_GPIOINT_AU1000
76         select DMA_NONCOHERENT
77         select HW_HAS_PCI
78         select SYS_SUPPORTS_LITTLE_ENDIAN
79         select SYS_HAS_EARLY_PRINTK
81 config MIPS_PB1550
82         bool "Alchemy PB1550 board"
83         select ALCHEMY_GPIOINT_AU1000
84         select DMA_NONCOHERENT
85         select HW_HAS_PCI
86         select MIPS_DISABLE_OBSOLETE_IDE
87         select SYS_SUPPORTS_LITTLE_ENDIAN
88         select SYS_HAS_EARLY_PRINTK
90 config MIPS_XXS1500
91         bool "MyCable XXS1500 board"
92         select DMA_NONCOHERENT
93         select ALCHEMY_GPIOINT_AU1000
94         select SYS_SUPPORTS_LITTLE_ENDIAN
95         select SYS_HAS_EARLY_PRINTK
97 config MIPS_GPR
98         bool "Trapeze ITS GPR board"
99         select ALCHEMY_GPIOINT_AU1000
100         select HW_HAS_PCI
101         select DMA_NONCOHERENT
102         select MIPS_DISABLE_OBSOLETE_IDE
103         select SYS_SUPPORTS_LITTLE_ENDIAN
104         select SYS_HAS_EARLY_PRINTK
106 endchoice