]> Git Repo - buildroot-mgba.git/blame - arch/Config.in.arc
package/mtd: add host-acl dependency for host
[buildroot-mgba.git] / arch / Config.in.arc
CommitLineData
11f078c2
AB
1choice
2 prompt "Target CPU"
11f078c2 3 default BR2_arc770d
7e26b888 4 depends on BR2_arc
11f078c2
AB
5 help
6 Specific CPU to use
7
8config BR2_arc750d
9 bool "ARC 750D"
10
11config BR2_arc770d
12 bool "ARC 770D"
13
f787b51a
AB
14config BR2_archs38
15 bool "ARC HS38"
a0835675
AB
16 help
17 Generic ARC HS capable of running Linux, i.e. with MMU,
4f115b52
VG
18 caches and 32-bit multiplier. Also it corresponds to the
19 default configuration in older GNU toolchain versions.
a0835675 20
4f115b52
VG
21config BR2_archs38_64mpy
22 bool "ARC HS38 with 64-bit mpy"
23 help
24 Fully featured ARC HS capable of running Linux, i.e. with
25 MMU, caches and 64-bit multiplier.
26
27 If you're not sure which version of ARC HS core you build
28 for use this one.
a0835675
AB
29
30config BR2_archs38_full
31 bool "ARC HS38 with Quad MAC & FPU"
32 help
33 Fully featured ARC HS with additional support for
34 - Dual- and quad multiply and MC oprations
35 - Double-precision FPU
36
37 It corresponds to "hs38_slc_full" ARC HS template in
38 ARChitect.
f787b51a 39
81fed0c7
ED
40config BR2_archs4x_rel31
41 bool "ARC HS48 rel 31"
42 help
43 Latest release of HS48 processor
44 - Dual- and quad multiply and MC oprations
45 - Double-precision FPU
46
11f078c2
AB
47endchoice
48
49# Choice of atomic instructions presence
cbffd505
AK
50config BR2_ARC_ATOMIC_EXT
51 bool "Atomic extension (LLOCK/SCOND instructions)"
4f115b52 52 default y if BR2_arc770d || BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full || BR2_archs4x_rel31
21c8f1e9 53
14f48861
MJ
54config BR2_ARCH
55 default "arc" if BR2_arcle
56 default "arceb" if BR2_arceb
57
58config BR2_arc
59 bool
60 default y if BR2_arcle || BR2_arceb
61
62config BR2_ENDIAN
63 default "LITTLE" if BR2_arcle
64 default "BIG" if BR2_arceb
65
66config BR2_GCC_TARGET_CPU
11f078c2
AB
67 default "arc700" if BR2_arc750d
68 default "arc700" if BR2_arc770d
f787b51a 69 default "archs" if BR2_archs38
4f115b52 70 default "hs38" if BR2_archs38_64mpy
a0835675 71 default "hs38_linux" if BR2_archs38_full
81fed0c7 72 default "hs4x_rel31" if BR2_archs4x_rel31
3720e28d 73
d04ea6e4 74config BR2_READELF_ARCH_NAME
cc405b4c 75 default "ARCompact" if BR2_arc750d || BR2_arc770d
4f115b52 76 default "ARCv2" if BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full || BR2_archs4x_rel31
d04ea6e4 77
3720e28d
AB
78choice
79 prompt "MMU Page Size"
80 default BR2_ARC_PAGE_SIZE_8K
81 help
82 MMU starting from version 3 (found in ARC 770) and now
83 version 4 (found in ARC HS38) allows the selection of the
84 page size during ASIC design creation.
85
86 The following options are available for MMU v3 and v4: 4kB,
87 8kB and 16 kB.
88
89 The default is 8 kB (that really matches the only page size
90 in MMU v2). It is important to build a toolchain with page
91 size matching the hardware configuration. Otherwise
92 user-space applications will fail at runtime.
93
94config BR2_ARC_PAGE_SIZE_4K
95 bool "4KB"
4f115b52 96 depends on BR2_arc770d || BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full || BR2_archs4x_rel31
3720e28d
AB
97
98config BR2_ARC_PAGE_SIZE_8K
99 bool "8KB"
100 help
101 This is the one and only option available for MMUv2 and
102 default value for MMU v3 and v4.
103
104config BR2_ARC_PAGE_SIZE_16K
105 bool "16KB"
4f115b52 106 depends on BR2_arc770d || BR2_archs38 || BR2_archs38_64mpy || BR2_archs38_full || BR2_archs4x_rel31
3720e28d
AB
107
108endchoice
109
110config BR2_ARC_PAGE_SIZE
111 string
112 default "4K" if BR2_ARC_PAGE_SIZE_4K
113 default "8K" if BR2_ARC_PAGE_SIZE_8K
114 default "16K" if BR2_ARC_PAGE_SIZE_16K
e8378377
YM
115
116# vim: ft=kconfig
117# -*- mode:kconfig; -*-
This page took 0.650113 seconds and 4 git commands to generate.