Config.in.arc 2.8 KB

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