Kconfig 11.6 KB
Newer Older
1 2
if ARCH_AT91

3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
config HAVE_AT91_DATAFLASH_CARD
	bool

config HAVE_NAND_ATMEL_BUSWIDTH_16
	bool

config HAVE_AT91_USART3
	bool

config HAVE_AT91_USART4
	bool

config HAVE_AT91_USART5
	bool

18 19
menu "Atmel AT91 System-on-Chip"

20 21
choice
	prompt "Atmel AT91 Processor"
22 23 24

config ARCH_AT91RM9200
	bool "AT91RM9200"
25
	select CPU_ARM920T
26 27
	select GENERIC_TIME
	select GENERIC_CLOCKEVENTS
28
	select HAVE_AT91_USART3
29

30
config ARCH_AT91SAM9260
31
	bool "AT91SAM9260 or AT91SAM9XE"
32
	select CPU_ARM926T
33 34
	select GENERIC_TIME
	select GENERIC_CLOCKEVENTS
35 36 37
	select HAVE_AT91_USART3
	select HAVE_AT91_USART4
	select HAVE_AT91_USART5
38 39 40

config ARCH_AT91SAM9261
	bool "AT91SAM9261"
41
	select CPU_ARM926T
42 43
	select GENERIC_TIME
	select GENERIC_CLOCKEVENTS
44

45 46 47 48 49 50
config ARCH_AT91SAM9G10
	bool "AT91SAM9G10"
	select CPU_ARM926T
	select GENERIC_TIME
	select GENERIC_CLOCKEVENTS

51 52
config ARCH_AT91SAM9263
	bool "AT91SAM9263"
53
	select CPU_ARM926T
54 55
	select GENERIC_TIME
	select GENERIC_CLOCKEVENTS
56

57 58
config ARCH_AT91SAM9RL
	bool "AT91SAM9RL"
59
	select CPU_ARM926T
60 61
	select GENERIC_TIME
	select GENERIC_CLOCKEVENTS
62
	select HAVE_AT91_USART3
63

64 65
config ARCH_AT91SAM9G20
	bool "AT91SAM9G20"
66
	select CPU_ARM926T
67 68
	select GENERIC_TIME
	select GENERIC_CLOCKEVENTS
69 70 71
	select HAVE_AT91_USART3
	select HAVE_AT91_USART4
	select HAVE_AT91_USART5
72

73 74 75 76 77
config ARCH_AT91SAM9G45
	bool "AT91SAM9G45"
	select CPU_ARM926T
	select GENERIC_TIME
	select GENERIC_CLOCKEVENTS
78
	select HAVE_AT91_USART3
79

80 81
config ARCH_AT91CAP9
	bool "AT91CAP9"
82
	select CPU_ARM926T
83 84
	select GENERIC_TIME
	select GENERIC_CLOCKEVENTS
85

86 87 88
config ARCH_AT91X40
	bool "AT91x40"

89 90
endchoice

91 92 93 94
config AT91_PMC_UNIT
	bool
	default !ARCH_AT91X40

95 96 97
# ----------------------------------------------------------

if ARCH_AT91RM9200
98 99 100

comment "AT91RM9200 Board Type"

101 102 103
config MACH_ONEARM
	bool "Ajeco 1ARM Single Board Computer"
	help
104 105
	  Select this if you are using Ajeco's 1ARM Single Board Computer.
	  <http://www.ajeco.fi/products.htm>
106

107 108
config ARCH_AT91RM9200DK
	bool "Atmel AT91RM9200-DK Development board"
109
	select HAVE_AT91_DATAFLASH_CARD
110
	help
111 112 113
	  Select this if you are using Atmel's AT91RM9200-DK Development board.
	  (Discontinued)

114 115
config MACH_AT91RM9200EK
	bool "Atmel AT91RM9200-EK Evaluation Kit"
116
	select HAVE_AT91_DATAFLASH_CARD
117
	help
118 119
	  Select this if you are using Atmel's AT91RM9200-EK Evaluation Kit.
	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3507>
120 121

config MACH_CSB337
122
	bool "Cogent CSB337"
123
	help
124 125
	  Select this if you are using Cogent's CSB337 board.
	  <http://www.cogcomp.com/csb_csb337.htm>
