support/misc: Adding Vagrant file for provisioning
[buildroot-gz.git] / arch / Config.in.arc
blob7e0ad08425cbbc9db95383ed7ea354b85ee790e1
1 choice
2 prompt "Target CPU"
3 depends on BR2_arc
4 default BR2_arc770d
5 help
6 Specific CPU to use
8 config BR2_arc750d
9 bool "ARC 750D"
11 config BR2_arc770d
12 bool "ARC 770D"
14 config BR2_archs38
15 bool "ARC HS38"
17 endchoice
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
27 config BR2_ARCH
28 default "arc" if BR2_arcle
29 default "arceb" if BR2_arceb
31 config BR2_arc
32 bool
33 default y if BR2_arcle || BR2_arceb
35 config BR2_ENDIAN
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
44 choice
45 prompt "MMU Page Size"
46 default BR2_ARC_PAGE_SIZE_8K
47 help
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,
53 8kB and 16 kB.
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
61 bool "4KB"
62 depends on BR2_arc770d || BR2_archs38
64 config BR2_ARC_PAGE_SIZE_8K
65 bool "8KB"
66 help
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
71 bool "16KB"
72 depends on BR2_arc770d || BR2_archs38
74 endchoice
76 config BR2_ARC_PAGE_SIZE
77 string
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