Kconfig 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  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 GENERIC_CLOCKEVENTS
  9. config ARCH_SH7377
  10. bool "SH-Mobile G4 (SH7377)"
  11. select CPU_V7
  12. select HAVE_CLK
  13. select COMMON_CLKDEV
  14. select GENERIC_CLOCKEVENTS
  15. config ARCH_SH7372
  16. bool "SH-Mobile AP4 (SH7372)"
  17. select CPU_V7
  18. select HAVE_CLK
  19. select COMMON_CLKDEV
  20. select GENERIC_CLOCKEVENTS
  21. comment "SH-Mobile Board Type"
  22. config MACH_G3EVM
  23. bool "G3EVM board"
  24. depends on ARCH_SH7367
  25. select ARCH_REQUIRE_GPIOLIB
  26. config MACH_G4EVM
  27. bool "G4EVM board"
  28. depends on ARCH_SH7377
  29. select ARCH_REQUIRE_GPIOLIB
  30. config MACH_AP4EVB
  31. bool "AP4EVB board"
  32. depends on ARCH_SH7372
  33. select ARCH_REQUIRE_GPIOLIB
  34. comment "SH-Mobile System Configuration"
  35. menu "Memory configuration"
  36. config MEMORY_START
  37. hex "Physical memory start address"
  38. default "0x50000000" if MACH_G3EVM
  39. default "0x40000000" if MACH_G4EVM
  40. default "0x40000000" if MACH_AP4EVB
  41. default "0x00000000"
  42. ---help---
  43. Tweak this only when porting to a new machine which does not
  44. already have a defconfig. Changing it from the known correct
  45. value on any of the known systems will only lead to disaster.
  46. config MEMORY_SIZE
  47. hex "Physical memory size"
  48. default "0x08000000" if MACH_G3EVM
  49. default "0x08000000" if MACH_G4EVM
  50. default "0x10000000" if MACH_AP4EVB
  51. default "0x04000000"
  52. help
  53. This sets the default memory size assumed by your kernel. It can
  54. be overridden as normal by the 'mem=' argument on the kernel command
  55. line.
  56. endmenu
  57. menu "Timer and clock configuration"
  58. config SHMOBILE_TIMER_HZ
  59. int "Kernel HZ (jiffies per second)"
  60. range 32 1024
  61. default "128"
  62. help
  63. Allows the configuration of the timer frequency. It is customary
  64. to have the timer interrupt run at 1000 Hz or 100 Hz, but in the
  65. case of low timer frequencies other values may be more suitable.
  66. SH-Mobile systems using a 32768 Hz RCLK for clock events may want
  67. to select a HZ value such as 128 that can evenly divide RCLK.
  68. A HZ value that does not divide evenly may cause timer drift.
  69. config SH_TIMER_CMT
  70. bool "CMT timer driver"
  71. default y
  72. help
  73. This enables build of the CMT timer driver.
  74. endmenu
  75. endif