Config.in.arc 1.7 KB

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