summaryrefslogtreecommitdiff
path: root/extra/Configs/Config.arm
blob: 93038e9b261b14228290b1edfdea9ac310f2ffb9 (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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
#
# For a description of the syntax of this configuration file,
# see extra/config/Kconfig-language.txt
#

config TARGET_ARCH
	string
	default "arm"

config FORCE_OPTIONS_FOR_ARCH
	bool
	default y
	select ARCH_ANY_ENDIAN

choice
	prompt "Target ABI"
	default CONFIG_ARM_EABI
	help
	  If you choose "EABI" here, functions and constants required by the
	  ARM EABI will be built into the library.  You should choose "EABI"
	  if your compiler uses the ARM EABI, in which case you will also
	  need a kernel supporting the EABI system call interface, or "OABI"
	  for a compiler using the old Linux ABI.

config CONFIG_ARM_OABI
	bool "OABI"

config CONFIG_ARM_EABI
	bool "EABI"

endchoice

choice
	prompt "Target Processor Type"
	default CONFIG_GENERIC_ARM
	help
	  This is the processor type of your CPU. This information is used for
	  optimizing purposes.  To build a library that will run on all ARMCPU
	  types (albeit not optimally fast), you can specify "Generic Arm" here.
	  If you pick anything other than "Generic Arm", there is no guarantee 
	  that uClibc will even run on anything other than the selected
	  processor type.

	  Here are the settings recommended for greatest speed:
	  - "Generic Arm" select this if your compiler is already setup to
	    optimize things properly, or if you want to run on pretty much
	    everything, or you just don't much care.
	  - For anything else, pick the ARM core type that best matches the
	    cpu you will be using on your device.

	  If you don't know what to do, choose "Generic Arm".

config CONFIG_GENERIC_ARM
	bool "Generic Arm"

config CONFIG_ARM610
	bool "Arm 610"
	select ARCH_HAS_MMU

config CONFIG_ARM710
	bool "Arm 710"
	select ARCH_HAS_MMU

config CONFIG_ARM7TDMI
	bool "Arm 7TDMI"
	select ARCH_HAS_NO_MMU
	select HAS_THUMB

config CONFIG_ARM720T
	bool "Arm 720T"
	select ARCH_HAS_MMU
	select HAS_THUMB

config CONFIG_ARM920T
	bool "Arm 920T"
	select ARCH_HAS_MMU
	select HAS_THUMB

config CONFIG_ARM922T
	bool "Arm 922T"
	select ARCH_HAS_MMU
	select HAS_THUMB

config CONFIG_ARM926T
	bool "Arm 926T"
	select ARCH_HAS_MMU
	select HAS_THUMB

config CONFIG_ARM10T
	bool "Arm 10T"
	select ARCH_HAS_MMU
	select HAS_THUMB

config CONFIG_ARM1136JF_S
	bool "Arm 1136JF-S"
	select ARCH_HAS_MMU
	select HAS_THUMB

config CONFIG_ARM1176JZ_S
	bool "Arm 1176JZ-S"
	select ARCH_HAS_MMU
	select HAS_THUMB

config CONFIG_ARM1176JZF_S
	bool "Arm 1176JZF-S"
	select ARCH_HAS_MMU
	select HAS_THUMB

config CONFIG_ARM_CORTEX_M3
	bool "Arm Cortex-M3"
	select ARCH_HAS_NO_MMU
	select FORCE_THUMB

config CONFIG_ARM_CORTEX_M1
	bool "Arm Cortex-M1"
	select ARCH_HAS_NO_MMU
	select FORCE_THUMB

config CONFIG_ARM_SA110
	bool "Intel StrongArm SA-110"
	select ARCH_HAS_MMU
	select HAS_THUMB

config CONFIG_ARM_SA1100
	bool "Intel StrongArm SA-1100"
	select ARCH_HAS_MMU
	select HAS_THUMB

config CONFIG_ARM_XSCALE
	bool "Intel Xscale"
	select ARCH_HAS_MMU
	select HAS_THUMB

config CONFIG_ARM_IWMMXT
	bool "Intel Xscale With WMMX PXA27x"
	select ARCH_HAS_MMU
	select HAS_THUMB

endchoice

config HAS_THUMB
	bool

config FORCE_THUMB
	bool
	select HAS_THUMB
	select COMPILE_IN_THUMB_MODE
	select USE_BX

config COMPILE_IN_THUMB_MODE
	bool

config USE_BX
	bool "Use BX in function return"
	default y
	depends on HAS_THUMB
	help
	  Use BX instruction for THUMB aware architectures.