Kconfig 4.8 KB
Newer Older
Linus Torvalds's avatar
Linus Torvalds committed
1 2 3 4 5
config 4xx
	bool
	depends on 40x || 44x
	default y

6 7 8 9 10
config WANT_EARLY_SERIAL
	bool
	select SERIAL_8250
	default n

Linus Torvalds's avatar
Linus Torvalds committed
11 12 13 14 15 16 17 18 19 20
menu "IBM 4xx options"
	depends on 4xx

choice
	prompt "Machine Type"
	depends on 40x
	default WALNUT

config BUBINGA
	bool "Bubinga"
21
	select WANT_EARLY_SERIAL
Linus Torvalds's avatar
Linus Torvalds committed
22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
	help
	  This option enables support for the IBM 405EP evaluation board.

config CPCI405
	bool "CPCI405"
	help
	  This option enables support for the CPCI405 board.

config EP405
	bool "EP405/EP405PC"
	help
	  This option enables support for the EP405/EP405PC boards.

config REDWOOD_5
	bool "Redwood-5"
	help
	  This option enables support for the IBM STB04 evaluation board.

config REDWOOD_6
	bool "Redwood-6"
	help
	  This option enables support for the IBM STBx25xx evaluation board.

config SYCAMORE
	bool "Sycamore"
	help
	  This option enables support for the IBM PPC405GPr evaluation board.

config WALNUT
	bool "Walnut"
	help
	  This option enables support for the IBM PPC405GP evaluation board.

config XILINX_ML300
	bool "Xilinx-ML300"
	help
	  This option enables support for the Xilinx ML300 evaluation board.

60 61 62 63
config XILINX_ML403
	bool "Xilinx-ML403"
	help
	  This option enables support for the Xilinx ML403 evaluation board.
Linus Torvalds's avatar
Linus Torvalds committed
64 65 66 67 68 69 70
endchoice

choice
	prompt "Machine Type"
	depends on 44x
	default EBONY

71 72
config BAMBOO
	bool "Bamboo"
73
	select WANT_EARLY_SERIAL
74 75 76
	help
	  This option enables support for the IBM PPC440EP evaluation board.

Linus Torvalds's avatar
Linus Torvalds committed
77 78
config EBONY
	bool "Ebony"
79
	select WANT_EARLY_SERIAL
Linus Torvalds's avatar
Linus Torvalds committed
80 81 82 83 84
	help
	  This option enables support for the IBM PPC440GP evaluation board.

config LUAN
	bool "Luan"
85
	select WANT_EARLY_SERIAL
Linus Torvalds's avatar
Linus Torvalds committed
86 87 88
	help
	  This option enables support for the IBM PPC440SP evaluation board.

89 90 91 92 93 94
config YUCCA
	bool "Yucca"
	select WANT_EARLY_SERIAL
	help
	  This option enables support for the AMCC PPC440SPe evaluation board.

Linus Torvalds's avatar
Linus Torvalds committed
95 96
config OCOTEA
	bool "Ocotea"
97
	select WANT_EARLY_SERIAL
Linus Torvalds's avatar
Linus Torvalds committed
98 99 100
	help
	  This option enables support for the IBM PPC440GX evaluation board.

101 102 103 104 105 106
config TAISHAN
	bool "Taishan"
	select WANT_EARLY_SERIAL
	help
	  This option enables support for the AMCC PPC440GX evaluation board.

Linus Torvalds's avatar
Linus Torvalds committed
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121
endchoice

config EP405PC
	bool "EP405PC Support"
	depends on EP405


# It's often necessary to know the specific 4xx processor type.
# Fortunately, it is impled (so far) from the board type, so we
# don't need to ask more redundant questions.
config NP405H
	bool
	depends on ASH
	default y

122 123 124 125 126 127
config 440EP
	bool
	depends on BAMBOO
	select PPC_FPU
	default y

Linus Torvalds's avatar
Linus Torvalds committed
128 129 130 131 132 133 134
config 440GP
	bool
	depends on EBONY
	default y

config 440GX
	bool
135
	depends on OCOTEA || TAISHAN
Linus Torvalds's avatar
Linus Torvalds committed
136 137 138 139 140 141 142
	default y

config 440SP
	bool
	depends on LUAN
	default y

143 144
config 440SPE
	bool
145 146
	depends on YUCCA
	default y
