Config.in.arc 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  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_NORMALIZED_ARCH
  53. default "arc"
  54. config BR2_arc
  55. bool
  56. default y if BR2_arcle || BR2_arceb
  57. config BR2_ENDIAN
  58. default "LITTLE" if BR2_arcle
  59. default "BIG" if BR2_arceb
  60. config BR2_GCC_TARGET_CPU
  61. default "arc700" if BR2_arc750d
  62. default "arc700" if BR2_arc770d
  63. default "archs" if BR2_archs38
  64. default "hs38" if BR2_archs38_64mpy
  65. default "hs38_linux" if BR2_archs38_full
  66. default "hs4x_rel31" if BR2_archs4x_rel31
  67. default "hs4x" if BR2_archs4x
  68. config BR2_READELF_ARCH_NAME
  69. default "ARCompact" if BR2_arc750d || BR2_arc770d
  70. default "ARCv2" if BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full
  71. default "ARCv2" if BR2_archs4x_rel31 || BR2_archs4x
  72. choice
  73. prompt "MMU Page Size"
  74. default BR2_ARC_PAGE_SIZE_8K
  75. help
  76. MMU starting from version 3 (found in ARC 770) and now
  77. version 4 (found in ARC HS38) allows the selection of the
  78. page size during ASIC design creation.
  79. The following options are available for MMU v3 and v4: 4kB,
  80. 8kB and 16 kB.
  81. The default is 8 kB (that really matches the only page size
  82. in MMU v2). It is important to build a toolchain with page
  83. size matching the hardware configuration. Otherwise
  84. user-space applications will fail at runtime.
  85. config BR2_ARC_PAGE_SIZE_4K
  86. bool "4KB"
  87. depends on !BR2_arc750d
  88. config BR2_ARC_PAGE_SIZE_8K
  89. bool "8KB"
  90. help
  91. This is the one and only option available for MMUv2 and
  92. default value for MMU v3 and v4.
  93. config BR2_ARC_PAGE_SIZE_16K
  94. bool "16KB"
  95. depends on !BR2_arc750d
  96. endchoice
  97. config BR2_ARC_PAGE_SIZE
  98. string
  99. default "4K" if BR2_ARC_PAGE_SIZE_4K
  100. default "8K" if BR2_ARC_PAGE_SIZE_8K
  101. default "16K" if BR2_ARC_PAGE_SIZE_16K
  102. # vim: ft=kconfig
  103. # -*- mode:kconfig; -*-