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
24 config BR2_ARCH_HAS_ATOMICS
25 default y
if BR2_ARC_ATOMIC_EXT
28 default
"arc" if BR2_arcle
29 default
"arceb" if BR2_arceb
33 default y
if BR2_arcle || BR2_arceb
36 default
"LITTLE" if BR2_arcle
37 default
"BIG" if BR2_arceb
39 config BR2_GCC_TARGET_CPU
40 default
"arc700" if BR2_arc750d
41 default
"arc700" if BR2_arc770d
42 default
"archs" if BR2_archs38
45 prompt
"MMU Page Size"
46 default BR2_ARC_PAGE_SIZE_8K
48 MMU starting from version
3 (found
in ARC
770) and now
49 version
4 (found
in ARC HS38
) allows the selection of the
50 page size during ASIC design creation.
52 The following options are available
for MMU v3
and v4
: 4kB
,
55 The default
is 8 kB
(that really matches the
only page size
56 in MMU v2
). It
is important to build a toolchain
with page
57 size matching the hardware configuration. Otherwise
58 user-space applications will fail at runtime.
60 config BR2_ARC_PAGE_SIZE_4K
62 depends
on BR2_arc770d || BR2_archs38
64 config BR2_ARC_PAGE_SIZE_8K
67 This
is the one
and only option available
for MMUv2
and
68 default value
for MMU v3
and v4.
70 config BR2_ARC_PAGE_SIZE_16K
72 depends
on BR2_arc770d || BR2_archs38
76 config BR2_ARC_PAGE_SIZE
78 default
"4K" if BR2_ARC_PAGE_SIZE_4K
79 default
"8K" if BR2_ARC_PAGE_SIZE_8K
80 default
"16K" if BR2_ARC_PAGE_SIZE_16K