Kconfig 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  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
  9. default y if ARCH_S3C2410
  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 ARCH_S3C2410
  17. default y if CPU_LLSERIAL_S3C2410 && !CPU_LLSERIAL_S3C2440
  18. config CPU_LLSERIAL_S3C2440_ONLY
  19. bool
  20. depends on ARCH_S3C2410
  21. default y if CPU_LLSERIAL_S3C2440 && !CPU_LLSERIAL_S3C2410
  22. config CPU_LLSERIAL_S3C2410
  23. bool
  24. depends on ARCH_S3C2410
  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 ARCH_S3C2410
  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.