Config.in.arc 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  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
  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. choice
  32. prompt "MMU Page Size"
  33. default BR2_ARC_PAGE_SIZE_8K
  34. help
  35. MMU starting from version 3 (found in ARC 770) and now
  36. version 4 (found in ARC HS38) allows the selection of the
  37. page size during ASIC design creation.
  38. The following options are available for MMU v3 and v4: 4kB,
  39. 8kB and 16 kB.
  40. The default is 8 kB (that really matches the only page size
  41. in MMU v2). It is important to build a toolchain with page
  42. size matching the hardware configuration. Otherwise
  43. user-space applications will fail at runtime.
  44. config BR2_ARC_PAGE_SIZE_4K
  45. bool "4KB"
  46. depends on BR2_arc770d || BR2_archs38
  47. config BR2_ARC_PAGE_SIZE_8K
  48. bool "8KB"
  49. help
  50. This is the one and only option available for MMUv2 and
  51. default value for MMU v3 and v4.
  52. config BR2_ARC_PAGE_SIZE_16K
  53. bool "16KB"
  54. depends on BR2_arc770d || BR2_archs38
  55. endchoice
  56. config BR2_ARC_PAGE_SIZE
  57. string
  58. default "4K" if BR2_ARC_PAGE_SIZE_4K
  59. default "8K" if BR2_ARC_PAGE_SIZE_8K
  60. default "16K" if BR2_ARC_PAGE_SIZE_16K