Kconfig 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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 S3C2410_PM_CHECK
  60. bool "S3C2410 PM Suspend Memory CRC"
  61. depends on PM && CRC32
  62. help
  63. Enable the PM code's memory area checksum over sleep. This option
  64. will generate CRCs of all blocks of memory, and store them before
  65. going to sleep. The blocks are then checked on resume for any
  66. errors.
  67. Note, this can take several seconds depending on memory size
  68. and CPU speed.
  69. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
  70. config S3C2410_PM_CHECK_CHUNKSIZE
  71. int "S3C2410 PM Suspend CRC Chunksize (KiB)"
  72. depends on PM && S3C2410_PM_CHECK
  73. default 64
  74. help
  75. Set the chunksize in Kilobytes of the CRC for checking memory
  76. corruption over suspend and resume. A smaller value will mean that
  77. the CRC data block will take more memory, but wil identify any
  78. faults with better precision.
  79. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
  80. config S3C_LOWLEVEL_UART_PORT
  81. int "S3C UART to use for low-level messages"
  82. default 0
  83. help
  84. Choice of which UART port to use for the low-level messages,
  85. such as the `Uncompressing...` at start time. The value of
  86. this configuration should be between zero and two. The port
  87. must have been initialised by the boot-loader before use.
  88. # options for gpiolib support
  89. config S3C_GPIO_SPACE
  90. int "Space between gpio banks"
  91. default 0
  92. help
  93. Add a number of spare GPIO entries between each bank for debugging
  94. purposes. This allows any problems where an counter overflows from
  95. one bank to another to be caught, at the expense of using a little
  96. more memory.
  97. config S3C_GPIO_TRACK
  98. bool
  99. help
  100. Internal configuration option to enable the s3c specific gpio
  101. chip tracking if the platform requires it.
  102. config S3C_GPIO_PULL_UPDOWN
  103. bool
  104. help
  105. Internal configuration to enable the correct GPIO pull helper
  106. config S3C_GPIO_PULL_DOWN
  107. bool
  108. help
  109. Internal configuration to enable the correct GPIO pull helper
  110. config S3C_GPIO_PULL_UP
  111. bool
  112. help
  113. Internal configuration to enable the correct GPIO pull helper
  114. config S3C_GPIO_CFG_S3C24XX
  115. bool
  116. help
  117. Internal configuration to enable S3C24XX style GPIO configuration
  118. functions.
  119. config S3C_GPIO_CFG_S3C64XX
  120. bool
  121. help
  122. Internal configuration to enable S3C64XX style GPIO configuration
  123. functions.
  124. # device definitions to compile in
  125. config S3C_DEV_HSMMC
  126. bool
  127. help
  128. Compile in platform device definitions for HSMMC code
  129. config S3C_DEV_HSMMC1
  130. bool
  131. help
  132. Compile in platform device definitions for HSMMC channel 1
  133. config S3C_DEV_I2C1
  134. bool
  135. help
  136. Compile in platform device definitions for I2C channel 1
  137. config S3C_DEV_FB
  138. bool
  139. help
  140. Compile in platform device definition for framebuffer
  141. endif