barebox: bump to version 2014.11.0
[buildroot-gz.git] / arch / Config.in.powerpc
blob239f5dca1a384c60cb958bcbb5303b85aa5472dc
1 config BR2_POWERPC_CPU_HAS_ALTIVEC
2         bool
4 config BR2_POWERPC_CPU_HAS_SPE
5         bool
7 choice
8         prompt "Target Architecture Variant"
9         default BR2_generic_powerpc
10         help
11           Specific CPU variant to use
12 config BR2_generic_powerpc
13         bool "generic"
14 config BR2_powerpc_401
15         bool "401"
16         depends on !BR2_ARCH_IS_64
17 config BR2_powerpc_403
18         bool "403"
19         depends on !BR2_ARCH_IS_64
20 config BR2_powerpc_405
21         bool "405"
22         depends on !BR2_ARCH_IS_64
23 config BR2_powerpc_405fp
24         bool "405 with FPU"
25         depends on !BR2_ARCH_IS_64
26 config BR2_powerpc_440
27         bool "440"
28         depends on !BR2_ARCH_IS_64
29 config BR2_powerpc_440fp
30         bool "440 with FPU"
31         depends on !BR2_ARCH_IS_64
32 config BR2_powerpc_464
33         bool "464"
34         depends on !BR2_ARCH_IS_64
35 config BR2_powerpc_464fp
36         bool "464 with FPU"
37         depends on !BR2_ARCH_IS_64
38 config BR2_powerpc_476
39         bool "476"
40         depends on !BR2_ARCH_IS_64
41 config BR2_powerpc_476fp
42         bool "476 with FPU"
43         depends on !BR2_ARCH_IS_64
44 config BR2_powerpc_505
45         bool "505"
46         depends on !BR2_ARCH_IS_64
47 config BR2_powerpc_601
48         bool "601"
49         depends on !BR2_ARCH_IS_64
50 config BR2_powerpc_602
51         bool "602"
52         depends on !BR2_ARCH_IS_64
53 config BR2_powerpc_603
54         bool "603"
55         depends on !BR2_ARCH_IS_64
56 config BR2_powerpc_603e
57         bool "603e"
58         depends on !BR2_ARCH_IS_64
59 config BR2_powerpc_604
60         bool "604"
61         depends on !BR2_ARCH_IS_64
62 config BR2_powerpc_604e
63         bool "604e"
64         depends on !BR2_ARCH_IS_64
65 config BR2_powerpc_620
66         bool "620"
67 config BR2_powerpc_630
68         bool "630"
69 config BR2_powerpc_740
70         bool "740"
71         depends on !BR2_ARCH_IS_64
72 config BR2_powerpc_7400
73         bool "7400"
74         select BR2_POWERPC_CPU_HAS_ALTIVEC
75         depends on !BR2_ARCH_IS_64
76 config BR2_powerpc_7450
77         bool "7450"
78         select BR2_POWERPC_CPU_HAS_ALTIVEC
79         depends on !BR2_ARCH_IS_64
80 config BR2_powerpc_750
81         bool "750"
82         depends on !BR2_ARCH_IS_64
83 config BR2_powerpc_821
84         bool "821"
85         depends on !BR2_ARCH_IS_64
86 config BR2_powerpc_823
87         bool "823"
88         depends on !BR2_ARCH_IS_64
89 config BR2_powerpc_860
90         bool "860"
91         depends on !BR2_ARCH_IS_64
92 config BR2_powerpc_970
93         bool "970"
94         select BR2_POWERPC_CPU_HAS_ALTIVEC
95 config BR2_powerpc_8540
96         bool "8540 / e500v1"
97         depends on !BR2_ARCH_IS_64
98         select BR2_POWERPC_CPU_HAS_SPE
99 config BR2_powerpc_8548
100         bool "8548 / e500v2"
101         depends on !BR2_ARCH_IS_64
102         select BR2_POWERPC_CPU_HAS_SPE
103 config BR2_powerpc_e300c2
104         bool "e300c2"
105         depends on !BR2_ARCH_IS_64
106 config BR2_powerpc_e300c3
107         bool "e300c3"
108         depends on !BR2_ARCH_IS_64
109 config BR2_powerpc_e500mc
110         bool "e500mc"
111         depends on !BR2_ARCH_IS_64
112 config BR2_powerpc_power4
113         bool "power4"
114 config BR2_powerpc_power5
115         bool "power5"
116 config BR2_powerpc_power6
117         bool "power6"
118         select BR2_POWERPC_CPU_HAS_ALTIVEC
119 config BR2_powerpc_power7
120         bool "power7"
121         select BR2_POWERPC_CPU_HAS_ALTIVEC
122 config BR2_powerpc_power8
123         bool "power8"
124         select BR2_POWERPC_CPU_HAS_ALTIVEC
125 endchoice
127 choice
128         prompt "Target ABI"
129         default BR2_powerpc_SPE if BR2_POWERPC_CPU_HAS_SPE
130         default BR2_powerpc_CLASSIC
131         help
132           Application Binary Interface to use
134 config BR2_powerpc_CLASSIC
135         bool "Classic"
136         depends on !BR2_POWERPC_CPU_HAS_SPE
137 config BR2_powerpc_SPE
138         bool "SPE"
139         depends on BR2_POWERPC_CPU_HAS_SPE
140 endchoice
142 config BR2_POWERPC_SOFT_FLOAT
143         bool "Use soft-float"
144         select BR2_SOFT_FLOAT
145         help
146           If your target CPU does not have a Floating Point Unit (FPU)
147           or a kernel FPU emulator, but you still wish to support
148           floating point functions, then everything will need to be
149           compiled with soft floating point support (-msoft-float).
151 config BR2_ARCH
152         default "powerpc"       if BR2_powerpc
153         default "powerpc64"     if BR2_powerpc64
154         default "powerpc64le"   if BR2_powerpc64le
156 config BR2_ENDIAN
157         default "BIG"    if BR2_powerpc || BR2_powerpc64
158         default "LITTLE" if BR2_powerpc64le
160 config BR2_ARCH_HAS_ATOMICS
161         default y
163 config BR2_GCC_TARGET_TUNE
164         default "401"           if BR2_powerpc_401
165         default "403"           if BR2_powerpc_403
166         default "405"           if BR2_powerpc_405
167         default "405fp"         if BR2_powerpc_405fp
168         default "440"           if BR2_powerpc_440
169         default "440fp"         if BR2_powerpc_440fp
170         default "464"           if BR2_powerpc_464
171         default "464fp"         if BR2_powerpc_464fp
172         default "476"           if BR2_powerpc_476
173         default "476fp"         if BR2_powerpc_476fp
174         default "505"           if BR2_powerpc_505
175         default "601"           if BR2_powerpc_601
176         default "602"           if BR2_powerpc_602
177         default "603"           if BR2_powerpc_603
178         default "603e"          if BR2_powerpc_603e
179         default "604"           if BR2_powerpc_604
180         default "604e"          if BR2_powerpc_604e
181         default "620"           if BR2_powerpc_620
182         default "630"           if BR2_powerpc_630
183         default "740"           if BR2_powerpc_740
184         default "7400"          if BR2_powerpc_7400
185         default "7450"          if BR2_powerpc_7450
186         default "750"           if BR2_powerpc_750
187         default "821"           if BR2_powerpc_821
188         default "823"           if BR2_powerpc_823
189         default "860"           if BR2_powerpc_860
190         default "970"           if BR2_powerpc_970
191         default "8540"          if BR2_powerpc_8540
192         default "8548"          if BR2_powerpc_8548
193         default "e300c2"        if BR2_powerpc_e300c2
194         default "e300c3"        if BR2_powerpc_e300c3
195         default "e500mc"        if BR2_powerpc_e500mc
196         default "power4"        if BR2_powerpc_power4
197         default "power5"        if BR2_powerpc_power5
198         default "power6"        if BR2_powerpc_power6
199         default "power7"        if BR2_powerpc_power7
200         default "power8"        if BR2_powerpc_power8
202 config BR2_GCC_TARGET_ABI
203         default "altivec"               if BR2_PPC_ABI_altivec
204         default "no-altivec"            if BR2_PPC_ABI_no-altivec
205         default "spe"                   if BR2_PPC_ABI_spe
206         default "no-spe"                if BR2_PPC_ABI_no-spe
207         default "ibmlongdouble"         if BR2_PPC_ABI_ibmlongdouble
208         default "ieeelongdouble"        if BR2_PPC_ABI_ieeelongdouble