Kconfig 2.8 KB

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