Kconfig 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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. config CPU_LLSERIAL_S3C2410_ONLY
  15. bool
  16. depends on PLAT_S3C
  17. default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
  18. config CPU_LLSERIAL_S3C2440_ONLY
  19. bool
  20. depends on PLAT_S3C
  21. default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
  22. config CPU_LLSERIAL_S3C2410
  23. bool
  24. depends on PLAT_S3C
  25. help
  26. Selected if there is an S3C2410 (or register compatible) serial
  27. low-level implementation needed
  28. config CPU_LLSERIAL_S3C2440
  29. bool
  30. depends on PLAT_S3C
  31. help
  32. Selected if there is an S3C2440 (or register compatible) serial
  33. low-level implementation needed
  34. # boot configurations
  35. comment "Boot options"
  36. config S3C_BOOT_WATCHDOG
  37. bool "S3C Initialisation watchdog"
  38. depends on PLAT_S3C && S3C2410_WATCHDOG
  39. help
  40. Say y to enable the watchdog during the kernel decompression
  41. stage. If the kernel fails to uncompress, then the watchdog
  42. will trigger a reset and the system should restart.
  43. config S3C_BOOT_ERROR_RESET
  44. bool "S3C Reboot on decompression error"
  45. depends on PLAT_S3C
  46. help
  47. Say y here to use the watchdog to reset the system if the
  48. kernel decompressor detects an error during decompression.
  49. comment "Power management"
  50. config S3C2410_PM_DEBUG
  51. bool "S3C2410 PM Suspend debug"
  52. depends on PLAT_S3C && 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 S3C2410_PM_CHECK
  58. bool "S3C2410 PM Suspend Memory CRC"
  59. depends on PLAT_S3C && PM && CRC32
  60. help
  61. Enable the PM code's memory area checksum over sleep. This option
  62. will generate CRCs of all blocks of memory, and store them before
  63. going to sleep. The blocks are then checked on resume for any
  64. errors.
  65. Note, this can take several seconds depending on memory size
  66. and CPU speed.
  67. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
  68. config S3C2410_PM_CHECK_CHUNKSIZE
  69. int "S3C2410 PM Suspend CRC Chunksize (KiB)"
  70. depends on PLAT_S3C && PM && S3C2410_PM_CHECK
  71. default 64
  72. help
  73. Set the chunksize in Kilobytes of the CRC for checking memory
  74. corruption over suspend and resume. A smaller value will mean that
  75. the CRC data block will take more memory, but wil identify any
  76. faults with better precision.
  77. See <file:Documentation/arm/Samsung-S3C24XX/Suspend.txt>
  78. config S3C_LOWLEVEL_UART_PORT
  79. int "S3C UART to use for low-level messages"
  80. depends on PLAT_S3C
  81. default 0
  82. help
  83. Choice of which UART port to use for the low-level messages,
  84. such as the `Uncompressing...` at start time. The value of
  85. this configuration should be between zero and two. The port
  86. must have been initialised by the boot-loader before use.
  87. # options for gpiolib support
  88. config S3C_GPIO_SPACE
  89. int "Space between gpio banks"
  90. default 0
  91. help
  92. Add a number of spare GPIO entries between each bank for debugging
  93. purposes. This allows any problems where an counter overflows from
  94. one bank to another to be caught, at the expense of using a little
  95. more memory.
  96. config S3C_GPIO_TRACK
  97. bool
  98. help
  99. Internal configuration option to enable the s3c specific gpio
  100. chip tracking if the platform requires it.
  101. config S3C_GPIO_PULL_UPDOWN
  102. bool
  103. help
  104. Internal configuration to enable the correct GPIO pull helper
  105. config S3C_GPIO_PULL_DOWN
  106. bool
  107. help
  108. Internal configuration to enable the correct GPIO pull helper
  109. config S3C_GPIO_PULL_UP
  110. bool
  111. help
  112. Internal configuration to enable the correct GPIO pull helper
  113. config S3C_GPIO_CFG_S3C24XX
  114. bool
  115. help
  116. Internal configuration to enable S3C24XX style GPIO configuration
  117. functions.
  118. config S3C_GPIO_CFG_S3C64XX
  119. bool
  120. help
  121. Internal configuration to enable S3C64XX style GPIO configuration
  122. functions.
  123. # device definitions to compile in
  124. config S3C_DEV_HSMMC
  125. bool
  126. depends on PLAT_S3C
  127. help
  128. Compile in platform device definitions for HSMMC code
  129. config S3C_DEV_HSMMC1
  130. bool
  131. depends on PLAT_S3C
  132. help
  133. Compile in platform device definitions for HSMMC channel 1