Kconfig 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  1. # arch/arm/plat-samsung/Kconfig
  2. #
  3. # Copyright 2009 Simtec Electronics
  4. #
  5. # Licensed under GPLv2
  6. config PLAT_SAMSUNG
  7. bool
  8. depends on ARCH_S3C2410 || ARCH_S3C24A0 || ARCH_S3C64XX || ARCH_S5PC1XX
  9. select NO_IOPORT
  10. default y
  11. help
  12. Base platform code for all Samsung SoC based systems
  13. if PLAT_SAMSUNG
  14. # boot configurations
  15. comment "Boot options"
  16. config S3C_BOOT_WATCHDOG
  17. bool "S3C Initialisation watchdog"
  18. depends on S3C2410_WATCHDOG
  19. help
  20. Say y to enable the watchdog during the kernel decompression
  21. stage. If the kernel fails to uncompress, then the watchdog
  22. will trigger a reset and the system should restart.
  23. config S3C_BOOT_ERROR_RESET
  24. bool "S3C Reboot on decompression error"
  25. help
  26. Say y here to use the watchdog to reset the system if the
  27. kernel decompressor detects an error during decompression.
  28. config S3C_BOOT_UART_FORCE_FIFO
  29. bool "Force UART FIFO on during boot process"
  30. default y
  31. help
  32. Say Y here to force the UART FIFOs on during the kernel
  33. uncompressor
  34. config S3C_LOWLEVEL_UART_PORT
  35. int "S3C UART to use for low-level messages"
  36. default 0
  37. help
  38. Choice of which UART port to use for the low-level messages,
  39. such as the `Uncompressing...` at start time. The value of
  40. this configuration should be between zero and two. The port
  41. must have been initialised by the boot-loader before use.
  42. # clock options
  43. config SAMSUNG_CLKSRC
  44. bool
  45. help
  46. Select the clock code for the clksrc implementation
  47. used by newer systems such as the S3C64XX.
  48. # options for IRQ support
  49. config SAMSUNG_IRQ_VIC_TIMER
  50. bool
  51. help
  52. Internal configuration to build the VIC timer interrupt code.
  53. config SAMSUNG_IRQ_UART
  54. bool
  55. help
  56. Internal configuration to build the IRQ UART demux code.
  57. # options for gpio configuration support
  58. config SAMSUNG_GPIOLIB_4BIT
  59. bool
  60. help
  61. GPIOlib file contains the 4 bit modification functions for gpio
  62. configuration. GPIOlib shall be compiled only for S3C64XX and S5P
  63. series of processors.
  64. config S3C_GPIO_CFG_S3C24XX
  65. bool
  66. help
  67. Internal configuration to enable S3C24XX style GPIO configuration
  68. functions.
  69. config S3C_GPIO_CFG_S3C64XX
  70. bool
  71. help
  72. Internal configuration to enable S3C64XX style GPIO configuration
  73. functions.
  74. config S5P_GPIO_CFG_S5PC1XX
  75. bool
  76. help
  77. Internal configuration to enable S5PC1XX style GPIO configuration
  78. functions.
  79. config S3C_GPIO_PULL_UPDOWN
  80. bool
  81. help
  82. Internal configuration to enable the correct GPIO pull helper
  83. config S3C_GPIO_PULL_DOWN
  84. bool
  85. help
  86. Internal configuration to enable the correct GPIO pull helper
  87. config S3C_GPIO_PULL_UP
  88. bool
  89. help
  90. Internal configuration to enable the correct GPIO pull helper
  91. config SAMSUNG_GPIO_EXTRA
  92. int "Number of additional GPIO pins"
  93. default 0
  94. help
  95. Use additional GPIO space in addition to the GPIO's the SOC
  96. provides. This allows expanding the GPIO space for use with
  97. GPIO expanders.
  98. config S3C_GPIO_SPACE
  99. int "Space between gpio banks"
  100. default 0
  101. help
  102. Add a number of spare GPIO entries between each bank for debugging
  103. purposes. This allows any problems where an counter overflows from
  104. one bank to another to be caught, at the expense of using a little
  105. more memory.
  106. config S3C_GPIO_TRACK
  107. bool
  108. help
  109. Internal configuration option to enable the s3c specific gpio
  110. chip tracking if the platform requires it.
  111. # ADC driver
  112. config S3C_ADC
  113. bool "ADC common driver support"
  114. help
  115. Core support for the ADC block found in the Samsung SoC systems
  116. for drivers such as the touchscreen and hwmon to use to share
  117. this resource.
  118. # device definitions to compile in
  119. config S3C_DEV_HSMMC
  120. bool
  121. help
  122. Compile in platform device definitions for HSMMC code
  123. config S3C_DEV_HSMMC1
  124. bool
  125. help
  126. Compile in platform device definitions for HSMMC channel 1
  127. config S3C_DEV_HSMMC2
  128. bool
  129. help
  130. Compile in platform device definitions for HSMMC channel 2
  131. config S3C_DEV_I2C1
  132. bool
  133. help
  134. Compile in platform device definitions for I2C channel 1
  135. config S3C_DEV_FB
  136. bool
  137. help
  138. Compile in platform device definition for framebuffer
  139. config S3C_DEV_USB_HOST
  140. bool
  141. help
  142. Compile in platform device definition for USB host.
  143. config S3C_DEV_USB_HSOTG
  144. bool
  145. help
  146. Compile in platform device definition for USB high-speed OtG
  147. config S3C_DEV_NAND
  148. bool
  149. help
  150. Compile in platform device definition for NAND controller
  151. config S3C64XX_DEV_SPI
  152. bool
  153. help
  154. Compile in platform device definitions for S3C64XX's type
  155. SPI controllers.
  156. # DMA
  157. config S3C_DMA
  158. bool
  159. help
  160. Internal configuration for S3C DMA core
  161. comment "Power management"
  162. config SAMSUNG_PM_DEBUG
  163. bool "S3C2410 PM Suspend debug"
  164. depends on PM
  165. help
  166. Say Y here if you want verbose debugging from the PM Suspend and
  167. Resume code. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
  168. for more information.
  169. config S3C_PM_DEBUG_LED_SMDK
  170. bool "SMDK LED suspend/resume debugging"
  171. depends on PM && (MACH_SMDK6410)
  172. help
  173. Say Y here to enable the use of the SMDK LEDs on the baseboard
  174. for debugging of the state of the suspend and resume process.
  175. Note, this currently only works for S3C64XX based SMDK boards.
  176. config SAMSUNG_PM_CHECK
  177. bool "S3C2410 PM Suspend Memory CRC"
  178. depends on PM && CRC32
  179. help
  180. Enable the PM code's memory area checksum over sleep. This option
  181. will generate CRCs of all blocks of memory, and store them before
  182. going to sleep. The blocks are then checked on resume for any
  183. errors.
  184. Note, this can take several seconds depending on memory size
  185. and CPU speed.
  186. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
  187. config SAMSUNG_PM_CHECK_CHUNKSIZE
  188. int "S3C2410 PM Suspend CRC Chunksize (KiB)"
  189. depends on PM && SAMSUNG_PM_CHECK
  190. default 64
  191. help
  192. Set the chunksize in Kilobytes of the CRC for checking memory
  193. corruption over suspend and resume. A smaller value will mean that
  194. the CRC data block will take more memory, but wil identify any
  195. faults with better precision.
  196. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
  197. endif