blob: a8dc4e2336da12aeef0c696be61267688492d925 [file] [log] [blame]
Masahiro Yamadadd840582014-07-30 14:08:14 +09001menu "ARC architecture"
2 depends on ARC
3
4config SYS_ARCH
Masahiro Yamadadd840582014-07-30 14:08:14 +09005 default "arc"
6
Alexey Brodkina67ef282015-02-03 13:58:20 +03007config USE_PRIVATE_LIBGCC
8 default y
9
Alexey Brodkine20bcb02014-12-25 18:47:45 +030010config SYS_CPU
Alexey Brodkinfdff2372014-12-25 18:54:58 +030011 default "arcv1"
Alexey Brodkine20bcb02014-12-25 18:47:45 +030012
Masahiro Yamadadd840582014-07-30 14:08:14 +090013choice
Alexey Brodkin812980b2015-02-03 13:58:11 +030014 prompt "CPU selection"
15 default CPU_ARC770D
16
17config CPU_ARC750D
18 bool "ARC 750D"
19 select ARC_MMU_V2
20 help
21 Choose this option to build an U-Boot for ARC750D CPU.
22
23config CPU_ARC770D
24 bool "ARC 770D"
25 select ARC_MMU_V3
26 help
27 Choose this option to build an U-Boot for ARC770D CPU.
28
29endchoice
30
31choice
32 prompt "MMU Version"
33 default ARC_MMU_V3 if CPU_ARC770D
34 default ARC_MMU_V2 if CPU_ARC750D
35
36config ARC_MMU_V2
37 bool "MMU v2"
38 depends on CPU_ARC750D
39 help
40 Fixed the deficiency of v1 - possible thrashing in memcpy sceanrio
41 when 2 D-TLB and 1 I-TLB entries index into same 2way set.
42
43config ARC_MMU_V3
44 bool "MMU v3"
45 depends on CPU_ARC770D
46 help
47 Introduced with ARC700 4.10: New Features
48 Variable Page size (1k-16k), var JTLB size 128 x (2 or 4)
49 Shared Address Spaces (SASID)
50
51endchoice
52
Alexey Brodkin1f9ad442015-02-03 13:58:14 +030053config CPU_BIG_ENDIAN
54 bool "Enable Big Endian Mode"
55 default n
56 help
57 Build kernel for Big Endian Mode of ARC CPU
58
Alexey Brodkin205e7a72015-02-03 13:58:13 +030059config SYS_ICACHE_OFF
60 bool "Do not use Instruction Cache"
61 default n
62
63config SYS_DCACHE_OFF
64 bool "Do not use Data Cache"
65 default n
66
67config ARC_CACHE_LINE_SHIFT
68 int "Cache Line Length (as power of 2)"
69 range 5 7
70 default "6"
71 depends on !SYS_DCACHE_OFF || !SYS_DCACHE_OFF
72 help
73 Starting with ARC700 4.9, Cache line length is configurable,
74 This option specifies "N", with Line-len = 2 power N
75 So line lengths of 32, 64, 128 are specified by 5,6,7, respectively
76 Linux only supports same line lengths for I and D caches.
77
Alexey Brodkin812980b2015-02-03 13:58:11 +030078choice
Masahiro Yamadadd840582014-07-30 14:08:14 +090079 prompt "Target select"
80
81config TARGET_TB100
82 bool "Support tb100"
83
84config TARGET_ARCANGEL4
85 bool "Support arcangel4"
86
Masahiro Yamadadd840582014-07-30 14:08:14 +090087config TARGET_AXS101
88 bool "Support axs101"
89
90endchoice
91
92source "board/abilis/tb100/Kconfig"
93source "board/synopsys/Kconfig"
94source "board/synopsys/axs101/Kconfig"
95
96endmenu