xref: /openbmc/u-boot/arch/arc/Kconfig (revision db7a7dee)
1menu "ARC architecture"
2	depends on ARC
3
4config SYS_ARCH
5	default "arc"
6
7config USE_PRIVATE_LIBGCC
8	default y
9
10config SYS_CPU
11	default "arcv1"
12
13choice
14	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
53config 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
59config 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
78choice
79	prompt "Target select"
80
81config TARGET_TB100
82	bool "Support tb100"
83
84config TARGET_ARCANGEL4
85	bool "Support arcangel4"
86
87config 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
97