Kconfig.cpu 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. menu "Processor type and features"
  2. choice
  3. prompt "H8/300 platform"
  4. default H8300H_GENERIC
  5. config H8300H_GENERIC
  6. bool "H8/300H Generic"
  7. help
  8. H8/300H CPU Generic Hardware Support
  9. config H8300H_AKI3068NET
  10. bool "AE-3068/69"
  11. help
  12. AKI-H8/3068F / AKI-H8/3069F Flashmicom LAN Board Support
  13. More Information. (Japanese Only)
  14. <http://akizukidensi.com/catalog/h8.html>
  15. AE-3068/69 Evaluation Board Support
  16. More Information.
  17. <http://www.microtronique.com/ae3069lan.htm>
  18. config H8300H_H8MAX
  19. bool "H8MAX"
  20. help
  21. H8MAX Evaluation Board Support
  22. More Information. (Japanese Only)
  23. <http://strawberry-linux.com/h8/index.html>
  24. config H8300H_SIM
  25. bool "H8/300H Simulator"
  26. help
  27. GDB Simulator Support
  28. More Information.
  29. arch/h8300/Doc/simulator.txt
  30. config H8S_GENERIC
  31. bool "H8S Generic"
  32. help
  33. H8S CPU Generic Hardware Support
  34. config H8S_EDOSK2674
  35. bool "EDOSK-2674"
  36. help
  37. Renesas EDOSK-2674 Evaluation Board Support
  38. More Information.
  39. <http://www.azpower.com/H8-uClinux/index.html>
  40. <http://www.eu.renesas.com/tools/edk/support/edosk2674.html>
  41. config H8S_SIM
  42. bool "H8S Simulator"
  43. help
  44. GDB Simulator Support
  45. More Information.
  46. arch/h8300/Doc/simulator.txt
  47. endchoice
  48. if (H8300H_GENERIC || H8S_GENERIC)
  49. menu "Detail Selection"
  50. if (H8300H_GENERIC)
  51. choice
  52. prompt "CPU Selection"
  53. config H83002
  54. bool "H8/3001,3002,3003"
  55. config H83007
  56. bool "H8/3006,3007"
  57. config H83048
  58. bool "H8/3044,3045,3046,3047,3048,3052"
  59. config H83068
  60. bool "H8/3065,3066,3067,3068,3069"
  61. endchoice
  62. endif
  63. if (H8S_GENERIC)
  64. choice
  65. prompt "CPU Selection"
  66. config H8S2678
  67. bool "H8S/2670,2673,2674R,2675,2676"
  68. endchoice
  69. endif
  70. config CPU_CLOCK
  71. int "CPU Clock Frequency (/1KHz)"
  72. default "20000"
  73. help
  74. CPU Clock Frequency divide to 1000
  75. endmenu
  76. endif
  77. if (H8300H_GENERIC || H8S_GENERIC || H8300H_SIM || H8S_SIM || H8S_EDOSK2674)
  78. choice
  79. prompt "Kernel executes from"
  80. ---help---
  81. Choose the memory type that the kernel will be running in.
  82. config RAMKERNEL
  83. bool "RAM"
  84. help
  85. The kernel will be resident in RAM when running.
  86. config ROMKERNEL
  87. bool "ROM"
  88. help
  89. The kernel will be resident in FLASH/ROM when running.
  90. endchoice
  91. endif
  92. if (H8300H_AKI3068NET)
  93. config H83068
  94. bool
  95. default y
  96. config CPU_CLOCK
  97. int
  98. default "20000"
  99. config RAMKERNEL
  100. bool
  101. default y
  102. endif
  103. if (H8300H_H8MAX)
  104. config H83068
  105. bool
  106. default y
  107. config CPU_CLOCK
  108. int
  109. default 25000
  110. config RAMKERNEL
  111. bool
  112. default y
  113. endif
  114. if (H8300H_SIM)
  115. config H83007
  116. bool
  117. default y
  118. config CPU_CLOCK
  119. int
  120. default "16000"
  121. endif
  122. if (H8S_EDOSK2674)
  123. config H8S2678
  124. bool
  125. default y
  126. config CPU_CLOCK
  127. int
  128. default 33000
  129. endif
  130. if (H8S_SIM)
  131. config H8S2678
  132. bool
  133. default y
  134. config CPU_CLOCK
  135. int
  136. default 33000
  137. endif
  138. config CPU_H8300H
  139. bool
  140. depends on (H8002 || H83007 || H83048 || H83068)
  141. default y
  142. config CPU_H8S
  143. bool
  144. depends on H8S2678
  145. default y
  146. config PREEMPT
  147. bool "Preemptible Kernel"
  148. default n
  149. source "mm/Kconfig"
  150. endmenu