Kconfig 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518
  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. endchoice
  83. config AT91_PMC_UNIT
  84. bool
  85. default !ARCH_AT91X40
  86. # ----------------------------------------------------------
  87. if ARCH_AT91RM9200
  88. comment "AT91RM9200 Board Type"
  89. config MACH_ONEARM
  90. bool "Ajeco 1ARM Single Board Computer"
  91. help
  92. Select this if you are using Ajeco's 1ARM Single Board Computer.
  93. <http://www.ajeco.fi/products.htm>
  94. config ARCH_AT91RM9200DK
  95. bool "Atmel AT91RM9200-DK Development board"
  96. select HAVE_AT91_DATAFLASH_CARD
  97. help
  98. Select this if you are using Atmel's AT91RM9200-DK Development board.
  99. (Discontinued)
  100. config MACH_AT91RM9200EK
  101. bool "Atmel AT91RM9200-EK Evaluation Kit"
  102. select HAVE_AT91_DATAFLASH_CARD
  103. help
  104. Select this if you are using Atmel's AT91RM9200-EK Evaluation Kit.
  105. <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3507>
  106. config MACH_CSB337
  107. bool "Cogent CSB337"
  108. help
  109. Select this if you are using Cogent's CSB337 board.
  110. <http://www.cogcomp.com/csb_csb337.htm>
  111. config MACH_CSB637
  112. bool "Cogent CSB637"
  113. help
  114. Select this if you are using Cogent's CSB637 board.
  115. <http://www.cogcomp.com/csb_csb637.htm>
  116. config MACH_CARMEVA
  117. bool "Conitec ARM&EVA"
  118. help
  119. Select this if you are using Conitec's AT91RM9200-MCU-Module.
  120. <http://www.conitec.net/english/linuxboard.htm>
  121. config MACH_ATEB9200
  122. bool "Embest ATEB9200"
  123. help
  124. Select this if you are using Embest's ATEB9200 board.
  125. <http://www.embedinfo.com/english/product/ATEB9200.asp>
  126. config MACH_KB9200
  127. bool "KwikByte KB920x"
  128. help
  129. Select this if you are using KwikByte's KB920x board.
  130. <http://kwikbyte.com/KB9202_description_new.htm>
  131. config MACH_PICOTUX2XX
  132. bool "picotux 200"
  133. help
  134. Select this if you are using a picotux 200.
  135. <http://www.picotux.com/>
  136. config MACH_KAFA
  137. bool "Sperry-Sun KAFA board"
  138. help
  139. Select this if you are using Sperry-Sun's KAFA board.
  140. config MACH_ECBAT91
  141. bool "emQbit ECB_AT91 SBC"
  142. select HAVE_AT91_DATAFLASH_CARD
  143. help
  144. Select this if you are using emQbit's ECB_AT91 board.
  145. <http://wiki.emqbit.com/free-ecb-at91>
  146. config MACH_YL9200
  147. bool "ucDragon YL-9200"
  148. help
  149. Select this if you are using the ucDragon YL-9200 board.
  150. config MACH_CPUAT91
  151. bool "Eukrea CPUAT91"
  152. help
  153. Select this if you are using the Eukrea Electromatique's
  154. CPUAT91 board <http://www.eukrea.com/>.
  155. config MACH_ECO920
  156. bool "eco920"
  157. help
  158. Select this if you are using the eco920 board
  159. endif
  160. # ----------------------------------------------------------
  161. if ARCH_AT91SAM9260
  162. comment "AT91SAM9260 Variants"
  163. config ARCH_AT91SAM9260_SAM9XE
  164. bool "AT91SAM9XE"
  165. help
  166. Select this if you are using Atmel's AT91SAM9XE System-on-Chip.
  167. They are basically AT91SAM9260s with various sizes of embedded Flash.
  168. comment "AT91SAM9260 / AT91SAM9XE Board Type"
  169. config MACH_AT91SAM9260EK
  170. bool "Atmel AT91SAM9260-EK / AT91SAM9XE Evaluation Kit"
  171. select HAVE_AT91_DATAFLASH_CARD
  172. select HAVE_NAND_ATMEL_BUSWIDTH_16
  173. help
  174. Select this if you are using Atmel's AT91SAM9260-EK or AT91SAM9XE Evaluation Kit
  175. <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3933>
  176. config MACH_CAM60
  177. bool "KwikByte KB9260 (CAM60) board"
  178. help
  179. Select this if you are using KwikByte's KB9260 (CAM60) board based on the Atmel AT91SAM9260.
  180. <http://www.kwikbyte.com/KB9260.html>
  181. config MACH_SAM9_L9260
  182. bool "Olimex SAM9-L9260 board"
  183. select HAVE_AT91_DATAFLASH_CARD
  184. help
  185. Select this if you are using Olimex's SAM9-L9260 board based on the Atmel AT91SAM9260.
  186. <http://www.olimex.com/dev/sam9-L9260.html>
  187. config MACH_AFEB9260
  188. bool "Custom afeb9260 board v1"
  189. help
  190. Select this if you are using custom afeb9260 board based on
  191. open hardware design. Select this for revision 1 of the board.
  192. <svn://194.85.238.22/home/users/george/svn/arm9eb>
  193. <http://groups.google.com/group/arm9fpga-evolution-board>
  194. config MACH_USB_A9260
  195. bool "CALAO USB-A9260"
  196. help
  197. Select this if you are using a Calao Systems USB-A9260.
  198. <http://www.calao-systems.com>
  199. config MACH_QIL_A9260
  200. bool "CALAO QIL-A9260 board"
  201. help
  202. Select this if you are using a Calao Systems QIL-A9260 Board.
  203. <http://www.calao-systems.com>
  204. config MACH_CPU9260
  205. bool "Eukrea CPU9260 board"
  206. help
  207. Select this if you are using a Eukrea Electromatique's
  208. CPU9260 Board <http://www.eukrea.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. bool "Atmel AT91SAM9G20-EK Evaluation Kit with 2 SD/MMC Slots"
  273. select HAVE_NAND_ATMEL_BUSWIDTH_16
  274. help
  275. Select this if you are using an Atmel AT91SAM9G20-EK Evaluation Kit
  276. with 2 SD/MMC Slots. This is the case for AT91SAM9G20-EK rev. C and
  277. onwards.
  278. config MACH_CPU9G20
  279. bool "Eukrea CPU9G20 board"
  280. help
  281. Select this if you are using a Eukrea Electromatique's
  282. CPU9G20 Board <http://www.eukrea.com/>
  283. endif
  284. # ----------------------------------------------------------
  285. if ARCH_AT91SAM9G45
  286. comment "AT91SAM9G45 Board Type"
  287. config MACH_AT91SAM9G45EKES
  288. bool "Atmel AT91SAM9G45-EKES Evaluation Kit"
  289. select HAVE_NAND_ATMEL_BUSWIDTH_16
  290. help
  291. Select this if you are using Atmel's AT91SAM9G45-EKES Evaluation Kit.
  292. "ES" at the end of the name means that this board is an
  293. Engineering Sample.
  294. endif
  295. # ----------------------------------------------------------
  296. if ARCH_AT91CAP9
  297. comment "AT91CAP9 Board Type"
  298. config MACH_AT91CAP9ADK
  299. bool "Atmel AT91CAP9A-DK Evaluation Kit"
  300. select HAVE_AT91_DATAFLASH_CARD
  301. select HAVE_NAND_ATMEL_BUSWIDTH_16
  302. help
  303. Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
  304. <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
  305. endif
  306. # ----------------------------------------------------------
  307. if ARCH_AT572D940HF
  308. comment "AT572D940HF Board Type"
  309. config MACH_AT572D940HFEB
  310. bool "AT572D940HF-EK"
  311. depends on ARCH_AT572D940HF
  312. select HAVE_AT91_DATAFLASH_CARD
  313. select HAVE_NAND_ATMEL_BUSWIDTH_16
  314. help
  315. Select this if you are using Atmel's AT572D940HF-EK evaluation kit.
  316. <http://www.atmel.com/products/diopsis/default.asp>
  317. endif
  318. # ----------------------------------------------------------
  319. if ARCH_AT91X40
  320. comment "AT91X40 Board Type"
  321. config MACH_AT91EB01
  322. bool "Atmel AT91EB01 Evaluation Kit"
  323. help
  324. Select this if you are using Atmel's AT91EB01 Evaluation Kit.
  325. It is also a popular target for simulators such as GDB's
  326. ARM simulator (commonly known as the ARMulator) and the
  327. Skyeye simulator.
  328. endif
  329. # ----------------------------------------------------------
  330. comment "AT91 Board Options"
  331. config MTD_AT91_DATAFLASH_CARD
  332. bool "Enable DataFlash Card support"
  333. depends on HAVE_AT91_DATAFLASH_CARD
  334. help
  335. Enable support for the DataFlash card.
  336. config MTD_NAND_ATMEL_BUSWIDTH_16
  337. bool "Enable 16-bit data bus interface to NAND flash"
  338. depends on HAVE_NAND_ATMEL_BUSWIDTH_16
  339. help
  340. On AT91SAM926x boards both types of NAND flash can be present
  341. (8 and 16 bit data bus width).
  342. # ----------------------------------------------------------
  343. comment "AT91 Feature Selections"
  344. config AT91_PROGRAMMABLE_CLOCKS
  345. bool "Programmable Clocks"
  346. help
  347. Select this if you need to program one or more of the PCK0..PCK3
  348. programmable clock outputs.
  349. config AT91_SLOW_CLOCK
  350. bool "Suspend-to-RAM disables main oscillator"
  351. depends on SUSPEND
  352. help
  353. Select this if you want Suspend-to-RAM to save the most power
  354. possible (without powering off the CPU) by disabling the PLLs
  355. and main oscillator so that only the 32 KiHz clock is available.
  356. When only that slow-clock is available, some peripherals lose
  357. functionality. Many can't issue wakeup events unless faster
  358. clocks are available. Some lose their operating state and
  359. need to be completely re-initialized.
  360. config AT91_TIMER_HZ
  361. int "Kernel HZ (jiffies per second)"
  362. range 32 1024
  363. depends on ARCH_AT91
  364. default "128" if ARCH_AT91RM9200
  365. default "100"
  366. help
  367. On AT91rm9200 chips where you're using a system clock derived
  368. from the 32768 Hz hardware clock, this tick rate should divide
  369. it exactly: use a power-of-two value, such as 128 or 256, to
  370. reduce timing errors caused by rounding.
  371. On AT91sam926x chips, or otherwise when using a higher precision
  372. system clock (of at least several MHz), rounding is less of a
  373. problem so it can be safer to use a decimal values like 100.
  374. choice
  375. prompt "Select a UART for early kernel messages"
  376. config AT91_EARLY_DBGU
  377. bool "DBGU"
  378. config AT91_EARLY_USART0
  379. bool "USART0"
  380. config AT91_EARLY_USART1
  381. bool "USART1"
  382. config AT91_EARLY_USART2
  383. bool "USART2"
  384. depends on ! ARCH_AT91X40
  385. config AT91_EARLY_USART3
  386. bool "USART3"
  387. depends on HAVE_AT91_USART3
  388. config AT91_EARLY_USART4
  389. bool "USART4"
  390. depends on HAVE_AT91_USART4
  391. config AT91_EARLY_USART5
  392. bool "USART5"
  393. depends on HAVE_AT91_USART5
  394. endchoice
  395. endmenu
  396. endif