Kconfig 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  1. if ETRAX_ARCH_V32
  2. config ETRAX_ETHERNET
  3. bool "Ethernet support"
  4. depends on ETRAX_ARCH_V32 && NETDEVICES
  5. select MII
  6. help
  7. This option enables the ETRAX FS built-in 10/100Mbit Ethernet
  8. controller.
  9. config ETRAX_NO_PHY
  10. bool "PHY not present"
  11. depends on ETRAX_ETHERNET
  12. help
  13. This option disables all MDIO communication with an ethernet
  14. transceiver connected to the MII interface. This option shall
  15. typically be enabled if the MII interface is connected to a
  16. switch. This option should normally be disabled. If enabled,
  17. speed and duplex will be locked to 100 Mbit and full duplex.
  18. config ETRAXFS_SERIAL
  19. bool "Serial-port support"
  20. depends on ETRAX_ARCH_V32
  21. select SERIAL_CORE
  22. select SERIAL_CORE_CONSOLE
  23. help
  24. Enables the ETRAX FS serial driver for ser0 (ttyS0)
  25. You probably want this enabled.
  26. config ETRAX_RS485
  27. bool "RS-485 support"
  28. depends on ETRAXFS_SERIAL
  29. help
  30. Enables support for RS-485 serial communication.
  31. config ETRAX_RS485_DISABLE_RECEIVER
  32. bool "Disable serial receiver"
  33. depends on ETRAX_RS485
  34. help
  35. It is necessary to disable the serial receiver to avoid serial
  36. loopback. Not all products are able to do this in software only.
  37. config ETRAX_SERIAL_PORT0
  38. bool "Serial port 0 enabled"
  39. depends on ETRAXFS_SERIAL
  40. help
  41. Enables the ETRAX FS serial driver for ser0 (ttyS0)
  42. Normally you want this on. You can control what DMA channels to use
  43. if you do not need DMA to something else.
  44. ser0 can use dma4 or dma6 for output and dma5 or dma7 for input.
  45. config ETRAX_SERIAL_PORT1
  46. bool "Serial port 1 enabled"
  47. depends on ETRAXFS_SERIAL
  48. help
  49. Enables the ETRAX FS serial driver for ser1 (ttyS1).
  50. config ETRAX_SERIAL_PORT2
  51. bool "Serial port 2 enabled"
  52. depends on ETRAXFS_SERIAL
  53. help
  54. Enables the ETRAX FS serial driver for ser2 (ttyS2).
  55. config ETRAX_SERIAL_PORT3
  56. bool "Serial port 3 enabled"
  57. depends on ETRAXFS_SERIAL
  58. help
  59. Enables the ETRAX FS serial driver for ser3 (ttyS3).
  60. config ETRAX_SYNCHRONOUS_SERIAL
  61. bool "Synchronous serial-port support"
  62. depends on ETRAX_ARCH_V32
  63. help
  64. Enables the ETRAX FS synchronous serial driver.
  65. config ETRAX_SYNCHRONOUS_SERIAL_PORT0
  66. bool "Synchronous serial port 0 enabled"
  67. depends on ETRAX_SYNCHRONOUS_SERIAL
  68. help
  69. Enabled synchronous serial port 0.
  70. config ETRAX_SYNCHRONOUS_SERIAL0_DMA
  71. bool "Enable DMA on synchronous serial port 0."
  72. depends on ETRAX_SYNCHRONOUS_SERIAL_PORT0
  73. help
  74. A synchronous serial port can run in manual or DMA mode.
  75. Selecting this option will make it run in DMA mode.
  76. config ETRAX_SYNCHRONOUS_SERIAL_PORT1
  77. bool "Synchronous serial port 1 enabled"
  78. depends on ETRAX_SYNCHRONOUS_SERIAL && ETRAXFS
  79. help
  80. Enabled synchronous serial port 1.
  81. config ETRAX_SYNCHRONOUS_SERIAL1_DMA
  82. bool "Enable DMA on synchronous serial port 1."
  83. depends on ETRAX_SYNCHRONOUS_SERIAL_PORT1
  84. help
  85. A synchronous serial port can run in manual or DMA mode.
  86. Selecting this option will make it run in DMA mode.
  87. config ETRAX_AXISFLASHMAP
  88. bool "Axis flash-map support"
  89. depends on ETRAX_ARCH_V32
  90. select MTD
  91. select MTD_CFI
  92. select MTD_CFI_AMDSTD
  93. select MTD_JEDECPROBE
  94. select MTD_BLOCK
  95. select MTD_COMPLEX_MAPPINGS
  96. select MTD_MTDRAM
  97. help
  98. This option enables MTD mapping of flash devices. Needed to use
  99. flash memories. If unsure, say Y.
  100. config ETRAX_AXISFLASHMAP_MTD0WHOLE
  101. bool "MTD0 is whole boot flash device"
  102. depends on ETRAX_AXISFLASHMAP
  103. help
  104. When this option is not set, mtd0 refers to the first partition
  105. on the boot flash device. When set, mtd0 refers to the whole
  106. device, with mtd1 referring to the first partition etc.
  107. config ETRAX_PTABLE_SECTOR
  108. int "Byte-offset of partition table sector"
  109. depends on ETRAX_AXISFLASHMAP
  110. default "65536"
  111. help
  112. Byte-offset of the partition table in the first flash chip.
  113. The default value is 64kB and should not be changed unless
  114. you know exactly what you are doing. The only valid reason
  115. for changing this is when the flash block size is bigger
  116. than 64kB (e.g. when using two parallel 16 bit flashes).
  117. config ETRAX_NANDFLASH
  118. bool "NAND flash support"
  119. depends on ETRAX_ARCH_V32
  120. select MTD_NAND
  121. select MTD_NAND_IDS
  122. help
  123. This option enables MTD mapping of NAND flash devices. Needed to use
  124. NAND flash memories. If unsure, say Y.
  125. config ETRAX_NANDBOOT
  126. bool "Boot from NAND flash"
  127. depends on ETRAX_NANDFLASH
  128. help
  129. This options enables booting from NAND flash devices.
  130. Say Y if your boot code, kernel and root file system is in
  131. NAND flash. Say N if they are in NOR flash.
  132. config ETRAX_CARDBUS
  133. bool "Cardbus support"
  134. depends on ETRAX_ARCH_V32
  135. help
  136. Enabled the ETRAX Cardbus driver.
  137. config PCI
  138. bool
  139. depends on ETRAX_CARDBUS
  140. default y
  141. select HAVE_GENERIC_DMA_COHERENT
  142. config ETRAX_IOP_FW_LOAD
  143. tristate "IO-processor hotplug firmware loading support"
  144. depends on ETRAX_ARCH_V32
  145. select FW_LOADER
  146. help
  147. Enables IO-processor hotplug firmware loading support.
  148. config ETRAX_STREAMCOPROC
  149. tristate "Stream co-processor driver enabled"
  150. depends on ETRAX_ARCH_V32
  151. help
  152. This option enables a driver for the stream co-processor
  153. for cryptographic operations.
  154. config ETRAX_MMC_IOP
  155. tristate "MMC/SD host driver using IO-processor"
  156. depends on ETRAX_ARCH_V32 && MMC
  157. help
  158. This option enables the SD/MMC host controller interface.
  159. The host controller is implemented using the built in
  160. IO-Processor. Only the SPU is used in this implementation.
  161. config ETRAX_SPI_MMC
  162. # Make this one of several "choices" (possible simultaneously but
  163. # suggested uniquely) when an IOP driver emerges for "real" MMC/SD
  164. # protocol support.
  165. tristate
  166. depends on !ETRAX_MMC_IOP
  167. default MMC
  168. select SPI
  169. select MMC_SPI
  170. # While the board info is MMC_SPI only, the drivers are written to be
  171. # independent of MMC_SPI, so we'll keep SPI non-dependent on the
  172. # MMC_SPI config choices (well, except for a single depends-on-line
  173. # for the board-info file until a separate non-MMC SPI board file
  174. # emerges).
  175. # FIXME: When that happens, we'll need to be able to ask for and
  176. # configure non-MMC SPI ports together with MMC_SPI ports (if multiple
  177. # SPI ports are enabled).
  178. config SPI_ETRAX_SSER
  179. tristate
  180. depends on SPI_MASTER && ETRAX_ARCH_V32
  181. select SPI_BITBANG
  182. help
  183. This enables using an synchronous serial (sser) port as a
  184. SPI master controller on Axis ETRAX FS and later. The
  185. driver can be configured to use any sser port.
  186. config SPI_ETRAX_GPIO
  187. tristate
  188. depends on SPI_MASTER && ETRAX_ARCH_V32
  189. select SPI_BITBANG
  190. help
  191. This enables using GPIO pins port as a SPI master controller
  192. on Axis ETRAX FS and later. The driver can be configured to
  193. use any GPIO pins.
  194. config ETRAX_SPI_SSER0
  195. tristate "SPI using synchronous serial port 0 (sser0)"
  196. depends on ETRAX_SPI_MMC
  197. default m if MMC_SPI=m
  198. default y if MMC_SPI=y
  199. default y if MMC_SPI=n
  200. select SPI_ETRAX_SSER
  201. help
  202. Say Y for an MMC/SD socket connected to synchronous serial port 0,
  203. or for devices using the SPI protocol on that port. Say m if you
  204. want to build it as a module, which will be named spi_crisv32_sser.
  205. (You need to select MMC separately.)
  206. config ETRAX_SPI_SSER1
  207. tristate "SPI using synchronous serial port 1 (sser1)"
  208. depends on ETRAX_SPI_MMC
  209. default m if MMC_SPI=m && ETRAX_SPI_SSER0=n
  210. default y if MMC_SPI=y && ETRAX_SPI_SSER0=n
  211. default y if MMC_SPI=n && ETRAX_SPI_SSER0=n
  212. select SPI_ETRAX_SSER
  213. help
  214. Say Y for an MMC/SD socket connected to synchronous serial port 1,
  215. or for devices using the SPI protocol on that port. Say m if you
  216. want to build it as a module, which will be named spi_crisv32_sser.
  217. (You need to select MMC separately.)
  218. config ETRAX_SPI_GPIO
  219. tristate "Bitbanged SPI using gpio pins"
  220. depends on ETRAX_SPI_MMC
  221. select SPI_ETRAX_GPIO
  222. default m if MMC_SPI=m && ETRAX_SPI_SSER0=n && ETRAX_SPI_SSER1=n
  223. default y if MMC_SPI=y && ETRAX_SPI_SSER0=n && ETRAX_SPI_SSER1=n
  224. default y if MMC_SPI=n && ETRAX_SPI_SSER0=n && ETRAX_SPI_SSER1=n
  225. help
  226. Say Y for an MMC/SD socket connected to general I/O pins (but not
  227. a complete synchronous serial ports), or for devices using the SPI
  228. protocol on general I/O pins. Slow and slows down the system.
  229. Say m to build it as a module, which will be called spi_crisv32_gpio.
  230. (You need to select MMC separately.)
  231. endif