warp: Add initial WaRP Board support
[platform/kernel/u-boot.git] / arch / arc / Kconfig
1 menu "ARC architecture"
2         depends on ARC
3
4 config SYS_ARCH
5         default "arc"
6
7 config USE_PRIVATE_LIBGCC
8         default y
9
10 config SYS_CPU
11         default "arcv1"
12
13 choice
14         prompt "CPU selection"
15         default CPU_ARC770D
16
17 config 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
23 config 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
29 endchoice
30
31 choice
32         prompt "MMU Version"
33         default ARC_MMU_V3 if CPU_ARC770D
34         default ARC_MMU_V2 if CPU_ARC750D
35
36 config 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
43 config 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
51 endchoice
52
53 config 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
59 config SYS_ICACHE_OFF
60         bool "Do not use Instruction Cache"
61         default n
62
63 config SYS_DCACHE_OFF
64         bool "Do not use Data Cache"
65         default n
66
67 config 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
78 choice
79         prompt "Target select"
80
81 config TARGET_TB100
82         bool "Support tb100"
83
84 config TARGET_ARCANGEL4
85         bool "Support arcangel4"
86
87 config TARGET_AXS101
88         bool "Support axs101"
89
90 endchoice
91
92 source "board/abilis/tb100/Kconfig"
93 source "board/synopsys/Kconfig"
94 source "board/synopsys/axs101/Kconfig"
95
96 endmenu