Kconfig 6.2 KB

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