Kconfig 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. if ETRAX_ARCH_V32
  2. source arch/cris/arch-v32/mach-fs/Kconfig
  3. source arch/cris/arch-v32/mach-a3/Kconfig
  4. source drivers/cpufreq/Kconfig
  5. config ETRAX_DRAM_VIRTUAL_BASE
  6. hex
  7. depends on ETRAX_ARCH_V32
  8. default "c0000000"
  9. choice
  10. prompt "Kernel GDB port"
  11. depends on ETRAX_KGDB
  12. default ETRAX_KGDB_PORT0
  13. help
  14. Choose a serial port for kernel debugging. NOTE: This port should
  15. not be enabled under Drivers for built-in interfaces (as it has its
  16. own initialization code) and should not be the same as the debug port.
  17. config ETRAX_KGDB_PORT4
  18. bool "Serial-4"
  19. depends on ETRAX_SERIAL_PORTS = 5
  20. help
  21. Use serial port 4 for kernel debugging.
  22. endchoice
  23. config ETRAX_MEM_GRP1_CONFIG
  24. hex "MEM_GRP1_CONFIG"
  25. depends on ETRAX_ARCH_V32
  26. default "4044a"
  27. help
  28. Waitstates for flash. The default value is suitable for the
  29. standard flashes used in axis products (120 ns).
  30. config ETRAX_MEM_GRP2_CONFIG
  31. hex "MEM_GRP2_CONFIG"
  32. depends on ETRAX_ARCH_V32
  33. default "0"
  34. help
  35. Waitstates for SRAM. 0 is a good choice for most Axis products.
  36. config ETRAX_MEM_GRP3_CONFIG
  37. hex "MEM_GRP3_CONFIG"
  38. depends on ETRAX_ARCH_V32
  39. default "0"
  40. help
  41. Waitstates for CSP0-3. 0 is a good choice for most Axis products.
  42. It may need to be changed if external devices such as extra
  43. register-mapped LEDs are used.
  44. config ETRAX_MEM_GRP4_CONFIG
  45. hex "MEM_GRP4_CONFIG"
  46. depends on ETRAX_ARCH_V32
  47. default "0"
  48. help
  49. Waitstates for CSP4-6. 0 is a good choice for most Axis products.
  50. config ETRAX_SDRAM_GRP0_CONFIG
  51. hex "SDRAM_GRP0_CONFIG"
  52. depends on ETRAX_ARCH_V32
  53. default "336"
  54. help
  55. SDRAM configuration for group 0. The value depends on the
  56. hardware configuration. The default value is suitable
  57. for 32 MB organized as two 16 bits chips (e.g. Axis
  58. part number 18550) connected as one 32 bit device (i.e. in
  59. the same group).
  60. config ETRAX_SDRAM_GRP1_CONFIG
  61. hex "SDRAM_GRP1_CONFIG"
  62. depends on ETRAX_ARCH_V32
  63. default "0"
  64. help
  65. SDRAM configuration for group 1. The default value is 0
  66. because group 1 is not used in the default configuration,
  67. described in the help for SDRAM_GRP0_CONFIG.
  68. config ETRAX_SDRAM_TIMING
  69. hex "SDRAM_TIMING"
  70. depends on ETRAX_ARCH_V32
  71. default "104a"
  72. help
  73. SDRAM timing parameters. The default value is ok for
  74. most hardwares but large SDRAMs may require a faster
  75. refresh (a.k.a 8K refresh). The default value implies
  76. 100MHz clock and SDR mode.
  77. config ETRAX_SDRAM_COMMAND
  78. hex "SDRAM_COMMAND"
  79. depends on ETRAX_ARCH_V32
  80. default "0"
  81. help
  82. SDRAM command. Should be 0 unless you really know what
  83. you are doing (may be != 0 for unusual address line
  84. mappings such as in a MCM)..
  85. config ETRAX_DEF_GIO_PA_OE
  86. hex "GIO_PA_OE"
  87. depends on ETRAX_ARCH_V32
  88. default "1c"
  89. help
  90. Configures the direction of general port A bits. 1 is out, 0 is in.
  91. This is often totally different depending on the product used.
  92. There are some guidelines though - if you know that only LED's are
  93. connected to port PA, then they are usually connected to bits 2-4
  94. and you can therefore use 1c. On other boards which don't have the
  95. LED's at the general ports, these bits are used for all kinds of
  96. stuff. If you don't know what to use, it is always safe to put all
  97. as inputs, although floating inputs isn't good.
  98. config ETRAX_DEF_GIO_PA_OUT
  99. hex "GIO_PA_OUT"
  100. depends on ETRAX_ARCH_V32
  101. default "00"
  102. help
  103. Configures the initial data for the general port A bits. Most
  104. products should use 00 here.
  105. config ETRAX_DEF_GIO_PB_OE
  106. hex "GIO_PB_OE"
  107. depends on ETRAX_ARCH_V32
  108. default "00000"
  109. help
  110. Configures the direction of general port B bits. 1 is out, 0 is in.
  111. This is often totally different depending on the product used.
  112. There are some guidelines though - if you know that only LED's are
  113. connected to port PA, then they are usually connected to bits 2-4
  114. and you can therefore use 1c. On other boards which don't have the
  115. LED's at the general ports, these bits are used for all kinds of
  116. stuff. If you don't know what to use, it is always safe to put all
  117. as inputs, although floating inputs isn't good.
  118. config ETRAX_DEF_GIO_PB_OUT
  119. hex "GIO_PB_OUT"
  120. depends on ETRAX_ARCH_V32
  121. default "00000"
  122. help
  123. Configures the initial data for the general port B bits. Most
  124. products should use 00000 here.
  125. config ETRAX_DEF_GIO_PC_OE
  126. hex "GIO_PC_OE"
  127. depends on ETRAX_ARCH_V32
  128. default "00000"
  129. help
  130. Configures the direction of general port C bits. 1 is out, 0 is in.
  131. This is often totally different depending on the product used.
  132. There are some guidelines though - if you know that only LED's are
  133. connected to port PA, then they are usually connected to bits 2-4
  134. and you can therefore use 1c. On other boards which don't have the
  135. LED's at the general ports, these bits are used for all kinds of
  136. stuff. If you don't know what to use, it is always safe to put all
  137. as inputs, although floating inputs isn't good.
  138. config ETRAX_DEF_GIO_PC_OUT
  139. hex "GIO_PC_OUT"
  140. depends on ETRAX_ARCH_V32
  141. default "00000"
  142. help
  143. Configures the initial data for the general port C bits. Most
  144. products should use 00000 here.
  145. config ETRAX_DEF_GIO_PD_OE
  146. hex "GIO_PD_OE"
  147. depends on ETRAX_ARCH_V32
  148. default "00000"
  149. help
  150. Configures the direction of general port D bits. 1 is out, 0 is in.
  151. This is often totally different depending on the product used.
  152. There are some guidelines though - if you know that only LED's are
  153. connected to port PA, then they are usually connected to bits 2-4
  154. and you can therefore use 1c. On other boards which don't have the
  155. LED's at the general ports, these bits are used for all kinds of
  156. stuff. If you don't know what to use, it is always safe to put all
  157. as inputs, although floating inputs isn't good.
  158. config ETRAX_DEF_GIO_PD_OUT
  159. hex "GIO_PD_OUT"
  160. depends on ETRAX_ARCH_V32
  161. default "00000"
  162. help
  163. Configures the initial data for the general port D bits. Most
  164. products should use 00000 here.
  165. config ETRAX_DEF_GIO_PE_OE
  166. hex "GIO_PE_OE"
  167. depends on ETRAX_ARCH_V32
  168. default "00000"
  169. help
  170. Configures the direction of general port E bits. 1 is out, 0 is in.
  171. This is often totally different depending on the product used.
  172. There are some guidelines though - if you know that only LED's are
  173. connected to port PA, then they are usually connected to bits 2-4
  174. and you can therefore use 1c. On other boards which don't have the
  175. LED's at the general ports, these bits are used for all kinds of
  176. stuff. If you don't know what to use, it is always safe to put all
  177. as inputs, although floating inputs isn't good.
  178. config ETRAX_DEF_GIO_PE_OUT
  179. hex "GIO_PE_OUT"
  180. depends on ETRAX_ARCH_V32
  181. default "00000"
  182. help
  183. Configures the initial data for the general port E bits. Most
  184. products should use 00000 here.
  185. endif