Kconfig 5.9 KB

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