Config.in.arc 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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. Latest release of HS48 processor
  36. - Dual- and quad multiply and MC oprations
  37. - Double-precision FPU
  38. endchoice
  39. # Choice of atomic instructions presence
  40. config BR2_ARC_ATOMIC_EXT
  41. bool "Atomic extension (LLOCK/SCOND instructions)"
  42. default y if BR2_arc770d || BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full || BR2_archs4x_rel31
  43. config BR2_ARCH
  44. default "arc" if BR2_arcle
  45. default "arceb" if BR2_arceb
  46. config BR2_arc
  47. bool
  48. default y if BR2_arcle || BR2_arceb
  49. config BR2_ENDIAN
  50. default "LITTLE" if BR2_arcle
  51. default "BIG" if BR2_arceb
  52. config BR2_GCC_TARGET_CPU
  53. default "arc700" if BR2_arc750d
  54. default "arc700" if BR2_arc770d
  55. default "archs" if BR2_archs38
  56. default "hs38" if BR2_archs38_64mpy
  57. default "hs38_linux" if BR2_archs38_full
  58. default "hs4x_rel31" if BR2_archs4x_rel31
  59. config BR2_READELF_ARCH_NAME
  60. default "ARCompact" if BR2_arc750d || BR2_arc770d
  61. default "ARCv2" if BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full || BR2_archs4x_rel31
  62. choice
  63. prompt "MMU Page Size"
  64. default BR2_ARC_PAGE_SIZE_8K
  65. help
  66. MMU starting from version 3 (found in ARC 770) and now
  67. version 4 (found in ARC HS38) allows the selection of the
  68. page size during ASIC design creation.
  69. The following options are available for MMU v3 and v4: 4kB,
  70. 8kB and 16 kB.
  71. The default is 8 kB (that really matches the only page size
  72. in MMU v2). It is important to build a toolchain with page
  73. size matching the hardware configuration. Otherwise
  74. user-space applications will fail at runtime.
  75. config BR2_ARC_PAGE_SIZE_4K
  76. bool "4KB"
  77. depends on BR2_arc770d || BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full || BR2_archs4x_rel31
  78. config BR2_ARC_PAGE_SIZE_8K
  79. bool "8KB"
  80. help
  81. This is the one and only option available for MMUv2 and
  82. default value for MMU v3 and v4.
  83. config BR2_ARC_PAGE_SIZE_16K
  84. bool "16KB"
  85. depends on BR2_arc770d || BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full || BR2_archs4x_rel31
  86. endchoice
  87. config BR2_ARC_PAGE_SIZE
  88. string
  89. default "4K" if BR2_ARC_PAGE_SIZE_4K
  90. default "8K" if BR2_ARC_PAGE_SIZE_8K
  91. default "16K" if BR2_ARC_PAGE_SIZE_16K
  92. # vim: ft=kconfig
  93. # -*- mode:kconfig; -*-