Kconfig.cpu 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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. depends on !CPU_SH5
  13. endchoice
  14. config SH_FPU
  15. def_bool y
  16. prompt "FPU support"
  17. depends on CPU_HAS_FPU
  18. help
  19. Selecting this option will enable support for SH processors that
  20. have FPU units (ie, SH77xx).
  21. This option must be set in order to enable the FPU.
  22. config SH64_FPU_DENORM_FLUSH
  23. bool "Flush floating point denorms to zero"
  24. depends on SH_FPU && SUPERH64
  25. config SH_FPU_EMU
  26. def_bool n
  27. prompt "FPU emulation support"
  28. depends on !SH_FPU && EXPERIMENTAL
  29. help
  30. Selecting this option will enable support for software FPU emulation.
  31. Most SH-3 users will want to say Y here, whereas most SH-4 users will
  32. want to say N.
  33. config SH_DSP
  34. def_bool y
  35. prompt "DSP support"
  36. depends on CPU_HAS_DSP
  37. help
  38. Selecting this option will enable support for SH processors that
  39. have DSP units (ie, SH2-DSP, SH3-DSP, and SH4AL-DSP).
  40. This option must be set in order to enable the DSP.
  41. config SH_ADC
  42. def_bool y
  43. prompt "ADC support"
  44. depends on CPU_SH3
  45. help
  46. Selecting this option will allow the Linux kernel to use SH3 on-chip
  47. ADC module.
  48. If unsure, say N.
  49. config SH_STORE_QUEUES
  50. bool "Support for Store Queues"
  51. depends on CPU_SH4
  52. help
  53. Selecting this option will enable an in-kernel API for manipulating
  54. the store queues integrated in the SH-4 processors.
  55. config SPECULATIVE_EXECUTION
  56. bool "Speculative subroutine return"
  57. depends on CPU_SUBTYPE_SH7780 && EXPERIMENTAL
  58. help
  59. This enables support for a speculative instruction fetch for
  60. subroutine return. There are various pitfalls associated with
  61. this, as outlined in the SH7780 hardware manual.
  62. If unsure, say N.
  63. config SH64_USER_MISALIGNED_FIXUP
  64. def_bool y
  65. prompt "Fixup misaligned loads/stores occurring in user mode"
  66. depends on SUPERH64
  67. config SH64_ID2815_WORKAROUND
  68. bool "Include workaround for SH5-101 cut2 silicon defect ID2815"
  69. depends on CPU_SUBTYPE_SH5_101
  70. config CPU_HAS_INTEVT
  71. bool
  72. config CPU_HAS_IPR_IRQ
  73. bool
  74. config CPU_HAS_SR_RB
  75. bool
  76. help
  77. This will enable the use of SR.RB register bank usage. Processors
  78. that are lacking this bit must have another method in place for
  79. accomplishing what is taken care of by the banked registers.
  80. See <file:Documentation/sh/register-banks.txt> for further
  81. information on SR.RB and register banking in the kernel in general.
  82. config CPU_HAS_PTEA
  83. bool
  84. config CPU_HAS_PTEAEX
  85. bool
  86. config CPU_HAS_DSP
  87. bool
  88. config CPU_HAS_FPU
  89. bool
  90. endmenu