19 # Choice of atomic instructions presence
20 config BR2_ARC_ATOMIC_EXT
21 bool "Atomic extension (LLOCK/SCOND instructions)"
22 default y if BR2_arc770d || BR2_archs38
25 default "arc" if BR2_arcle
26 default "arceb" if BR2_arceb
30 default y if BR2_arcle || BR2_arceb
33 default "LITTLE" if BR2_arcle
34 default "BIG" if BR2_arceb
36 config BR2_GCC_TARGET_CPU
37 default "arc700" if BR2_arc750d
38 default "arc700" if BR2_arc770d
39 default "archs" if BR2_archs38
41 config BR2_READELF_ARCH_NAME
42 default "ARCompact" if BR2_arc750d || BR2_arc770d
43 default "ARCv2" if BR2_archs38
46 prompt "MMU Page Size"
47 default BR2_ARC_PAGE_SIZE_8K
49 MMU starting from version 3 (found in ARC 770) and now
50 version 4 (found in ARC HS38) allows the selection of the
51 page size during ASIC design creation.
53 The following options are available for MMU v3 and v4: 4kB,
56 The default is 8 kB (that really matches the only page size
57 in MMU v2). It is important to build a toolchain with page
58 size matching the hardware configuration. Otherwise
59 user-space applications will fail at runtime.
61 config BR2_ARC_PAGE_SIZE_4K
63 depends on BR2_arc770d || BR2_archs38
65 config BR2_ARC_PAGE_SIZE_8K
68 This is the one and only option available for MMUv2 and
69 default value for MMU v3 and v4.
71 config BR2_ARC_PAGE_SIZE_16K
73 depends on BR2_arc770d || BR2_archs38
77 config BR2_ARC_PAGE_SIZE
79 default "4K" if BR2_ARC_PAGE_SIZE_4K
80 default "8K" if BR2_ARC_PAGE_SIZE_8K
81 default "16K" if BR2_ARC_PAGE_SIZE_16K