126 127

config MACH_CSB637
128
	bool "Cogent CSB637"
129
	help
130 131
	  Select this if you are using Cogent's CSB637 board.
	  <http://www.cogcomp.com/csb_csb637.htm>
132 133

config MACH_CARMEVA
134
	bool "Conitec ARM&EVA"
135
	help
136 137
	  Select this if you are using Conitec's AT91RM9200-MCU-Module.
	  <http://www.conitec.net/english/linuxboard.htm>
138

139 140
config MACH_ATEB9200
	bool "Embest ATEB9200"
141
	help
142 143
	  Select this if you are using Embest's ATEB9200 board.
	  <http://www.embedinfo.com/english/product/ATEB9200.asp>
144

145 146
config MACH_KB9200
	bool "KwikByte KB920x"
147
	help
148 149
	  Select this if you are using KwikByte's KB920x board.
	  <http://kwikbyte.com/KB9202_description_new.htm>
150

151 152 153 154 155 156
config MACH_PICOTUX2XX
	bool "picotux 200"
	help
	  Select this if you are using a picotux 200.
	  <http://www.picotux.com/>

157 158 159
config MACH_KAFA
	bool "Sperry-Sun KAFA board"
	help
160 161
	  Select this if you are using Sperry-Sun's KAFA board.

162 163
config MACH_ECBAT91
	bool "emQbit ECB_AT91 SBC"
164
	select HAVE_AT91_DATAFLASH_CARD
165 166 167 168
	help
	  Select this if you are using emQbit's ECB_AT91 board.
	  <http://wiki.emqbit.com/free-ecb-at91>

169 170 171 172 173
config MACH_YL9200
	bool "ucDragon YL-9200"
	help
	  Select this if you are using the ucDragon YL-9200 board.

174 175 176 177 178 179
config MACH_CPUAT91
	bool "Eukrea CPUAT91"
	help
	  Select this if you are using the Eukrea Electromatique's
	  CPUAT91 board <http://www.eukrea.com/>.

180 181 182 183 184 185
endif

# ----------------------------------------------------------

if ARCH_AT91SAM9260

186 187 188 189 190 191
comment "AT91SAM9260 Variants"

config ARCH_AT91SAM9260_SAM9XE
	bool "AT91SAM9XE"
	help
	  Select this if you are using Atmel's AT91SAM9XE System-on-Chip.
M
Matt LaPlante 已提交
192
	  They are basically AT91SAM9260s with various sizes of embedded Flash.
193 194

comment "AT91SAM9260 / AT91SAM9XE Board Type"
195

196
config MACH_AT91SAM9260EK
197
	bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
198 199
	select HAVE_AT91_DATAFLASH_CARD
	select HAVE_NAND_ATMEL_BUSWIDTH_16
200
	help
201
	  Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
202 203
	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>

204 205 206 207 208 209
config MACH_CAM60
	bool "KwikByte KB9260 (CAM60) board"
	help
	  Select this if you are using KwikByte's KB9260 (CAM60) board based on the Atmel AT91SAM9260.
	  <http://www.kwikbyte.com/KB9260.html>

210 211
config MACH_SAM9_L9260
	bool "Olimex SAM9-L9260 board"
212
	select HAVE_AT91_DATAFLASH_CARD
213 214 215 216
	help
	  Select this if you are using Olimex's SAM9-L9260 board based on the Atmel AT91SAM9260.
	  <http://www.olimex.com/dev/sam9-L9260.html>

217 218 219 220 221 222 223 224
config MACH_AFEB9260
	bool "Custom afeb9260 board v1"
	help
	  Select this if you are using custom afeb9260 board based on
	  open hardware design. Select this for revision 1 of the board.
	  <svn://194.85.238.22/home/users/george/svn/arm9eb>
	  <http://groups.google.com/group/arm9fpga-evolution-board>

225 226 227 228 229 230 231 232 233 234 235 236
config MACH_USB_A9260
	bool "CALAO USB-A9260"
	help
	  Select this if you are using a Calao Systems USB-A9260.
	  <http://www.calao-systems.com>

