summaryrefslogtreecommitdiff
path: root/extra/Configs/Config.arc
blob: c263dbf46028e361512dcb79710f849903e24a3b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#
# For a description of the syntax of this configuration file,
# see extra/config/Kconfig-language.txt
#
config TARGET_ARCH
	default "arc"

config FORCE_OPTIONS_FOR_ARCH
	bool
	default y
	select ARCH_ANY_ENDIAN

choice
	prompt "Target Processor Type"
	default CONFIG_ARC_CPU_700

config CONFIG_ARC_CPU_700
	bool "ARC700"
	select ARCH_HAS_MMU
	help
	  ARCompact ISA based ARC CPU

config CONFIG_ARC_CPU_HS
	bool "ARC-HS"
	select ARCH_HAS_MMU
	help
	  Next Generation ARCv2 ISA based Processors

endchoice

config CONFIG_ARC_HAS_ATOMICS
	bool "Support for LLOCK/SCOND instructions"
	default y
	help
	  LLOCK/SCOND instructions are needed to implement atomic r-m-w
	  Otherwise libc needs kernel assisted atomic cmpxchg available
	  since v4.9 kernel

choice
	prompt "MMU Page Size"
	default CONFIG_ARC_PAGE_SIZE_8K

config CONFIG_ARC_PAGE_SIZE_8K
	bool "8KB"
	help
	  Choose between 4k, 8k (default) or 16k

config CONFIG_ARC_PAGE_SIZE_16K
	bool "16KB"

config CONFIG_ARC_PAGE_SIZE_4K
	bool "4KB"

endchoice