Kconfig 5.0 KB

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