Kconfig 2.5 KB

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