Kconfig 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495
  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_AT91X40
  76. bool "AT91x40"
  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/products.htm>
  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.htm>
  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://kwikbyte.com/KB9202_description_new.htm>
  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. endif
  205. # ----------------------------------------------------------
  206. if ARCH_AT91SAM9261
  207. comment "AT91SAM9261 Board Type"
  208. config MACH_AT91SAM9261EK
  209. bool "Atmel AT91SAM9261-EK Evaluation Kit"
  210. select HAVE_AT91_DATAFLASH_CARD
  211. select HAVE_NAND_ATMEL_BUSWIDTH_16
  212. help
  213. Select this if you are using Atmel's AT91SAM9261-EK Evaluation Kit.
  214. <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=3820>
  215. endif
  216. # ----------------------------------------------------------
  217. if ARCH_AT91SAM9G10
  218. comment "AT91SAM9G10 Board Type"
  219. config MACH_AT91SAM9G10EK
  220. bool "Atmel AT91SAM9G10-EK Evaluation Kit"
  221. select HAVE_AT91_DATAFLASH_CARD
  222. select HAVE_NAND_ATMEL_BUSWIDTH_16
  223. help
  224. Select this if you are using Atmel's AT91SAM9G10-EK Evaluation Kit.
  225. <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4588>
  226. endif
  227. # ----------------------------------------------------------
  228. if ARCH_AT91SAM9263
  229. comment "AT91SAM9263 Board Type"
  230. config MACH_AT91SAM9263EK
  231. bool "Atmel AT91SAM9263-EK Evaluation Kit"
  232. select HAVE_AT91_DATAFLASH_CARD
  233. select HAVE_NAND_ATMEL_BUSWIDTH_16
  234. help
  235. Select this if you are using Atmel's AT91SAM9263-EK Evaluation Kit.
  236. <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4057>
  237. config MACH_USB_A9263
  238. bool "CALAO USB-A9263"
  239. help
  240. Select this if you are using a Calao Systems USB-A9263.
  241. <http://www.calao-systems.com>
  242. config MACH_NEOCORE926
  243. bool "Adeneo NEOCORE926"
  244. select HAVE_AT91_DATAFLASH_CARD
  245. help
  246. Select this if you are using the Adeneo Neocore 926 board.
  247. endif
  248. # ----------------------------------------------------------
  249. if ARCH_AT91SAM9RL
  250. comment "AT91SAM9RL Board Type"
  251. config MACH_AT91SAM9RLEK
  252. bool "Atmel AT91SAM9RL-EK Evaluation Kit"
  253. help
  254. Select this if you are using Atmel's AT91SAM9RL-EK Evaluation Kit.
  255. endif
  256. # ----------------------------------------------------------
  257. if ARCH_AT91SAM9G20
  258. comment "AT91SAM9G20 Board Type"
  259. config MACH_AT91SAM9G20EK
  260. bool "Atmel AT91SAM9G20-EK Evaluation Kit"
  261. select HAVE_AT91_DATAFLASH_CARD
  262. select HAVE_NAND_ATMEL_BUSWIDTH_16
  263. help
  264. Select this if you are using Atmel's AT91SAM9G20-EK Evaluation Kit
  265. that embeds only one SD/MMC slot.
  266. config MACH_AT91SAM9G20EK_2MMC
  267. bool "Atmel AT91SAM9G20-EK Evaluation Kit with 2 SD/MMC Slots"
  268. select HAVE_NAND_ATMEL_BUSWIDTH_16
  269. help
  270. Select this if you are using an Atmel AT91SAM9G20-EK Evaluation Kit
  271. with 2 SD/MMC Slots. This is the case for AT91SAM9G20-EK rev. C and
  272. onwards.
  273. config MACH_CPU9G20
  274. bool "Eukrea CPU9G20 board"
  275. help
  276. Select this if you are using a Eukrea Electromatique's
  277. CPU9G20 Board <http://www.eukrea.com/>
  278. endif
  279. # ----------------------------------------------------------
  280. if ARCH_AT91SAM9G45
  281. comment "AT91SAM9G45 Board Type"
  282. config MACH_AT91SAM9G45EKES
  283. bool "Atmel AT91SAM9G45-EKES Evaluation Kit"
  284. select HAVE_NAND_ATMEL_BUSWIDTH_16
  285. help
  286. Select this if you are using Atmel's AT91SAM9G45-EKES Evaluation Kit.
  287. "ES" at the end of the name means that this board is an
  288. Engineering Sample.
  289. endif
  290. # ----------------------------------------------------------
  291. if ARCH_AT91CAP9
  292. comment "AT91CAP9 Board Type"
  293. config MACH_AT91CAP9ADK
  294. bool "Atmel AT91CAP9A-DK Evaluation Kit"
  295. select HAVE_AT91_DATAFLASH_CARD
  296. select HAVE_NAND_ATMEL_BUSWIDTH_16
  297. help
  298. Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
  299. <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
  300. endif
  301. # ----------------------------------------------------------
  302. if ARCH_AT91X40
  303. comment "AT91X40 Board Type"
  304. config MACH_AT91EB01
  305. bool "Atmel AT91EB01 Evaluation Kit"
  306. help
  307. Select this if you are using Atmel's AT91EB01 Evaluation Kit.
  308. It is also a popular target for simulators such as GDB's
  309. ARM simulator (commonly known as the ARMulator) and the
  310. Skyeye simulator.
  311. endif
  312. # ----------------------------------------------------------
  313. comment "AT91 Board Options"
  314. config MTD_AT91_DATAFLASH_CARD
  315. bool "Enable DataFlash Card support"
  316. depends on HAVE_AT91_DATAFLASH_CARD
  317. help
  318. Enable support for the DataFlash card.
  319. config MTD_NAND_ATMEL_BUSWIDTH_16
  320. bool "Enable 16-bit data bus interface to NAND flash"
  321. depends on HAVE_NAND_ATMEL_BUSWIDTH_16
  322. help
  323. On AT91SAM926x boards both types of NAND flash can be present
  324. (8 and 16 bit data bus width).
  325. # ----------------------------------------------------------
  326. comment "AT91 Feature Selections"
  327. config AT91_PROGRAMMABLE_CLOCKS
  328. bool "Programmable Clocks"
  329. help
  330. Select this if you need to program one or more of the PCK0..PCK3
  331. programmable clock outputs.
  332. config AT91_SLOW_CLOCK
  333. bool "Suspend-to-RAM disables main oscillator"
  334. depends on SUSPEND
  335. help
  336. Select this if you want Suspend-to-RAM to save the most power
  337. possible (without powering off the CPU) by disabling the PLLs
  338. and main oscillator so that only the 32 KiHz clock is available.
  339. When only that slow-clock is available, some peripherals lose
  340. functionality. Many can't issue wakeup events unless faster
  341. clocks are available. Some lose their operating state and
  342. need to be completely re-initialized.
  343. config AT91_TIMER_HZ
  344. int "Kernel HZ (jiffies per second)"
  345. range 32 1024
  346. depends on ARCH_AT91
  347. default "128" if ARCH_AT91RM9200
  348. default "100"
  349. help
  350. On AT91rm9200 chips where you're using a system clock derived
  351. from the 32768 Hz hardware clock, this tick rate should divide
  352. it exactly: use a power-of-two value, such as 128 or 256, to
  353. reduce timing errors caused by rounding.
  354. On AT91sam926x chips, or otherwise when using a higher precision
  355. system clock (of at least several MHz), rounding is less of a
  356. problem so it can be safer to use a decimal values like 100.
  357. choice
  358. prompt "Select a UART for early kernel messages"
  359. config AT91_EARLY_DBGU
  360. bool "DBGU"
  361. config AT91_EARLY_USART0
  362. bool "USART0"
  363. config AT91_EARLY_USART1
  364. bool "USART1"
  365. config AT91_EARLY_USART2
  366. bool "USART2"
  367. depends on ! ARCH_AT91X40
  368. config AT91_EARLY_USART3
  369. bool "USART3"
  370. depends on HAVE_AT91_USART3
  371. config AT91_EARLY_USART4
  372. bool "USART4"
  373. depends on HAVE_AT91_USART4
  374. config AT91_EARLY_USART5
  375. bool "USART5"
  376. depends on HAVE_AT91_USART5
  377. endchoice
  378. endmenu
  379. endif