Kconfig 12 KB

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