Kconfig 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119
  1. if ARCH_SHMOBILE
  2. comment "SH-Mobile System Type"
  3. config ARCH_SH7367
  4. bool "SH-Mobile G3 (SH7367)"
  5. select CPU_V6
  6. select HAVE_CLK
  7. select COMMON_CLKDEV
  8. select SH_CLK_CPG
  9. select GENERIC_CLOCKEVENTS
  10. config ARCH_SH7377
  11. bool "SH-Mobile G4 (SH7377)"
  12. select CPU_V7
  13. select HAVE_CLK
  14. select COMMON_CLKDEV
  15. select SH_CLK_CPG
  16. select GENERIC_CLOCKEVENTS
  17. config ARCH_SH7372
  18. bool "SH-Mobile AP4 (SH7372)"
  19. select CPU_V7
  20. select HAVE_CLK
  21. select COMMON_CLKDEV
  22. select SH_CLK_CPG
  23. select GENERIC_CLOCKEVENTS
  24. comment "SH-Mobile Board Type"
  25. config MACH_G3EVM
  26. bool "G3EVM board"
  27. depends on ARCH_SH7367
  28. select ARCH_REQUIRE_GPIOLIB
  29. config MACH_G4EVM
  30. bool "G4EVM board"
  31. depends on ARCH_SH7377
  32. select ARCH_REQUIRE_GPIOLIB
  33. config MACH_AP4EVB
  34. bool "AP4EVB board"
  35. depends on ARCH_SH7372
  36. select ARCH_REQUIRE_GPIOLIB
  37. select SH_LCD_MIPI_DSI
  38. choice
  39. prompt "AP4EVB LCD panel selection"
  40. default AP4EVB_QHD
  41. depends on MACH_AP4EVB
  42. config AP4EVB_QHD
  43. bool "MIPI-DSI QHD (960x540)"
  44. config AP4EVB_WVGA
  45. bool "Parallel WVGA (800x480)"
  46. endchoice
  47. comment "SH-Mobile System Configuration"
  48. menu "Memory configuration"
  49. config MEMORY_START
  50. hex "Physical memory start address"
  51. default "0x50000000" if MACH_G3EVM
  52. default "0x40000000" if MACH_G4EVM
  53. default "0x40000000" if MACH_AP4EVB
  54. default "0x00000000"
  55. ---help---
  56. Tweak this only when porting to a new machine which does not
  57. already have a defconfig. Changing it from the known correct
  58. value on any of the known systems will only lead to disaster.
  59. config MEMORY_SIZE
  60. hex "Physical memory size"
  61. default "0x08000000" if MACH_G3EVM
  62. default "0x08000000" if MACH_G4EVM
  63. default "0x10000000" if MACH_AP4EVB
  64. default "0x04000000"
  65. help
  66. This sets the default memory size assumed by your kernel. It can
  67. be overridden as normal by the 'mem=' argument on the kernel command
  68. line.
  69. endmenu
  70. menu "Timer and clock configuration"
  71. config SHMOBILE_TIMER_HZ
  72. int "Kernel HZ (jiffies per second)"
  73. range 32 1024
  74. default "128"
  75. help
  76. Allows the configuration of the timer frequency. It is customary
  77. to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
  78. case of low timer frequencies other values may be more suitable.
  79. SH-Mobile systems using a 32768 Hz RCLK for clock events may want
  80. to select a HZ value such as 128 that can evenly divide RCLK.
  81. A HZ value that does not divide evenly may cause timer drift.
  82. config SH_TIMER_CMT
  83. bool "CMT timer driver"
  84. default y
  85. help
  86. This enables build of the CMT timer driver.
  87. config SH_TIMER_TMU
  88. bool "TMU timer driver"
  89. default y
  90. help
  91. This enables build of the TMU timer driver.
  92. endmenu
  93. config SH_CLK_CPG
  94. bool
  95. endif