Kconfig 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550
  1. if ARCH_AT91
  2. config HAVE_AT91_DATAFLASH_CARD
  3. bool
  4. config HAVE_NAND_ATMEL_BUSWIDTH_16
  5. bool
  6. config HAVE_AT91_USART3
  7. bool
  8. config HAVE_AT91_USART4
  9. bool
  10. config HAVE_AT91_USART5
  11. bool
  12. menu "Atmel AT91 System-on-Chip"
  13. choice
  14. prompt "Atmel AT91 Processor"
  15. config ARCH_AT91RM9200
  16. bool "AT91RM9200"
  17. select CPU_ARM920T
  18. select GENERIC_CLOCKEVENTS
  19. select HAVE_AT91_USART3
  20. config ARCH_AT91SAM9260
  21. bool "AT91SAM9260 or AT91SAM9XE"
  22. select CPU_ARM926T
  23. select GENERIC_CLOCKEVENTS
  24. select HAVE_AT91_USART3
  25. select HAVE_AT91_USART4
  26. select HAVE_AT91_USART5
  27. select HAVE_NET_MACB
  28. config ARCH_AT91SAM9261
  29. bool "AT91SAM9261"
  30. select CPU_ARM926T
  31. select GENERIC_CLOCKEVENTS
  32. select HAVE_FB_ATMEL
  33. config ARCH_AT91SAM9G10
  34. bool "AT91SAM9G10"
  35. select CPU_ARM926T
  36. select GENERIC_CLOCKEVENTS
  37. select HAVE_FB_ATMEL
  38. config ARCH_AT91SAM9263
  39. bool "AT91SAM9263"
  40. select CPU_ARM926T
  41. select GENERIC_CLOCKEVENTS
  42. select HAVE_FB_ATMEL
  43. select HAVE_NET_MACB
  44. config ARCH_AT91SAM9RL
  45. bool "AT91SAM9RL"
  46. select CPU_ARM926T
  47. select GENERIC_CLOCKEVENTS
  48. select HAVE_AT91_USART3
  49. select HAVE_FB_ATMEL
  50. config ARCH_AT91SAM9G20
  51. bool "AT91SAM9G20"
  52. select CPU_ARM926T
  53. select GENERIC_CLOCKEVENTS
  54. select HAVE_AT91_USART3
  55. select HAVE_AT91_USART4
  56. select HAVE_AT91_USART5
  57. select HAVE_NET_MACB
  58. config ARCH_AT91SAM9G45
  59. bool "AT91SAM9G45"
  60. select CPU_ARM926T
  61. select GENERIC_CLOCKEVENTS
  62. select HAVE_AT91_USART3
  63. select HAVE_FB_ATMEL
  64. select HAVE_NET_MACB
  65. config ARCH_AT91CAP9
  66. bool "AT91CAP9"
  67. select CPU_ARM926T
  68. select GENERIC_CLOCKEVENTS
  69. select HAVE_FB_ATMEL
  70. config ARCH_AT572D940HF
  71. bool "AT572D940HF"
  72. select CPU_ARM926T
  73. select GENERIC_CLOCKEVENTS
  74. config ARCH_AT91X40
  75. bool "AT91x40"
  76. select ARCH_USES_GETTIMEOFFSET
  77. endchoice
  78. config AT91_PMC_UNIT
  79. bool
  80. default !ARCH_AT91X40
  81. # ----------------------------------------------------------
  82. if ARCH_AT91RM9200
  83. comment "AT91RM9200 Board Type"
  84. config MACH_ONEARM
  85. bool "Ajeco 1ARM Single Board Computer"
  86. help
  87. Select this if you are using Ajeco's 1ARM Single Board Computer.
  88. <http://www.ajeco.fi/>
  89. config ARCH_AT91RM9200DK
  90. bool "Atmel AT91RM9200-DK Development board"
  91. select HAVE_AT91_DATAFLASH_CARD
  92. help
  93. Select this if you are using Atmel's AT91RM9200-DK Development board.
  94. (Discontinued)
  95. config MACH_AT91RM9200EK
  96. bool "Atmel AT91RM9200-EK Evaluation Kit"
  97. select HAVE_AT91_DATAFLASH_CARD
  98. help
  99. Select this if you are using Atmel's AT91RM9200-EK Evaluation Kit.
  100. <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3507>
  101. config MACH_CSB337
  102. bool "Cogent CSB337"
  103. help
  104. Select this if you are using Cogent's CSB337 board.
  105. <http://www.cogcomp.com/csb_csb337.htm>
  106. config MACH_CSB637
  107. bool "Cogent CSB637"
  108. help
  109. Select this if you are using Cogent's CSB637 board.
  110. <http://www.cogcomp.com/csb_csb637.htm>
  111. config MACH_CARMEVA
  112. bool "Conitec ARM&EVA"
  113. help
  114. Select this if you are using Conitec's AT91RM9200-MCU-Module.
  115. <http://www.conitec.net/english/linuxboard.php>
  116. config MACH_ATEB9200
  117. bool "Embest ATEB9200"
  118. help
  119. Select this if you are using Embest's ATEB9200 board.
  120. <http://www.embedinfo.com/english/product/ATEB9200.asp>
  121. config MACH_KB9200
  122. bool "KwikByte KB920x"
  123. help
  124. Select this if you are using KwikByte's KB920x board.
  125. <http://www.kwikbyte.com/KB9202.html>
  126. config MACH_PICOTUX2XX
  127. bool "picotux 200"
  128. help
  129. Select this if you are using a picotux 200.
  130. <http://www.picotux.com/>
  131. config MACH_KAFA
  132. bool "Sperry-Sun KAFA board"
  133. help
  134. Select this if you are using Sperry-Sun's KAFA board.
  135. config MACH_ECBAT91
  136. bool "emQbit ECB_AT91 SBC"
  137. select HAVE_AT91_DATAFLASH_CARD
  138. help
  139. Select this if you are using emQbit's ECB_AT91 board.
  140. <http://wiki.emqbit.com/free-ecb-at91>
  141. config MACH_YL9200
  142. bool "ucDragon YL-9200"
  143. help
  144. Select this if you are using the ucDragon YL-9200 board.
  145. config MACH_CPUAT91
  146. bool "Eukrea CPUAT91"
  147. help
  148. Select this if you are using the Eukrea Electromatique's
  149. CPUAT91 board <http://www.eukrea.com/>.
  150. config MACH_ECO920
  151. bool "eco920"
  152. help
  153. Select this if you are using the eco920 board
  154. endif
  155. # ----------------------------------------------------------
  156. if ARCH_AT91SAM9260
  157. comment "AT91SAM9260 Variants"
  158. config ARCH_AT91SAM9260_SAM9XE
  159. bool "AT91SAM9XE"
  160. help
  161. Select this if you are using Atmel's AT91SAM9XE System-on-Chip.
  162. They are basically AT91SAM9260s with various sizes of embedded Flash.
  163. comment "AT91SAM9260 / AT91SAM9XE Board Type"
  164. config MACH_AT91SAM9260EK
  165. bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
  166. select HAVE_AT91_DATAFLASH_CARD
  167. select HAVE_NAND_ATMEL_BUSWIDTH_16
  168. help
  169. Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
  170. <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>
  171. config MACH_CAM60
  172. bool "KwikByte KB9260 (CAM60) board"
  173. help
  174. Select this if you are using KwikByte's KB9260 (CAM60) board based on the Atmel AT91SAM9260.
  175. <http://www.kwikbyte.com/KB9260.html>
  176. config MACH_SAM9_L9260
  177. bool "Olimex SAM9-L9260 board"
  178. select HAVE_AT91_DATAFLASH_CARD
  179. help
  180. Select this if you are using Olimex's SAM9-L9260 board based on the Atmel AT91SAM9260.
  181. <http://www.olimex.com/dev/sam9-L9260.html>
  182. config MACH_AFEB9260
  183. bool "Custom afeb9260 board v1"
  184. help
  185. Select this if you are using custom afeb9260 board based on
  186. open hardware design. Select this for revision 1 of the board.
  187. <svn://194.85.238.22/home/users/george/svn/arm9eb>
  188. <http://groups.google.com/group/arm9fpga-evolution-board>
  189. config MACH_USB_A9260
  190. bool "CALAO USB-A9260"
  191. help
  192. Select this if you are using a Calao Systems USB-A9260.
  193. <http://www.calao-systems.com>
  194. config MACH_QIL_A9260
  195. bool "CALAO QIL-A9260 board"
  196. help
  197. Select this if you are using a Calao Systems QIL-A9260 Board.
  198. <http://www.calao-systems.com>
  199. config MACH_CPU9260
  200. bool "Eukrea CPU9260 board"
  201. help
  202. Select this if you are using a Eukrea Electromatique's
  203. CPU9260 Board <http://www.eukrea.com/>
  204. config MACH_FLEXIBITY
  205. bool "Flexibity Connect board"
  206. help
  207. Select this if you are using Flexibity Connect board
  208. <http://www.flexibity.com>
  209. endif
  210. # ----------------------------------------------------------
  211. if ARCH_AT91SAM9261
  212. comment "AT91SAM9261 Board Type"
  213. config MACH_AT91SAM9261EK
  214. bool "Atmel AT91SAM9261-EK Evaluation Kit"
  215. select HAVE_AT91_DATAFLASH_CARD
  216. select HAVE_NAND_ATMEL_BUSWIDTH_16
  217. help
  218. Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
  219. <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
  220. endif
  221. # ----------------------------------------------------------
  222. if ARCH_AT91SAM9G10
  223. comment "AT91SAM9G10 Board Type"
  224. config MACH_AT91SAM9G10EK
  225. bool "Atmel AT91SAM9G10-EK Evaluation Kit"
  226. select HAVE_AT91_DATAFLASH_CARD
  227. select HAVE_NAND_ATMEL_BUSWIDTH_16
  228. help
  229. Select this if you are using Atmel's AT91SAM9G10-EK Evaluation Kit.
  230. <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4588>
  231. endif
  232. # ----------------------------------------------------------
  233. if ARCH_AT91SAM9263
  234. comment "AT91SAM9263 Board Type"
  235. config MACH_AT91SAM9263EK
  236. bool "Atmel AT91SAM9263-EK Evaluation Kit"
  237. select HAVE_AT91_DATAFLASH_CARD
  238. select HAVE_NAND_ATMEL_BUSWIDTH_16
  239. help
  240. Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
  241. <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
  242. config MACH_USB_A9263
  243. bool "CALAO USB-A9263"
  244. help
  245. Select this if you are using a Calao Systems USB-A9263.
  246. <http://www.calao-systems.com>
  247. config MACH_NEOCORE926
  248. bool "Adeneo NEOCORE926"
  249. select HAVE_AT91_DATAFLASH_CARD
  250. help
  251. Select this if you are using the Adeneo Neocore 926 board.
  252. endif
  253. # ----------------------------------------------------------
  254. if ARCH_AT91SAM9RL
  255. comment "AT91SAM9RL Board Type"
  256. config MACH_AT91SAM9RLEK
  257. bool "Atmel AT91SAM9RL-EK Evaluation Kit"
  258. help
  259. Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
  260. endif
  261. # ----------------------------------------------------------
  262. if ARCH_AT91SAM9G20
  263. comment "AT91SAM9G20 Board Type"
  264. config MACH_AT91SAM9G20EK
  265. bool "Atmel AT91SAM9G20-EK Evaluation Kit"
  266. select HAVE_AT91_DATAFLASH_CARD
  267. select HAVE_NAND_ATMEL_BUSWIDTH_16
  268. help
  269. Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit
  270. that embeds only one SD/MMC slot.
  271. config MACH_AT91SAM9G20EK_2MMC
  272. depends on MACH_AT91SAM9G20EK
  273. bool "Atmel AT91SAM9G20-EK Evaluation Kit with 2 SD/MMC Slots"
  274. select HAVE_NAND_ATMEL_BUSWIDTH_16
  275. help
  276. Select this if you are using an Atmel AT91SAM9G20-EK Evaluation Kit
  277. with 2 SD/MMC Slots. This is the case for AT91SAM9G20-EK rev. C and
  278. onwards.
  279. config MACH_CPU9G20
  280. bool "Eukrea CPU9G20 board"
  281. help
  282. Select this if you are using a Eukrea Electromatique's
  283. CPU9G20 Board <http://www.eukrea.com/>
  284. config MACH_PORTUXG20
  285. bool "taskit PortuxG20"
  286. help
  287. Select this if you are using taskit's PortuxG20.
  288. <http://www.taskit.de/en/>
  289. config MACH_STAMP9G20
  290. bool "taskit Stamp9G20 CPU module"
  291. help
  292. Select this if you are using taskit's Stamp9G20 CPU module on its
  293. evaluation board.
  294. <http://www.taskit.de/en/>
  295. config MACH_PCONTROL_G20
  296. bool "PControl G20 CPU module"
  297. help
  298. Select this if you are using taskit's Stamp9G20 CPU module on this
  299. carrier board, beeing the decentralized unit of a building automation
  300. system; featuring nvram, eth-switch, iso-rs485, display, io
  301. endif
  302. if (ARCH_AT91SAM9260 || ARCH_AT91SAM9G20)
  303. comment "AT91SAM9260/AT91SAM9G20 boards"
  304. config MACH_SNAPPER_9260
  305. bool "Bluewater Systems Snapper 9260/9G20 module"
  306. help
  307. Select this if you are using the Bluewater Systems Snapper 9260 or
  308. Snapper 9G20 modules.
  309. <http://www.bluewatersys.com/>
  310. endif
  311. # ----------------------------------------------------------
  312. if ARCH_AT91SAM9G45
  313. comment "AT91SAM9G45 Board Type"
  314. config MACH_AT91SAM9M10G45EK
  315. bool "Atmel AT91SAM9M10G45-EK Evaluation Kits"
  316. select HAVE_NAND_ATMEL_BUSWIDTH_16
  317. help
  318. Select this if you are using Atmel's AT91SAM9G45-EKES Evaluation Kit.
  319. "ES" at the end of the name means that this board is an
  320. Engineering Sample.
  321. endif
  322. # ----------------------------------------------------------
  323. if ARCH_AT91CAP9
  324. comment "AT91CAP9 Board Type"
  325. config MACH_AT91CAP9ADK
  326. bool "Atmel AT91CAP9A-DK Evaluation Kit"
  327. select HAVE_AT91_DATAFLASH_CARD
  328. select HAVE_NAND_ATMEL_BUSWIDTH_16
  329. help
  330. Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
  331. <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
  332. endif
  333. # ----------------------------------------------------------
  334. if ARCH_AT572D940HF
  335. comment "AT572D940HF Board Type"
  336. config MACH_AT572D940HFEB
  337. bool "AT572D940HF-EK"
  338. depends on ARCH_AT572D940HF
  339. select HAVE_AT91_DATAFLASH_CARD
  340. select HAVE_NAND_ATMEL_BUSWIDTH_16
  341. help
  342. Select this if you are using Atmel's AT572D940HF-EK evaluation kit.
  343. <http://www.atmel.com/products/diopsis/default.asp>
  344. endif
  345. # ----------------------------------------------------------
  346. if ARCH_AT91X40
  347. comment "AT91X40 Board Type"
  348. config MACH_AT91EB01
  349. bool "Atmel AT91EB01 Evaluation Kit"
  350. help
  351. Select this if you are using Atmel's AT91EB01 Evaluation Kit.
  352. It is also a popular target for simulators such as GDB's
  353. ARM simulator (commonly known as the ARMulator) and the
  354. Skyeye simulator.
  355. endif
  356. # ----------------------------------------------------------
  357. comment "AT91 Board Options"
  358. config MTD_AT91_DATAFLASH_CARD
  359. bool "Enable DataFlash Card support"
  360. depends on HAVE_AT91_DATAFLASH_CARD
  361. help
  362. Enable support for the DataFlash card.
  363. config MTD_NAND_ATMEL_BUSWIDTH_16
  364. bool "Enable 16-bit data bus interface to NAND flash"
  365. depends on HAVE_NAND_ATMEL_BUSWIDTH_16
  366. help
  367. On AT91SAM926x boards both types of NAND flash can be present
  368. (8 and 16 bit data bus width).
  369. # ----------------------------------------------------------
  370. comment "AT91 Feature Selections"
  371. config AT91_PROGRAMMABLE_CLOCKS
  372. bool "Programmable Clocks"
  373. help
  374. Select this if you need to program one or more of the PCK0..PCK3
  375. programmable clock outputs.
  376. config AT91_SLOW_CLOCK
  377. bool "Suspend-to-RAM disables main oscillator"
  378. depends on SUSPEND
  379. help
  380. Select this if you want Suspend-to-RAM to save the most power
  381. possible (without powering off the CPU) by disabling the PLLs
  382. and main oscillator so that only the 32 KiHz clock is available.
  383. When only that slow-clock is available, some peripherals lose
  384. functionality. Many can't issue wakeup events unless faster
  385. clocks are available. Some lose their operating state and
  386. need to be completely re-initialized.
  387. config AT91_TIMER_HZ
  388. int "Kernel HZ (jiffies per second)"
  389. range 32 1024
  390. depends on ARCH_AT91
  391. default "128" if ARCH_AT91RM9200
  392. default "100"
  393. help
  394. On AT91rm9200 chips where you're using a system clock derived
  395. from the 32768 Hz hardware clock, this tick rate should divide
  396. it exactly: use a power-of-two value, such as 128 or 256, to
  397. reduce timing errors caused by rounding.
  398. On AT91sam926x chips, or otherwise when using a higher precision
  399. system clock (of at least several MHz), rounding is less of a
  400. problem so it can be safer to use a decimal values like 100.
  401. choice
  402. prompt "Select a UART for early kernel messages"
  403. config AT91_EARLY_DBGU
  404. bool "DBGU"
  405. config AT91_EARLY_USART0
  406. bool "USART0"
  407. config AT91_EARLY_USART1
  408. bool "USART1"
  409. config AT91_EARLY_USART2
  410. bool "USART2"
  411. depends on ! ARCH_AT91X40
  412. config AT91_EARLY_USART3
  413. bool "USART3"
  414. depends on HAVE_AT91_USART3
  415. config AT91_EARLY_USART4
  416. bool "USART4"
  417. depends on HAVE_AT91_USART4
  418. config AT91_EARLY_USART5
  419. bool "USART5"
  420. depends on HAVE_AT91_USART5
  421. endchoice
  422. endmenu
  423. endif