config MACH_QIL_A9260
	bool "CALAO QIL-A9260 board"
	help
	  Select this if you are using a Calao Systems QIL-A9260 Board.
	  <http://www.calao-systems.com>

237 238 239 240 241 242
config MACH_CPU9260
	bool "Eukrea CPU9260 board"
	help
	  Select this if you are using a Eukrea Electromatique's
	  CPU9260 Board <http://www.eukrea.com/>

243 244 245 246 247 248 249 250
endif

# ----------------------------------------------------------

if ARCH_AT91SAM9261

comment "AT91SAM9261 Board Type"

251 252
config MACH_AT91SAM9261EK
	bool "Atmel AT91SAM9261-EK Evaluation Kit"
253 254
	select HAVE_AT91_DATAFLASH_CARD
	select HAVE_NAND_ATMEL_BUSWIDTH_16
255 256 257 258
	help
	  Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>

259 260
endif

261 262
# ----------------------------------------------------------

263 264 265 266 267 268
if ARCH_AT91SAM9G10

comment "AT91SAM9G10 Board Type"

config MACH_AT91SAM9G10EK
	bool "Atmel AT91SAM9G10-EK Evaluation Kit"
269 270
	select HAVE_AT91_DATAFLASH_CARD
	select HAVE_NAND_ATMEL_BUSWIDTH_16
271 272 273 274 275 276 277 278
	help
	  Select this if you are using Atmel's AT91SAM9G10-EK Evaluation Kit.
	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4588>

endif

# ----------------------------------------------------------

279 280 281 282 283 284
if ARCH_AT91SAM9263

comment "AT91SAM9263 Board Type"

config MACH_AT91SAM9263EK
	bool "Atmel AT91SAM9263-EK Evaluation Kit"
285 286
	select HAVE_AT91_DATAFLASH_CARD
	select HAVE_NAND_ATMEL_BUSWIDTH_16
287 288 289 290
	help
	  Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>

291 292 293 294 295 296
config MACH_USB_A9263
	bool "CALAO USB-A9263"
	help
	  Select this if you are using a Calao Systems USB-A9263.
	  <http://www.calao-systems.com>

297 298
config MACH_NEOCORE926
	bool "Adeneo NEOCORE926"
299
	select HAVE_AT91_DATAFLASH_CARD
300 301 302
	help
	  Select this if you are using the Adeneo Neocore 926 board.

303 304 305 306
endif

# ----------------------------------------------------------

307 308 309 310 311 312 313 314 315 316 317 318 319
if ARCH_AT91SAM9RL

comment "AT91SAM9RL Board Type"

config MACH_AT91SAM9RLEK
	bool "Atmel AT91SAM9RL-EK Evaluation Kit"
	help
	  Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.

endif

# ----------------------------------------------------------

320 321 322 323 324 325
if ARCH_AT91SAM9G20

comment "AT91SAM9G20 Board Type"

config MACH_AT91SAM9G20EK
	bool "Atmel AT91SAM9G20-EK Evaluation Kit"
326 327
	select HAVE_AT91_DATAFLASH_CARD
	select HAVE_NAND_ATMEL_BUSWIDTH_16
328
	help
329 330 331 332 333
	  Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit
	  that embeds only one SD/MMC slot.

config MACH_AT91SAM9G20EK_2MMC
	bool "Atmel AT91SAM9G20-EK Evaluation Kit with 2 SD/MMC Slots"
334
	select HAVE_NAND_ATMEL_BUSWIDTH_16
335 336 337 338
	help
	  Select this if you are using an Atmel AT91SAM9G20-EK Evaluation Kit
	  with 2 SD/MMC Slots. This is the case for AT91SAM9G20-EK rev. C and
	  onwards.
339

340 341 342 343 344 345
config MACH_CPU9G20
	bool "Eukrea CPU9G20 board"
	help
	  Select this if you are using a Eukrea Electromatique's
	  CPU9G20 Board <http://www.eukrea.com/>

346 347 348 349
endif

# ----------------------------------------------------------

350 351 352 353 354 355
if ARCH_AT91SAM9G45

comment "AT91SAM9G45 Board Type"

config MACH_AT91SAM9G45EKES
	bool "Atmel AT91SAM9G45-EKES Evaluation Kit"
