Config.in.arc 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. choice
  2. prompt "Target CPU"
  3. default BR2_arc770d
  4. depends on BR2_arc
  5. help
  6. Specific CPU to use
  7. config BR2_arc750d
  8. bool "ARC 750D"
  9. config BR2_arc770d
  10. bool "ARC 770D"
  11. config BR2_archs38
  12. bool "ARC HS38"
  13. help
  14. Generic ARC HS capable of running Linux, i.e. with MMU,
  15. caches and 32-bit multiplier. Also it corresponds to the
  16. default configuration in older GNU toolchain versions.
  17. config BR2_archs38_64mpy
  18. bool "ARC HS38 with 64-bit mpy"
  19. help
  20. Fully featured ARC HS capable of running Linux, i.e. with
  21. MMU, caches and 64-bit multiplier.
  22. If you're not sure which version of ARC HS core you build
  23. for use this one.
  24. config BR2_archs38_full
  25. bool "ARC HS38 with Quad MAC & FPU"
  26. help
  27. Fully featured ARC HS with additional support for
  28. - Dual- and quad multiply and MC oprations
  29. - Double-precision FPU
  30. It corresponds to "hs38_slc_full" ARC HS template in
  31. ARChitect.
  32. config BR2_archs4x_rel31
  33. bool "ARC HS48 rel 31"
  34. help
  35. Build for HS48 release 3.1
  36. config BR2_archs4x
  37. bool "ARC HS48"
  38. help
  39. Latest release of HS48 processor
  40. - Dual and Quad multiply and MAC operations
  41. - Double-precision FPU
  42. endchoice
  43. # Choice of atomic instructions presence
  44. config BR2_ARC_ATOMIC_EXT
  45. bool "Atomic extension (LLOCK/SCOND instructions)"
  46. default y if BR2_arc770d
  47. default y if BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full
  48. default y if BR2_archs4x_rel31 || BR2_archs4x
  49. config BR2_ARCH
  50. default "arc" if BR2_arcle
  51. default "arceb" if BR2_arceb
  52. config BR2_arc
  53. bool
  54. default y if BR2_arcle || BR2_arceb
  55. config BR2_ENDIAN
  56. default "LITTLE" if BR2_arcle
  57. default "BIG" if BR2_arceb
  58. config BR2_GCC_TARGET_CPU
  59. default "arc700" if BR2_arc750d
  60. default "arc700" if BR2_arc770d
  61. default "archs" if BR2_archs38
  62. default "hs38" if BR2_archs38_64mpy
  63. default "hs38_linux" if BR2_archs38_full
  64. default "hs4x_rel31" if BR2_archs4x_rel31
  65. default "hs4x" if BR2_archs4x
  66. config BR2_READELF_ARCH_NAME
  67. default "ARCompact" if BR2_arc750d || BR2_arc770d
  68. default "ARCv2" if BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full
  69. default "ARCv2" if BR2_archs4x_rel31 || BR2_archs4x
  70. choice
  71. prompt "MMU Page Size"
  72. default BR2_ARC_PAGE_SIZE_8K
  73. help
  74. MMU starting from version 3 (found in ARC 770) and now
  75. version 4 (found in ARC HS38) allows the selection of the
  76. page size during ASIC design creation.
  77. The following options are available for MMU v3 and v4: 4kB,
  78. 8kB and 16 kB.
  79. The default is 8 kB (that really matches the only page size
  80. in MMU v2). It is important to build a toolchain with page
  81. size matching the hardware configuration. Otherwise
  82. user-space applications will fail at runtime.
  83. config BR2_ARC_PAGE_SIZE_4K
  84. bool "4KB"
  85. depends on !BR2_arc750d
  86. config BR2_ARC_PAGE_SIZE_8K
  87. bool "8KB"
  88. help
  89. This is the one and only option available for MMUv2 and
  90. default value for MMU v3 and v4.
  91. config BR2_ARC_PAGE_SIZE_16K
  92. bool "16KB"
  93. depends on !BR2_arc750d
  94. endchoice
  95. config BR2_ARC_PAGE_SIZE
  96. string
  97. default "4K" if BR2_ARC_PAGE_SIZE_4K
  98. default "8K" if BR2_ARC_PAGE_SIZE_8K
  99. default "16K" if BR2_ARC_PAGE_SIZE_16K
  100. # vim: ft=kconfig
  101. # -*- mode:kconfig; -*-