Config.in.arc 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  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. endchoice
  14. # Choice of atomic instructions presence
  15. config BR2_ARC_ATOMIC_EXT
  16. bool "Atomic extension (LLOCK/SCOND instructions)"
  17. default y if BR2_arc770d || BR2_archs38
  18. config BR2_ARCH
  19. default "arc" if BR2_arcle
  20. default "arceb" if BR2_arceb
  21. config BR2_arc
  22. bool
  23. default y if BR2_arcle || BR2_arceb
  24. config BR2_ENDIAN
  25. default "LITTLE" if BR2_arcle
  26. default "BIG" if BR2_arceb
  27. config BR2_GCC_TARGET_CPU
  28. default "arc700" if BR2_arc750d
  29. default "arc700" if BR2_arc770d
  30. default "archs" if BR2_archs38
  31. config BR2_READELF_ARCH_NAME
  32. default "ARCompact" if BR2_arc750d || BR2_arc770d
  33. default "ARCv2" if BR2_archs38
  34. choice
  35. prompt "MMU Page Size"
  36. default BR2_ARC_PAGE_SIZE_8K
  37. help
  38. MMU starting from version 3 (found in ARC 770) and now
  39. version 4 (found in ARC HS38) allows the selection of the
  40. page size during ASIC design creation.
  41. The following options are available for MMU v3 and v4: 4kB,
  42. 8kB and 16 kB.
  43. The default is 8 kB (that really matches the only page size
  44. in MMU v2). It is important to build a toolchain with page
  45. size matching the hardware configuration. Otherwise
  46. user-space applications will fail at runtime.
  47. config BR2_ARC_PAGE_SIZE_4K
  48. bool "4KB"
  49. depends on BR2_arc770d || BR2_archs38
  50. config BR2_ARC_PAGE_SIZE_8K
  51. bool "8KB"
  52. help
  53. This is the one and only option available for MMUv2 and
  54. default value for MMU v3 and v4.
  55. config BR2_ARC_PAGE_SIZE_16K
  56. bool "16KB"
  57. depends on BR2_arc770d || BR2_archs38
  58. endchoice
  59. config BR2_ARC_PAGE_SIZE
  60. string
  61. default "4K" if BR2_ARC_PAGE_SIZE_4K
  62. default "8K" if BR2_ARC_PAGE_SIZE_8K
  63. default "16K" if BR2_ARC_PAGE_SIZE_16K