Kconfig.cpu 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. menu "Processor features"
  2. choice
  3. prompt "Endianess selection"
  4. default CPU_LITTLE_ENDIAN
  5. help
  6. Some SuperH machines can be configured for either little or big
  7. endian byte order. These modes require different kernels.
  8. config CPU_LITTLE_ENDIAN
  9. bool "Little Endian"
  10. config CPU_BIG_ENDIAN
  11. bool "Big Endian"
  12. endchoice
  13. config SH_FPU
  14. bool "FPU support"
  15. depends on CPU_HAS_FPU
  16. default y
  17. help
  18. Selecting this option will enable support for SH processors that
  19. have FPU units (ie, SH77xx).
  20. This option must be set in order to enable the FPU.
  21. config SH_FPU_EMU
  22. bool "FPU emulation support"
  23. depends on !SH_FPU && EXPERIMENTAL
  24. default n
  25. help
  26. Selecting this option will enable support for software FPU emulation.
  27. Most SH-3 users will want to say Y here, whereas most SH-4 users will
  28. want to say N.
  29. config SH_DSP
  30. bool "DSP support"
  31. depends on CPU_HAS_DSP
  32. default y
  33. help
  34. Selecting this option will enable support for SH processors that
  35. have DSP units (ie, SH2-DSP, SH3-DSP, and SH4AL-DSP).
  36. This option must be set in order to enable the DSP.
  37. config SH_ADC
  38. bool "ADC support"
  39. depends on CPU_SH3
  40. default y
  41. help
  42. Selecting this option will allow the Linux kernel to use SH3 on-chip
  43. ADC module.
  44. If unsure, say N.
  45. config SH_STORE_QUEUES
  46. bool "Support for Store Queues"
  47. depends on CPU_SH4
  48. help
  49. Selecting this option will enable an in-kernel API for manipulating
  50. the store queues integrated in the SH-4 processors.
  51. config SPECULATIVE_EXECUTION
  52. bool "Speculative subroutine return"
  53. depends on CPU_SUBTYPE_SH7780 && EXPERIMENTAL
  54. help
  55. This enables support for a speculative instruction fetch for
  56. subroutine return. There are various pitfalls associated with
  57. this, as outlined in the SH7780 hardware manual.
  58. If unsure, say N.
  59. config CPU_HAS_INTEVT
  60. bool
  61. config CPU_HAS_MASKREG_IRQ
  62. bool
  63. config CPU_HAS_IPR_IRQ
  64. bool
  65. config CPU_HAS_SR_RB
  66. bool
  67. help
  68. This will enable the use of SR.RB register bank usage. Processors
  69. that are lacking this bit must have another method in place for
  70. accomplishing what is taken care of by the banked registers.
  71. See <file:Documentation/sh/register-banks.txt> for further
  72. information on SR.RB and register banking in the kernel in general.
  73. config CPU_HAS_PTEA
  74. bool
  75. config CPU_HAS_DSP
  76. bool
  77. config CPU_HAS_FPU
  78. bool
  79. endmenu