]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - arch/Config.in.arc
libmodbus: add hash for license file
[coffee/buildroot.git] / arch / Config.in.arc
1 choice
2         prompt "Target CPU"
3         default BR2_arc770d
4         depends on BR2_arc
5         help
6             Specific CPU to use
7
8 config BR2_arc750d
9         bool "ARC 750D"
10
11 config BR2_arc770d
12         bool "ARC 770D"
13
14 config BR2_archs38
15         bool "ARC HS38"
16
17 endchoice
18
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
23
24 config BR2_ARCH
25         default "arc"   if BR2_arcle
26         default "arceb" if BR2_arceb
27
28 config BR2_arc
29         bool
30         default y if BR2_arcle || BR2_arceb
31
32 config BR2_ENDIAN
33         default "LITTLE" if BR2_arcle
34         default "BIG"    if BR2_arceb
35
36 config BR2_GCC_TARGET_CPU
37         default "arc700" if BR2_arc750d
38         default "arc700" if BR2_arc770d
39         default "archs"  if BR2_archs38
40
41 config BR2_READELF_ARCH_NAME
42         default "ARCompact"     if BR2_arc750d || BR2_arc770d
43         default "ARCv2"         if BR2_archs38
44
45 choice
46         prompt "MMU Page Size"
47         default BR2_ARC_PAGE_SIZE_8K
48         help
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.
52
53           The following options are available for MMU v3 and v4: 4kB,
54           8kB and 16 kB.
55
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.
60
61 config BR2_ARC_PAGE_SIZE_4K
62         bool "4KB"
63         depends on BR2_arc770d || BR2_archs38
64
65 config BR2_ARC_PAGE_SIZE_8K
66         bool "8KB"
67         help
68           This is the one and only option available for MMUv2 and
69           default value for MMU v3 and v4.
70
71 config BR2_ARC_PAGE_SIZE_16K
72         bool "16KB"
73         depends on BR2_arc770d || BR2_archs38
74
75 endchoice
76
77 config BR2_ARC_PAGE_SIZE
78         string
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