Kconfig 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  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. config S3C_LOWLEVEL_UART_PORT
  50. int "S3C UART to use for low-level messages"
  51. default 0
  52. help
  53. Choice of which UART port to use for the low-level messages,
  54. such as the `Uncompressing...` at start time. The value of
  55. this configuration should be between zero and two. The port
  56. must have been initialised by the boot-loader before use.
  57. # options for gpiolib support
  58. config S3C_GPIO_SPACE
  59. int "Space between gpio banks"
  60. default 0
  61. help
  62. Add a number of spare GPIO entries between each bank for debugging
  63. purposes. This allows any problems where an counter overflows from
  64. one bank to another to be caught, at the expense of using a little
  65. more memory.
  66. config S3C_GPIO_TRACK
  67. bool
  68. help
  69. Internal configuration option to enable the s3c specific gpio
  70. chip tracking if the platform requires it.
  71. # DMA
  72. config S3C_DMA
  73. bool
  74. help
  75. Internal configuration for S3C DMA core
  76. endif