147

Linus Torvalds's avatar
Linus Torvalds committed
148 149
config 440
	bool
150
	depends on 440GP || 440SP || 440SPE || 440EP
Linus Torvalds's avatar
Linus Torvalds committed
151 152 153 154 155 156 157
	default y

config 440A
	bool
	depends on 440GX
	default y

158 159 160 161 162
config IBM440EP_ERR42
	bool
	depends on 440EP
	default y

Linus Torvalds's avatar
Linus Torvalds committed
163 164 165
# All 405-based cores up until the 405GPR and 405EP have this errata.
config IBM405_ERR77
	bool
166
	depends on 40x && !403GCX && !405GPR && !405EP
Linus Torvalds's avatar
Linus Torvalds committed
167 168 169 170 171
	default y

# All 40x-based cores, up until the 405GPR and 405EP have this errata.
config IBM405_ERR51
	bool
172
	depends on 40x && !405GPR && !405EP
Linus Torvalds's avatar
Linus Torvalds committed
173 174 175 176 177 178 179 180 181
	default y

config BOOKE
	bool
	depends on 44x
	default y

config IBM_OCP
	bool
182
	depends on ASH || BAMBOO || BUBINGA || CPCI405 || EBONY || EP405 || LUAN || YUCCA || OCOTEA || REDWOOD_5 || REDWOOD_6 || SYCAMORE || TAISHAN || WALNUT
Linus Torvalds's avatar
Linus Torvalds committed
183 184 185 186
	default y

config IBM_EMAC4
	bool
187
	depends on 440GX || 440SP || 440SPE
Linus Torvalds's avatar
Linus Torvalds committed
188 189 190 191
	default y

config BIOS_FIXUP
	bool
192
	depends on BUBINGA || EP405 || SYCAMORE || WALNUT || CPCI405
Linus Torvalds's avatar
Linus Torvalds committed
193 194
	default y

195
# OAK doesn't exist but wanted to keep this around for any future 403GCX boards
Linus Torvalds's avatar
Linus Torvalds committed
196 197
config 403GCX
	bool
198
	depends on OAK
Linus Torvalds's avatar
Linus Torvalds committed
199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215
	default y

config 405EP
	bool
	depends on BUBINGA
	default y

config 405GP
	bool
	depends on CPCI405 || EP405 || WALNUT
	default y

config 405GPR
	bool
	depends on SYCAMORE
	default y

216
config XILINX_VIRTEX_II_PRO
Linus Torvalds's avatar
Linus Torvalds committed
217 218 219 220
	bool
	depends on XILINX_ML300
	default y

221 222 223 224 225
config XILINX_VIRTEX_4_FX
	bool
	depends on XILINX_ML403
	default y

226 227
config XILINX_VIRTEX
	bool
228
	depends on XILINX_VIRTEX_II_PRO || XILINX_VIRTEX_4_FX
229 230
	default y

Linus Torvalds's avatar
Linus Torvalds committed
231 232 233 234 235 236 237
config STB03xxx
	bool
	depends on REDWOOD_5 || REDWOOD_6
	default y

config EMBEDDEDBOOT
	bool
238
	depends on EP405 || XILINX_ML300 || XILINX_ML403
Linus Torvalds's avatar
Linus Torvalds committed
239 240 241 242
	default y

config IBM_OPENBIOS
	bool
243
	depends on ASH || REDWOOD_5 || REDWOOD_6
Linus Torvalds's avatar
Linus Torvalds committed
244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286
	default y

config PPC4xx_DMA
	bool "PPC4xx DMA controller support"
	depends on 4xx

config PPC4xx_EDMA
	bool
	depends on !STB03xxx && PPC4xx_DMA
	default y

config PPC_GEN550
	bool
	depends on 4xx
	default y

choice
	prompt "TTYS0 device and default console"
	depends on 40x
	default UART0_TTYS0

config UART0_TTYS0
	bool "UART0"

config UART0_TTYS1
	bool "UART1"

endchoice

config SERIAL_SICC
	bool "SICC Serial port support"
	depends on STB03xxx

config UART1_DFLT_CONSOLE
	bool
	depends on SERIAL_SICC && UART0_TTYS1
	default y

config SERIAL_SICC_CONSOLE
	bool
	depends on SERIAL_SICC && UART0_TTYS1
	default y
endmenu