Kconfig 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538
  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/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. depends on MACH_AT91SAM9G20EK
  268. bool "Atmel AT91SAM9G20-EK Evaluation Kit with 2 SD/MMC Slots"
  269. select HAVE_NAND_ATMEL_BUSWIDTH_16
  270. help
  271. Select this if you are using an Atmel AT91SAM9G20-EK Evaluation Kit
  272. with 2 SD/MMC Slots. This is the case for AT91SAM9G20-EK rev. C and
  273. onwards.
  274. config MACH_CPU9G20
  275. bool "Eukrea CPU9G20 board"
  276. help
  277. Select this if you are using a Eukrea Electromatique's
  278. CPU9G20 Board <http://www.eukrea.com/>
  279. config MACH_PORTUXG20
  280. bool "taskit PortuxG20"
  281. help
  282. Select this if you are using taskit's PortuxG20.
  283. <http://www.taskit.de/en/>
  284. config MACH_STAMP9G20
  285. bool "taskit Stamp9G20 CPU module"
  286. help
  287. Select this if you are using taskit's Stamp9G20 CPU module on its
  288. evaluation board.
  289. <http://www.taskit.de/en/>
  290. endif
  291. if (ARCH_AT91SAM9260 || ARCH_AT91SAM9G20)
  292. comment "AT91SAM9260/AT91SAM9G20 boards"
  293. config MACH_SNAPPER_9260
  294. bool "Bluewater Systems Snapper 9260/9G20 module"
  295. help
  296. Select this if you are using the Bluewater Systems Snapper 9260 or
  297. Snapper 9G20 modules.
  298. <http://www.bluewatersys.com/>
  299. endif
  300. # ----------------------------------------------------------
  301. if ARCH_AT91SAM9G45
  302. comment "AT91SAM9G45 Board Type"
  303. config MACH_AT91SAM9M10G45EK
  304. bool "Atmel AT91SAM9M10G45-EK Evaluation Kits"
  305. select HAVE_NAND_ATMEL_BUSWIDTH_16
  306. help
  307. Select this if you are using Atmel's AT91SAM9G45-EKES Evaluation Kit.
  308. "ES" at the end of the name means that this board is an
  309. Engineering Sample.
  310. endif
  311. # ----------------------------------------------------------
  312. if ARCH_AT91CAP9
  313. comment "AT91CAP9 Board Type"
  314. config MACH_AT91CAP9ADK
  315. bool "Atmel AT91CAP9A-DK Evaluation Kit"
  316. select HAVE_AT91_DATAFLASH_CARD
  317. select HAVE_NAND_ATMEL_BUSWIDTH_16
  318. help
  319. Select this if you are using Atmel's AT91CAP9A-DK Evaluation Kit.
  320. <http://www.atmel.com/dyn/products/tools_card.asp?tool_id=4138>
  321. endif
  322. # ----------------------------------------------------------
  323. if ARCH_AT572D940HF
  324. comment "AT572D940HF Board Type"
  325. config MACH_AT572D940HFEB
  326. bool "AT572D940HF-EK"
  327. depends on ARCH_AT572D940HF
  328. select HAVE_AT91_DATAFLASH_CARD
  329. select HAVE_NAND_ATMEL_BUSWIDTH_16
  330. help
  331. Select this if you are using Atmel's AT572D940HF-EK evaluation kit.
  332. <http://www.atmel.com/products/diopsis/default.asp>
  333. endif
  334. # ----------------------------------------------------------
  335. if ARCH_AT91X40
  336. comment "AT91X40 Board Type"
  337. config MACH_AT91EB01
  338. bool "Atmel AT91EB01 Evaluation Kit"
  339. help
  340. Select this if you are using Atmel's AT91EB01 Evaluation Kit.
  341. It is also a popular target for simulators such as GDB's
  342. ARM simulator (commonly known as the ARMulator) and the
  343. Skyeye simulator.
  344. endif
  345. # ----------------------------------------------------------
  346. comment "AT91 Board Options"
  347. config MTD_AT91_DATAFLASH_CARD
  348. bool "Enable DataFlash Card support"
  349. depends on HAVE_AT91_DATAFLASH_CARD
  350. help
  351. Enable support for the DataFlash card.
  352. config MTD_NAND_ATMEL_BUSWIDTH_16
  353. bool "Enable 16-bit data bus interface to NAND flash"
  354. depends on HAVE_NAND_ATMEL_BUSWIDTH_16
  355. help
  356. On AT91SAM926x boards both types of NAND flash can be present
  357. (8 and 16 bit data bus width).
  358. # ----------------------------------------------------------
  359. comment "AT91 Feature Selections"
  360. config AT91_PROGRAMMABLE_CLOCKS
  361. bool "Programmable Clocks"
  362. help
  363. Select this if you need to program one or more of the PCK0..PCK3
  364. programmable clock outputs.
  365. config AT91_SLOW_CLOCK
  366. bool "Suspend-to-RAM disables main oscillator"
  367. depends on SUSPEND
  368. help
  369. Select this if you want Suspend-to-RAM to save the most power
  370. possible (without powering off the CPU) by disabling the PLLs
  371. and main oscillator so that only the 32 KiHz clock is available.
  372. When only that slow-clock is available, some peripherals lose
  373. functionality. Many can't issue wakeup events unless faster
  374. clocks are available. Some lose their operating state and
  375. need to be completely re-initialized.
  376. config AT91_TIMER_HZ
  377. int "Kernel HZ (jiffies per second)"
  378. range 32 1024
  379. depends on ARCH_AT91
  380. default "128" if ARCH_AT91RM9200
  381. default "100"
  382. help
  383. On AT91rm9200 chips where you're using a system clock derived
  384. from the 32768 Hz hardware clock, this tick rate should divide
  385. it exactly: use a power-of-two value, such as 128 or 256, to
  386. reduce timing errors caused by rounding.
  387. On AT91sam926x chips, or otherwise when using a higher precision
  388. system clock (of at least several MHz), rounding is less of a
  389. problem so it can be safer to use a decimal values like 100.
  390. choice
  391. prompt "Select a UART for early kernel messages"
  392. config AT91_EARLY_DBGU
  393. bool "DBGU"
  394. config AT91_EARLY_USART0
  395. bool "USART0"
  396. config AT91_EARLY_USART1
  397. bool "USART1"
  398. config AT91_EARLY_USART2
  399. bool "USART2"
  400. depends on ! ARCH_AT91X40
  401. config AT91_EARLY_USART3
  402. bool "USART3"
  403. depends on HAVE_AT91_USART3
  404. config AT91_EARLY_USART4
  405. bool "USART4"
  406. depends on HAVE_AT91_USART4
  407. config AT91_EARLY_USART5
  408. bool "USART5"
  409. depends on HAVE_AT91_USART5
  410. endchoice
  411. endmenu
  412. endif