Kconfig 5.2 KB

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