Config.in.powerpc 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213
  1. config BR2_POWERPC_CPU_HAS_ALTIVEC
  2. bool
  3. config BR2_POWERPC_CPU_HAS_SPE
  4. bool
  5. choice
  6. prompt "Target Architecture Variant"
  7. default BR2_generic_powerpc
  8. help
  9. Specific CPU variant to use
  10. config BR2_generic_powerpc
  11. bool "generic"
  12. config BR2_powerpc_401
  13. bool "401"
  14. depends on !BR2_ARCH_IS_64
  15. config BR2_powerpc_403
  16. bool "403"
  17. depends on !BR2_ARCH_IS_64
  18. config BR2_powerpc_405
  19. bool "405"
  20. depends on !BR2_ARCH_IS_64
  21. config BR2_powerpc_405fp
  22. bool "405 with FPU"
  23. depends on !BR2_ARCH_IS_64
  24. config BR2_powerpc_440
  25. bool "440"
  26. depends on !BR2_ARCH_IS_64
  27. config BR2_powerpc_440fp
  28. bool "440 with FPU"
  29. depends on !BR2_ARCH_IS_64
  30. config BR2_powerpc_464
  31. bool "464"
  32. depends on !BR2_ARCH_IS_64
  33. config BR2_powerpc_464fp
  34. bool "464 with FPU"
  35. depends on !BR2_ARCH_IS_64
  36. config BR2_powerpc_476
  37. bool "476"
  38. depends on !BR2_ARCH_IS_64
  39. config BR2_powerpc_476fp
  40. bool "476 with FPU"
  41. depends on !BR2_ARCH_IS_64
  42. config BR2_powerpc_505
  43. bool "505"
  44. depends on !BR2_ARCH_IS_64
  45. config BR2_powerpc_601
  46. bool "601"
  47. depends on !BR2_ARCH_IS_64
  48. config BR2_powerpc_602
  49. bool "602"
  50. depends on !BR2_ARCH_IS_64
  51. config BR2_powerpc_603
  52. bool "603"
  53. depends on !BR2_ARCH_IS_64
  54. config BR2_powerpc_603e
  55. bool "603e"
  56. depends on !BR2_ARCH_IS_64
  57. config BR2_powerpc_604
  58. bool "604"
  59. depends on !BR2_ARCH_IS_64
  60. config BR2_powerpc_604e
  61. bool "604e"
  62. depends on !BR2_ARCH_IS_64
  63. config BR2_powerpc_620
  64. bool "620"
  65. config BR2_powerpc_630
  66. bool "630"
  67. config BR2_powerpc_740
  68. bool "740"
  69. depends on !BR2_ARCH_IS_64
  70. config BR2_powerpc_7400
  71. bool "7400"
  72. depends on !BR2_ARCH_IS_64
  73. select BR2_POWERPC_CPU_HAS_ALTIVEC
  74. config BR2_powerpc_7450
  75. bool "7450"
  76. depends on !BR2_ARCH_IS_64
  77. select BR2_POWERPC_CPU_HAS_ALTIVEC
  78. config BR2_powerpc_750
  79. bool "750"
  80. depends on !BR2_ARCH_IS_64
  81. config BR2_powerpc_821
  82. bool "821"
  83. depends on !BR2_ARCH_IS_64
  84. config BR2_powerpc_823
  85. bool "823"
  86. depends on !BR2_ARCH_IS_64
  87. config BR2_powerpc_860
  88. bool "860"
  89. depends on !BR2_ARCH_IS_64
  90. config BR2_powerpc_970
  91. bool "970"
  92. select BR2_POWERPC_CPU_HAS_ALTIVEC
  93. config BR2_powerpc_8540
  94. bool "8540 / e500v1"
  95. depends on !BR2_ARCH_IS_64
  96. select BR2_POWERPC_CPU_HAS_SPE
  97. config BR2_powerpc_8548
  98. bool "8548 / e500v2"
  99. depends on !BR2_ARCH_IS_64
  100. select BR2_POWERPC_CPU_HAS_SPE
  101. config BR2_powerpc_e300c2
  102. bool "e300c2"
  103. depends on !BR2_ARCH_IS_64
  104. config BR2_powerpc_e300c3
  105. bool "e300c3"
  106. depends on !BR2_ARCH_IS_64
  107. config BR2_powerpc_e500mc
  108. bool "e500mc"
  109. depends on !BR2_ARCH_IS_64
  110. config BR2_powerpc_e5500
  111. bool "e5500"
  112. depends on !BR2_powerpc64le
  113. config BR2_powerpc_e6500
  114. bool "e6500"
  115. depends on !BR2_powerpc64le
  116. select BR2_POWERPC_CPU_HAS_ALTIVEC
  117. config BR2_powerpc_power4
  118. bool "power4"
  119. config BR2_powerpc_power5
  120. bool "power5"
  121. config BR2_powerpc_power6
  122. bool "power6"
  123. select BR2_POWERPC_CPU_HAS_ALTIVEC
  124. config BR2_powerpc_power7
  125. bool "power7"
  126. select BR2_POWERPC_CPU_HAS_ALTIVEC
  127. config BR2_powerpc_power8
  128. bool "power8"
  129. select BR2_POWERPC_CPU_HAS_ALTIVEC
  130. endchoice
  131. choice
  132. prompt "Target ABI"
  133. default BR2_powerpc_SPE if BR2_POWERPC_CPU_HAS_SPE
  134. default BR2_powerpc_CLASSIC
  135. help
  136. Application Binary Interface to use
  137. config BR2_powerpc_CLASSIC
  138. bool "Classic"
  139. depends on !BR2_POWERPC_CPU_HAS_SPE
  140. config BR2_powerpc_SPE
  141. bool "SPE"
  142. depends on BR2_POWERPC_CPU_HAS_SPE
  143. endchoice
  144. config BR2_POWERPC_SOFT_FLOAT
  145. bool "Use soft-float"
  146. select BR2_SOFT_FLOAT
  147. help
  148. If your target CPU does not have a Floating Point Unit (FPU)
  149. or a kernel FPU emulator, but you still wish to support
  150. floating point functions, then everything will need to be
  151. compiled with soft floating point support (-msoft-float).
  152. config BR2_ARCH
  153. default "powerpc" if BR2_powerpc
  154. default "powerpc64" if BR2_powerpc64
  155. default "powerpc64le" if BR2_powerpc64le
  156. config BR2_ENDIAN
  157. default "BIG" if BR2_powerpc || BR2_powerpc64
  158. default "LITTLE" if BR2_powerpc64le
  159. config BR2_GCC_TARGET_CPU
  160. default "401" if BR2_powerpc_401
  161. default "403" if BR2_powerpc_403
  162. default "405" if BR2_powerpc_405
  163. default "405fp" if BR2_powerpc_405fp
  164. default "440" if BR2_powerpc_440
  165. default "440fp" if BR2_powerpc_440fp
  166. default "464" if BR2_powerpc_464
  167. default "464fp" if BR2_powerpc_464fp
  168. default "476" if BR2_powerpc_476
  169. default "476fp" if BR2_powerpc_476fp
  170. default "505" if BR2_powerpc_505
  171. default "601" if BR2_powerpc_601
  172. default "602" if BR2_powerpc_602
  173. default "603" if BR2_powerpc_603
  174. default "603e" if BR2_powerpc_603e
  175. default "604" if BR2_powerpc_604
  176. default "604e" if BR2_powerpc_604e
  177. default "620" if BR2_powerpc_620
  178. default "630" if BR2_powerpc_630
  179. default "740" if BR2_powerpc_740
  180. default "7400" if BR2_powerpc_7400
  181. default "7450" if BR2_powerpc_7450
  182. default "750" if BR2_powerpc_750
  183. default "821" if BR2_powerpc_821
  184. default "823" if BR2_powerpc_823
  185. default "860" if BR2_powerpc_860
  186. default "970" if BR2_powerpc_970
  187. default "8540" if BR2_powerpc_8540
  188. default "8548" if BR2_powerpc_8548
  189. default "e300c2" if BR2_powerpc_e300c2
  190. default "e300c3" if BR2_powerpc_e300c3
  191. default "e500mc" if BR2_powerpc_e500mc
  192. default "e5500" if BR2_powerpc_e5500
  193. default "e6500" if BR2_powerpc_e6500
  194. default "power4" if BR2_powerpc_power4
  195. default "power5" if BR2_powerpc_power5
  196. default "power6" if BR2_powerpc_power6
  197. default "power7" if BR2_powerpc_power7
  198. default "power8" if BR2_powerpc_power8
  199. config BR2_READELF_ARCH_NAME
  200. default "PowerPC" if BR2_powerpc
  201. default "PowerPC64" if BR2_powerpc64 || BR2_powerpc64le
  202. # vim: ft=kconfig
  203. # -*- mode:kconfig; -*-