trousers: update ARC comment
[buildroot-gz.git] / arch / Config.in.arc
blob7d341f31366c5e46364b22f65b580454fe47d460
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
25 default "arc" if BR2_arcle
26 default "arceb" if BR2_arceb
28 config BR2_arc
29 bool
30 default y if BR2_arcle || BR2_arceb
32 config BR2_ENDIAN
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 choice
42 prompt "MMU Page Size"
43 default BR2_ARC_PAGE_SIZE_8K
44 help
45 MMU starting from version 3 (found in ARC 770) and now
46 version 4 (found in ARC HS38) allows the selection of the
47 page size during ASIC design creation.
49 The following options are available for MMU v3 and v4: 4kB,
50 8kB and 16 kB.
52 The default is 8 kB (that really matches the only page size
53 in MMU v2). It is important to build a toolchain with page
54 size matching the hardware configuration. Otherwise
55 user-space applications will fail at runtime.
57 config BR2_ARC_PAGE_SIZE_4K
58 bool "4KB"
59 depends on BR2_arc770d || BR2_archs38
61 config BR2_ARC_PAGE_SIZE_8K
62 bool "8KB"
63 help
64 This is the one and only option available for MMUv2 and
65 default value for MMU v3 and v4.
67 config BR2_ARC_PAGE_SIZE_16K
68 bool "16KB"
69 depends on BR2_arc770d || BR2_archs38
71 endchoice
73 config BR2_ARC_PAGE_SIZE
74 string
75 default "4K" if BR2_ARC_PAGE_SIZE_4K
76 default "8K" if BR2_ARC_PAGE_SIZE_8K
77 default "16K" if BR2_ARC_PAGE_SIZE_16K