Kconfig 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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 GENERIC_CLOCKEVENTS
  16. config ARCH_SH7372
  17. bool "SH-Mobile AP4 (SH7372)"
  18. select CPU_V7
  19. select HAVE_CLK
  20. select COMMON_CLKDEV
  21. select SH_CLK_CPG
  22. select GENERIC_CLOCKEVENTS
  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. comment "SH-Mobile System Configuration"
  37. menu "Memory configuration"
  38. config MEMORY_START
  39. hex "Physical memory start address"
  40. default "0x50000000" if MACH_G3EVM
  41. default "0x40000000" if MACH_G4EVM
  42. default "0x40000000" if MACH_AP4EVB
  43. default "0x00000000"
  44. ---help---
  45. Tweak this only when porting to a new machine which does not
  46. already have a defconfig. Changing it from the known correct
  47. value on any of the known systems will only lead to disaster.
  48. config MEMORY_SIZE
  49. hex "Physical memory size"
  50. default "0x08000000" if MACH_G3EVM
  51. default "0x08000000" if MACH_G4EVM
  52. default "0x10000000" if MACH_AP4EVB
  53. default "0x04000000"
  54. help
  55. This sets the default memory size assumed by your kernel. It can
  56. be overridden as normal by the 'mem=' argument on the kernel command
  57. line.
  58. endmenu
  59. menu "Timer and clock configuration"
  60. config SH_TIMER_CMT
  61. bool "CMT timer driver"
  62. default y
  63. help
  64. This enables build of the CMT timer driver.
  65. config SH_TIMER_TMU
  66. bool "TMU timer driver"
  67. default y
  68. help
  69. This enables build of the TMU timer driver.
  70. endmenu
  71. config SH_CLK_CPG
  72. bool
  73. endif