Kconfig.cpu 2.3 KB

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