356
	select HAVE_NAND_ATMEL_BUSWIDTH_16
357 358 359 360 361 362 363 364 365
	help
	  Select this if you are using Atmel's AT91SAM9G45-EKES Evaluation Kit.
	  "ES" at the end of the name means that this board is an
	  Engineering Sample.

endif

# ----------------------------------------------------------

366 367 368 369 370 371
if ARCH_AT91CAP9

comment "AT91CAP9 Board Type"

config MACH_AT91CAP9ADK
	bool "Atmel AT91CAP9A-DK Evaluation Kit"
372 373
	select HAVE_AT91_DATAFLASH_CARD
	select HAVE_NAND_ATMEL_BUSWIDTH_16
374 375 376 377 378 379 380 381
	help
	  Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
	  <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>

endif

# ----------------------------------------------------------

382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397
if ARCH_AT91X40

comment "AT91X40 Board Type"

config MACH_AT91EB01
	bool "Atmel AT91EB01 Evaluation Kit"
	help
	  Select this if you are using Atmel's AT91EB01 Evaluation Kit.
	  It is also a popular target for simulators such as GDB's
	  ARM simulator (commonly known as the ARMulator) and the
	  Skyeye simulator.

endif

# ----------------------------------------------------------

398 399 400 401
comment "AT91 Board Options"

config MTD_AT91_DATAFLASH_CARD
	bool "Enable DataFlash Card support"
402
	depends on HAVE_AT91_DATAFLASH_CARD
403 404 405
	help
	  Enable support for the DataFlash card.

406
config MTD_NAND_ATMEL_BUSWIDTH_16
407
	bool "Enable 16-bit data bus interface to NAND flash"
408
	depends on HAVE_NAND_ATMEL_BUSWIDTH_16
409 410 411
	help
	  On AT91SAM926x boards both types of NAND flash can be present
	  (8 and 16 bit data bus width).
412

413
# ----------------------------------------------------------
414

415
comment "AT91 Feature Selections"
416 417 418 419 420 421 422

config AT91_PROGRAMMABLE_CLOCKS
	bool "Programmable Clocks"
	help
	  Select this if you need to program one or more of the PCK0..PCK3
	  programmable clock outputs.

423 424 425 426 427 428 429 430 431 432 433 434 435
config AT91_SLOW_CLOCK
	bool "Suspend-to-RAM disables main oscillator"
	depends on SUSPEND
	help
	  Select this if you want Suspend-to-RAM to save the most power
	  possible (without powering off the CPU) by disabling the PLLs
	  and main oscillator so that only the 32 KiHz clock is available.

	  When only that slow-clock is available, some peripherals lose
	  functionality.  Many can't issue wakeup events unless faster
	  clocks are available.  Some lose their operating state and
	  need to be completely re-initialized.

436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451
config AT91_TIMER_HZ
       int "Kernel HZ (jiffies per second)"
       range 32 1024
       depends on ARCH_AT91
       default "128" if ARCH_AT91RM9200
       default "100"
       help
	  On AT91rm9200 chips where you're using a system clock derived
	  from the 32768 Hz hardware clock, this tick rate should divide
	  it exactly: use a power-of-two value, such as 128 or 256, to
	  reduce timing errors caused by rounding.

	  On AT91sam926x chips, or otherwise when using a higher precision
	  system clock (of at least several MHz), rounding is less of a
	  problem so it can be safer to use a decimal values like 100.

452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469
choice
	prompt "Select a UART for early kernel messages"

config AT91_EARLY_DBGU
	bool "DBGU"

config AT91_EARLY_USART0
	bool "USART0"

config AT91_EARLY_USART1
	bool "USART1"

config AT91_EARLY_USART2
	bool "USART2"
	depends on ! ARCH_AT91X40

config AT91_EARLY_USART3
	bool "USART3"
470
	depends on HAVE_AT91_USART3
471 472 473

config AT91_EARLY_USART4
	bool "USART4"
474
	depends on HAVE_AT91_USART4
475 476 477

config AT91_EARLY_USART5
	bool "USART5"
478
	depends on HAVE_AT91_USART5
479 480 481

endchoice

482 483 484
endmenu

endif