Commit 8bd522ce4afda3d4868ee8c913f5394094326be1

Authored by Dave Liu
Committed by Kim Phillips
1 parent b05884efa6

mpc83xx: Add the support for MPC8315ERDB board

The features list:
- Boot from NOR Flash
- DDR2 266MHz hardcoded configuration
- Local bus NOR Flash R/W operation
- I2C, UART, MII and RTC
- eTSEC0/1 support
- PCI host

Signed-off-by: Dave Liu <daveliu@freescale.com>
Signed-off-by: Kim Phillips <kim.phillips@freescale.com>

Showing 10 changed files with 936 additions and 1 deletions Inline Diff

1 # 1 #
2 # Parts of the development effort for this project have been 2 # Parts of the development effort for this project have been
3 # sponsored by SIEMENS AG, Austria. Thanks to SIEMENS for 3 # sponsored by SIEMENS AG, Austria. Thanks to SIEMENS for
4 # supporting an Open Source project! 4 # supporting an Open Source project!
5 # 5 #
6 # 6 #
7 # This is at least a partial credits-file of individual people that 7 # This is at least a partial credits-file of individual people that
8 # have contributed to the U-Boot project. It is sorted by name and 8 # have contributed to the U-Boot project. It is sorted by name and
9 # formatted to allow easy grepping and beautification by scripts. 9 # formatted to allow easy grepping and beautification by scripts.
10 # The fields are: name (N), email (E), web-address (W), PGP key ID 10 # The fields are: name (N), email (E), web-address (W), PGP key ID
11 # and fingerprint (P), description (D), and snail-mail address (S). 11 # and fingerprint (P), description (D), and snail-mail address (S).
12 # Thanks, 12 # Thanks,
13 # 13 #
14 # Wolfgang Denk 14 # Wolfgang Denk
15 #---------- 15 #----------
16 16
17 N: Dr. Bruno Achauer 17 N: Dr. Bruno Achauer
18 E: bruno@exet-ag.de 18 E: bruno@exet-ag.de
19 D: Support for NetBSD (both as host and target system) 19 D: Support for NetBSD (both as host and target system)
20 20
21 N: Guillaume Alexandre 21 N: Guillaume Alexandre
22 E: guillaume.alexandre@gespac.ch 22 E: guillaume.alexandre@gespac.ch
23 D: Add PCIPPC6 configuration 23 D: Add PCIPPC6 configuration
24 24
25 N: Swen Anderson 25 N: Swen Anderson
26 E: sand@peppercon.de 26 E: sand@peppercon.de
27 D: ERIC Support 27 D: ERIC Support
28 28
29 N: Pantelis Antoniou 29 N: Pantelis Antoniou
30 E: panto@intracom.gr 30 E: panto@intracom.gr
31 D: NETVIA & NETPHONE board support, ARTOS support. 31 D: NETVIA & NETPHONE board support, ARTOS support.
32 D: Support for Silicon Turnkey eXpress XTc 32 D: Support for Silicon Turnkey eXpress XTc
33 33
34 N: Pierre Aubert 34 N: Pierre Aubert
35 E: <p.aubert@staubli.com> 35 E: <p.aubert@staubli.com>
36 D: Support for RPXClassic board 36 D: Support for RPXClassic board
37 37
38 N: Yuli Barcohen 38 N: Yuli Barcohen
39 E: yuli@arabellasw.com 39 E: yuli@arabellasw.com
40 D: Unified support for Motorola MPC826xADS/MPC8272ADS/PQ2FADS boards. 40 D: Unified support for Motorola MPC826xADS/MPC8272ADS/PQ2FADS boards.
41 D: Support for Zephyr Engineering ZPC.1900 board. 41 D: Support for Zephyr Engineering ZPC.1900 board.
42 D: Support for Interphase iSPAN boards. 42 D: Support for Interphase iSPAN boards.
43 D: Support for Analogue&Micro Adder boards. 43 D: Support for Analogue&Micro Adder boards.
44 D: Support for Analogue&Micro Rattler boards. 44 D: Support for Analogue&Micro Rattler boards.
45 W: http://www.arabellasw.com 45 W: http://www.arabellasw.com
46 46
47 N: Jerry van Baren 47 N: Jerry van Baren
48 E: <vanbaren@cideas.com> 48 E: <vanbaren@cideas.com>
49 D: BedBug port to 603e core (MPC82xx). Code for enhanced memory test. 49 D: BedBug port to 603e core (MPC82xx). Code for enhanced memory test.
50 50
51 N: Pavel Bartusek 51 N: Pavel Bartusek
52 E: <pba@sysgo.com> 52 E: <pba@sysgo.com>
53 D: Reiserfs support 53 D: Reiserfs support
54 W: http://www.elinos.com 54 W: http://www.elinos.com
55 55
56 N: Andre Beaudin 56 N: Andre Beaudin
57 E: <andre.beaudin@colubris.com> 57 E: <andre.beaudin@colubris.com>
58 D: PCMCIA, Ethernet, TFTP 58 D: PCMCIA, Ethernet, TFTP
59 59
60 N: Jon Benediktsson 60 N: Jon Benediktsson
61 E: jonb@marel.is 61 E: jonb@marel.is
62 D: Support for Marel V37 board 62 D: Support for Marel V37 board
63 63
64 N: Raphael Bossek 64 N: Raphael Bossek
65 E: raphael.bossek@solutions4linux.de 65 E: raphael.bossek@solutions4linux.de
66 D: 8xxrom-0.3.0 66 D: 8xxrom-0.3.0
67 67
68 N: Cliff Brake 68 N: Cliff Brake
69 E: cliff.brake@gmail.com 69 E: cliff.brake@gmail.com
70 D: Port to Vibren PXA255 IDP platform 70 D: Port to Vibren PXA255 IDP platform
71 W: http://www.vibren.com 71 W: http://www.vibren.com
72 W: http://bec-systems.com 72 W: http://bec-systems.com
73 73
74 N: Rick Bronson 74 N: Rick Bronson
75 E: rick@efn.org 75 E: rick@efn.org
76 D: Atmel AT91RM9200DK and NAND support 76 D: Atmel AT91RM9200DK and NAND support
77 77
78 N: David Brown 78 N: David Brown
79 E: DBrown03@harris.com 79 E: DBrown03@harris.com
80 D: Extensions to 8xxrom-0.3.0 80 D: Extensions to 8xxrom-0.3.0
81 81
82 N: Oliver Brown 82 N: Oliver Brown
83 E: obrown@adventnetworks.com 83 E: obrown@adventnetworks.com
84 D: Port to the gw8260 board 84 D: Port to the gw8260 board
85 85
86 N: Curt Brune 86 N: Curt Brune
87 E: curt@cucy.com 87 E: curt@cucy.com
88 D: Added support for Samsung S3C4510B CPU (ARM7tdmi based SoC) 88 D: Added support for Samsung S3C4510B CPU (ARM7tdmi based SoC)
89 D: Added support for ESPD-Inc. EVB4510 Board 89 D: Added support for ESPD-Inc. EVB4510 Board
90 W: http://www.cucy.com 90 W: http://www.cucy.com
91 91
92 N: Jonathan De Bruyne 92 N: Jonathan De Bruyne
93 E: jonathan.debruyne@siemens.atea.be 93 E: jonathan.debruyne@siemens.atea.be
94 D: Port to Siemens IAD210 board 94 D: Port to Siemens IAD210 board
95 95
96 N: Ken Chou 96 N: Ken Chou
97 E: kchou@ieee.org 97 E: kchou@ieee.org
98 D: Support for A3000 SBC board 98 D: Support for A3000 SBC board
99 99
100 N: Conn Clark 100 N: Conn Clark
101 E: clark@esteem.com 101 E: clark@esteem.com
102 D: ESTEEM192E support 102 D: ESTEEM192E support
103 103
104 N: Magnus Damm 104 N: Magnus Damm
105 E: damm@opensource.se 105 E: damm@opensource.se
106 D: 8xxrom 106 D: 8xxrom
107 107
108 N: Richard Danter 108 N: Richard Danter
109 E: richard.danter@windriver.com 109 E: richard.danter@windriver.com
110 D: Support for Wind River PPMC 7xx/74xx boards 110 D: Support for Wind River PPMC 7xx/74xx boards
111 111
112 N: George G. Davis 112 N: George G. Davis
113 E: gdavis@mvista.com 113 E: gdavis@mvista.com
114 D: Board ports for ADS GraphicsClient+ and Intel Assabet 114 D: Board ports for ADS GraphicsClient+ and Intel Assabet
115 115
116 N: Arun Dharankar 116 N: Arun Dharankar
117 E: ADharankar@ATTBI.Com 117 E: ADharankar@ATTBI.Com
118 D: threads / scheduler example code 118 D: threads / scheduler example code
119 119
120 N: K?ri Dav??sson 120 N: K?ri Dav??sson
121 E: kd@flaga.is 121 E: kd@flaga.is
122 D: FLAGA DM Support 122 D: FLAGA DM Support
123 123
124 N: Wolfgang Denk 124 N: Wolfgang Denk
125 E: wd@denx.de 125 E: wd@denx.de
126 D: U-Boot initial version, continuing maintenance, ARMBoot merge 126 D: U-Boot initial version, continuing maintenance, ARMBoot merge
127 W: http://www.denx.de 127 W: http://www.denx.de
128 128
129 N: Dan A. Dickey 129 N: Dan A. Dickey
130 E: ddickey@charter.net 130 E: ddickey@charter.net
131 D: FADS Support 131 D: FADS Support
132 132
133 N: James F. Dougherty 133 N: James F. Dougherty
134 E: jfd@GigabitNetworks.COM 134 E: jfd@GigabitNetworks.COM
135 D: Port to the MOUSSE board 135 D: Port to the MOUSSE board
136 136
137 N: Dave Ellis 137 N: Dave Ellis
138 E: DGE@sixnetio.com 138 E: DGE@sixnetio.com
139 D: EEPROM Speedup, SXNI855T port 139 D: EEPROM Speedup, SXNI855T port
140 140
141 N: Thomas Elste 141 N: Thomas Elste
142 E: info@elste.org 142 E: info@elste.org
143 D: Port for the ModNET50 Board, NET+50 CPU Port 143 D: Port for the ModNET50 Board, NET+50 CPU Port
144 W: http://www.imms.de 144 W: http://www.imms.de
145 145
146 N: Daniel Engstr?m 146 N: Daniel Engstr?m
147 E: daniel@omicron.se 147 E: daniel@omicron.se
148 D: x86 port, Support for sc520_cdp board 148 D: x86 port, Support for sc520_cdp board
149 149
150 N: Hayden Fraser 150 N: Hayden Fraser
151 E: Hayden.Fraser@freescale.com 151 E: Hayden.Fraser@freescale.com
152 D: Support for ColdFire MCF5253 152 D: Support for ColdFire MCF5253
153 W: www.freescale.com 153 W: www.freescale.com
154 154
155 N: Dr. Wolfgang Grandegger 155 N: Dr. Wolfgang Grandegger
156 E: wg@denx.de 156 E: wg@denx.de
157 D: Support for Interphase 4539 T1/E1/J1 PMC, PN62, CCM, SCM boards 157 D: Support for Interphase 4539 T1/E1/J1 PMC, PN62, CCM, SCM boards
158 W: www.denx.de 158 W: www.denx.de
159 159
160 N: Peter Figuli 160 N: Peter Figuli
161 E: peposh@etc.sk 161 E: peposh@etc.sk
162 D: Support for WEP EP250 (PXA) board 162 D: Support for WEP EP250 (PXA) board
163 163
164 N: Thomas Frieden 164 N: Thomas Frieden
165 E: ThomasF@hyperion-entertainment.com 165 E: ThomasF@hyperion-entertainment.com
166 D: Support for AmigaOne 166 D: Support for AmigaOne
167 167
168 N: Niklaus Giger 168 N: Niklaus Giger
169 E: niklaus.giger@netstal.com 169 E: niklaus.giger@netstal.com
170 D: Support for HCU(x) boards 170 D: Support for HCU(x) boards
171 W: www.netstal.com 171 W: www.netstal.com
172 172
173 N: Paul Gortmaker 173 N: Paul Gortmaker
174 E: paul.gortmaker@windriver.com 174 E: paul.gortmaker@windriver.com
175 D: Support for WRS SBC8347/8349 boards 175 D: Support for WRS SBC8347/8349 boards
176 176
177 N: Frank Gottschling 177 N: Frank Gottschling
178 E: fgottschling@eltec.de 178 E: fgottschling@eltec.de
179 D: Support for ELTEC MHPC/BAB7xx/ELPPC boards, cfb-console, i8042, SMI LynxEM 179 D: Support for ELTEC MHPC/BAB7xx/ELPPC boards, cfb-console, i8042, SMI LynxEM
180 W: www.eltec.de 180 W: www.eltec.de
181 181
182 N: Marius Groeger 182 N: Marius Groeger
183 E: mgroeger@sysgo.de 183 E: mgroeger@sysgo.de
184 D: MBX Support, board specific function interface, EST SBC8260 support; initial support for StrongARM (LART), ARM720TDMI (implementa A7) 184 D: MBX Support, board specific function interface, EST SBC8260 support; initial support for StrongARM (LART), ARM720TDMI (implementa A7)
185 W: www.elinos.com 185 W: www.elinos.com
186 186
187 N: Kirk Haderlie 187 N: Kirk Haderlie
188 E: khaderlie@vividimage.com 188 E: khaderlie@vividimage.com
189 D: Added TFTP to 8xxrom (-> 0.3.1) 189 D: Added TFTP to 8xxrom (-> 0.3.1)
190 190
191 N: Chris Hallinan 191 N: Chris Hallinan
192 E: clh@net1plus.com 192 E: clh@net1plus.com
193 D: DHCP Support 193 D: DHCP Support
194 194
195 N: Anne-Sophie Harnois 195 N: Anne-Sophie Harnois
196 E: Anne-Sophie.Harnois@nextream.fr 196 E: Anne-Sophie.Harnois@nextream.fr
197 D: Port to Walnut405 board 197 D: Port to Walnut405 board
198 198
199 N: Andreas Heppel 199 N: Andreas Heppel
200 E: aheppel@sysgo.de 200 E: aheppel@sysgo.de
201 D: CPU Support for MPC 75x; board support for Eltec BAB750 [obsolete!] 201 D: CPU Support for MPC 75x; board support for Eltec BAB750 [obsolete!]
202 202
203 N: August Hoeraendl 203 N: August Hoeraendl
204 E: august.hoerandl@gmx.at 204 E: august.hoerandl@gmx.at
205 D: Support for the logodl board (PXA2xx) 205 D: Support for the logodl board (PXA2xx)
206 206
207 N: Josh Huber 207 N: Josh Huber
208 E: huber@alum.wpi.edu 208 E: huber@alum.wpi.edu
209 D: Port to the Galileo Evaluation Board, and the MPC74xx cpu series. 209 D: Port to the Galileo Evaluation Board, and the MPC74xx cpu series.
210 W: http://www.mclx.com/ 210 W: http://www.mclx.com/
211 211
212 H: Stuart Hughes 212 H: Stuart Hughes
213 E: stuarth@lineo.com 213 E: stuarth@lineo.com
214 D: Port to MPC8260ADS board 214 D: Port to MPC8260ADS board
215 215
216 H: Rich Ireland 216 H: Rich Ireland
217 E: r.ireland@computer.org 217 E: r.ireland@computer.org
218 D: FPGA device configuration driver 218 D: FPGA device configuration driver
219 219
220 N: Gary Jennejohn 220 N: Gary Jennejohn
221 E: garyj@jennejohn.org, gj@denx.de 221 E: garyj@jennejohn.org, gj@denx.de
222 D: Support for Samsung ARM920T S3C2400X, ARM920T "TRAB" 222 D: Support for Samsung ARM920T S3C2400X, ARM920T "TRAB"
223 W: www.denx.de 223 W: www.denx.de
224 224
225 N: Murray Jensen 225 N: Murray Jensen
226 E: Murray.Jensen@csiro.au 226 E: Murray.Jensen@csiro.au
227 D: Initial 8260 support; GDB support 227 D: Initial 8260 support; GDB support
228 D: Port to Cogent+Hymod boards; Hymod Board Database 228 D: Port to Cogent+Hymod boards; Hymod Board Database
229 229
230 N: Yoo. Jonghoon 230 N: Yoo. Jonghoon
231 E: yooth@ipone.co.kr 231 E: yooth@ipone.co.kr
232 D: Added port to the RPXlite board 232 D: Added port to the RPXlite board
233 233
234 N: Mark Jonas 234 N: Mark Jonas
235 E: mark.jonas@freescale.com 235 E: mark.jonas@freescale.com
236 D: Support for Freescale Total5200 platform 236 D: Support for Freescale Total5200 platform
237 W: http://www.mobilegt.com/ 237 W: http://www.mobilegt.com/
238 238
239 N: Sam Song 239 N: Sam Song
240 E: samsongshu@yahoo.com.cn 240 E: samsongshu@yahoo.com.cn
241 D: Port to the RPXlite_DW board 241 D: Port to the RPXlite_DW board
242 242
243 N: Brad Kemp 243 N: Brad Kemp
244 E: Brad.Kemp@seranoa.com 244 E: Brad.Kemp@seranoa.com
245 D: Port to Windriver ppmc8260 board 245 D: Port to Windriver ppmc8260 board
246 246
247 N: Sangmoon Kim 247 N: Sangmoon Kim
248 E: dogoil@etinsys.com 248 E: dogoil@etinsys.com
249 D: Support for debris board 249 D: Support for debris board
250 D: Support for KVME080 board 250 D: Support for KVME080 board
251 251
252 N: Frederick W. Klatt 252 N: Frederick W. Klatt
253 E: fred.klatt@windriver.com 253 E: fred.klatt@windriver.com
254 D: Support for Wind River SBC8540/SBC8560 boards 254 D: Support for Wind River SBC8540/SBC8560 boards
255 255
256 N: Thomas Koeller 256 N: Thomas Koeller
257 E: tkoeller@gmx.net 257 E: tkoeller@gmx.net
258 D: Port to Motorola Sandpoint 3 (MPC8240) 258 D: Port to Motorola Sandpoint 3 (MPC8240)
259 259
260 N: Raghu Krishnaprasad 260 N: Raghu Krishnaprasad
261 E: Raghu.Krishnaprasad@fci.com 261 E: Raghu.Krishnaprasad@fci.com
262 D: Support for Adder-II MPC852T evaluation board 262 D: Support for Adder-II MPC852T evaluation board
263 W: http://www.forcecomputers.com 263 W: http://www.forcecomputers.com
264 264
265 N: Sergey Kubushyn 265 N: Sergey Kubushyn
266 E: ksi@koi8.net 266 E: ksi@koi8.net
267 D: Support for various TI DaVinci based boards. 267 D: Support for various TI DaVinci based boards.
268 268
269 N: Bernhard Kuhn 269 N: Bernhard Kuhn
270 E: bkuhn@metrowerks.com 270 E: bkuhn@metrowerks.com
271 D Support for Coldfire CPU; Support for Motorola M5272C3 and M5282EVB boards 271 D Support for Coldfire CPU; Support for Motorola M5272C3 and M5282EVB boards
272 272
273 N: Prakash Kumar 273 N: Prakash Kumar
274 E: prakash@embedx.com 274 E: prakash@embedx.com
275 D Support for Intrinsyc CERF PXA250 board. 275 D Support for Intrinsyc CERF PXA250 board.
276 276
277 N: Thomas Lange 277 N: Thomas Lange
278 E: thomas@corelatus.se 278 E: thomas@corelatus.se
279 D: Support for GTH, GTH2 and dbau1x00 boards; lots of PCMCIA fixes 279 D: Support for GTH, GTH2 and dbau1x00 boards; lots of PCMCIA fixes
280 280
281 N: Marc Leeman 281 N: Marc Leeman
282 E: marc.leeman@barco.com 282 E: marc.leeman@barco.com
283 D: Support for Barco Streaming Video Card (SVC) and Sample Compress Network (SCN) 283 D: Support for Barco Streaming Video Card (SVC) and Sample Compress Network (SCN)
284 W: www.barco.com 284 W: www.barco.com
285 285
286 N: The LEOX team 286 N: The LEOX team
287 E: team@leox.org 287 E: team@leox.org
288 D: Support for LEOX boards, DS164x RTC 288 D: Support for LEOX boards, DS164x RTC
289 W: http://www.leox.org 289 W: http://www.leox.org
290 290
291 N: TsiChung Liew 291 N: TsiChung Liew
292 E: Tsi-Chung.Liew@freescale.com 292 E: Tsi-Chung.Liew@freescale.com
293 D: Support for ColdFire MCF523x, MCF532x, MCF5445x 293 D: Support for ColdFire MCF523x, MCF532x, MCF5445x
294 W: www.freescale.com 294 W: www.freescale.com
295 295
296 N: Leif Lindholm 296 N: Leif Lindholm
297 E: leif.lindholm@i3micro.com 297 E: leif.lindholm@i3micro.com
298 D: Support for AMD dbau1550 board. 298 D: Support for AMD dbau1550 board.
299 299
300 N: Stephan Linz 300 N: Stephan Linz
301 E: linz@li-pro.net 301 E: linz@li-pro.net
302 D: Support for Nios Stratix Development Kit (DK-1S10) 302 D: Support for Nios Stratix Development Kit (DK-1S10)
303 D: Support for SSV ADNP/ESC1 (Nios Cyclone) 303 D: Support for SSV ADNP/ESC1 (Nios Cyclone)
304 W: http://www.li-pro.net 304 W: http://www.li-pro.net
305 305
306 N: Dave Liu 306 N: Dave Liu
307 E: daveliu@freescale.com 307 E: daveliu@freescale.com
308 D: Support for MPC832x, MPC8360, MPC837x 308 D: Support for MPC8315, MPC832x, MPC8360, MPC837x
309 W: www.freescale.com 309 W: www.freescale.com
310 310
311 N: Raymond Lo 311 N: Raymond Lo
312 E: lo@routefree.com 312 E: lo@routefree.com
313 D: Support for DOS partitions 313 D: Support for DOS partitions
314 314
315 N: James MacAulay 315 N: James MacAulay
316 E: james.macaulay@amirix.com 316 E: james.macaulay@amirix.com
317 D: Suppport for Amirix AP1000 317 D: Suppport for Amirix AP1000
318 W: www.amirix.com 318 W: www.amirix.com
319 319
320 N: Dan Malek 320 N: Dan Malek
321 E: dan@embeddedalley.com 321 E: dan@embeddedalley.com
322 D: FADSROM, the grandfather of all of this 322 D: FADSROM, the grandfather of all of this
323 D: Support for Silicon Turnkey eXpress XTc 323 D: Support for Silicon Turnkey eXpress XTc
324 324
325 N: Andrea "llandre" Marson 325 N: Andrea "llandre" Marson
326 E: andrea.marson@dave-tech.it 326 E: andrea.marson@dave-tech.it
327 D: Port to PPChameleonEVB board 327 D: Port to PPChameleonEVB board
328 W: www.dave-tech.it 328 W: www.dave-tech.it
329 329
330 N: Reinhard Meyer 330 N: Reinhard Meyer
331 E: r.meyer@emk-elektronik.de 331 E: r.meyer@emk-elektronik.de
332 D: Port to EMK TOP860 Module 332 D: Port to EMK TOP860 Module
333 333
334 N: Jay Monkman 334 N: Jay Monkman
335 E: jtm@smoothsmoothie.com 335 E: jtm@smoothsmoothie.com
336 D: EST SBC8260 support 336 D: EST SBC8260 support
337 337
338 N: Frank Morauf 338 N: Frank Morauf
339 E: frank.morauf@salzbrenner.com 339 E: frank.morauf@salzbrenner.com
340 D: Support for Embedded Planet RPX Super Board 340 D: Support for Embedded Planet RPX Super Board
341 341
342 N: David M?ller 342 N: David M?ller
343 E: d.mueller@elsoft.ch 343 E: d.mueller@elsoft.ch
344 D: Support for Samsung ARM920T SMDK2410 eval board 344 D: Support for Samsung ARM920T SMDK2410 eval board
345 345
346 N: Scott McNutt 346 N: Scott McNutt
347 E: smcnutt@psyent.com 347 E: smcnutt@psyent.com
348 D: Support for Altera Nios-32 CPU 348 D: Support for Altera Nios-32 CPU
349 D: Support for Altera Nios-II CPU 349 D: Support for Altera Nios-II CPU
350 D: Support for Nios Cyclone Development Kit (DK-1C20) 350 D: Support for Nios Cyclone Development Kit (DK-1C20)
351 W: http://www.psyent.com 351 W: http://www.psyent.com
352 352
353 N: Rolf Offermanns 353 N: Rolf Offermanns
354 E: rof@sysgo.de 354 E: rof@sysgo.de
355 D: Initial support for SSV-DNP1110, SMC91111 driver 355 D: Initial support for SSV-DNP1110, SMC91111 driver
356 W: www.elinos.com 356 W: www.elinos.com
357 357
358 N: John Otken 358 N: John Otken
359 E: jotken@softadvances.com 359 E: jotken@softadvances.com
360 D: Support for AMCC Luan 440SP board 360 D: Support for AMCC Luan 440SP board
361 361
362 N: Tolunay Orkun 362 N: Tolunay Orkun
363 E: torkun@nextio.com 363 E: torkun@nextio.com
364 D: Support for Cogent CSB272 & CSB472 boards 364 D: Support for Cogent CSB272 & CSB472 boards
365 365
366 N: Keith Outwater 366 N: Keith Outwater
367 E: keith_outwater@mvis.com 367 E: keith_outwater@mvis.com
368 D: Support for generic/custom MPC860T boards (GEN860T, GEN860T_SC) 368 D: Support for generic/custom MPC860T boards (GEN860T, GEN860T_SC)
369 369
370 N: Frank Panno 370 N: Frank Panno
371 E: fpanno@delphintech.com 371 E: fpanno@delphintech.com
372 D: Support for Embedded Planet EP8260 Board 372 D: Support for Embedded Planet EP8260 Board
373 373
374 N: Denis Peter 374 N: Denis Peter
375 E: d.peter@mpl.ch 375 E: d.peter@mpl.ch
376 D: Support for 4xx SCSI, floppy, CDROM, CT69000 video, ... 376 D: Support for 4xx SCSI, floppy, CDROM, CT69000 video, ...
377 D: Support for PIP405 board 377 D: Support for PIP405 board
378 D: Support for MIP405 board 378 D: Support for MIP405 board
379 379
380 N: Dave Peverley 380 N: Dave Peverley
381 E: dpeverley@mpc-data.co.uk 381 E: dpeverley@mpc-data.co.uk
382 W: http://www.mpc-data.co.uk 382 W: http://www.mpc-data.co.uk
383 D: OMAP730 P2 board support 383 D: OMAP730 P2 board support
384 384
385 N: Bill Pitts 385 N: Bill Pitts
386 E: wlp@mindspring.com 386 E: wlp@mindspring.com
387 D: BedBug embedded debugger code 387 D: BedBug embedded debugger code
388 388
389 N: Daniel Poirot 389 N: Daniel Poirot
390 E: dan.poirot@windriver.com 390 E: dan.poirot@windriver.com
391 D: Support for the Wind River sbc405, sbc8240 board 391 D: Support for the Wind River sbc405, sbc8240 board
392 W: http://www.windriver.com 392 W: http://www.windriver.com
393 393
394 N: Stefan Roese 394 N: Stefan Roese
395 E: sr@denx.de 395 E: sr@denx.de
396 D: AMCC PPC4xx Support 396 D: AMCC PPC4xx Support
397 W: http://www.denx.de 397 W: http://www.denx.de
398 398
399 N: Erwin Rol 399 N: Erwin Rol
400 E: erwin@muffin.org 400 E: erwin@muffin.org
401 D: boot support for RTEMS 401 D: boot support for RTEMS
402 402
403 N: Paul Ruhland 403 N: Paul Ruhland
404 E: pruhland@rochester.rr.com 404 E: pruhland@rochester.rr.com
405 D: Port to Logic Zoom LH7A40x SDK board(s) 405 D: Port to Logic Zoom LH7A40x SDK board(s)
406 406
407 N: Neil Russell 407 N: Neil Russell
408 E: caret@c-side.com 408 E: caret@c-side.com
409 D: Author of LiMon-1.4.2, which contributed some ideas 409 D: Author of LiMon-1.4.2, which contributed some ideas
410 410
411 N: Travis B. Sawyer 411 N: Travis B. Sawyer
412 E: travis.sawyer@sandburst.com 412 E: travis.sawyer@sandburst.com
413 D: Support for AMCC PPC440GX, XES XPedite1000 440GX PrPMC board. AMCC 440gx Ref Platform (Ocotea) 413 D: Support for AMCC PPC440GX, XES XPedite1000 440GX PrPMC board. AMCC 440gx Ref Platform (Ocotea)
414 414
415 N: Paolo Scaffardi 415 N: Paolo Scaffardi
416 E: arsenio@tin.it 416 E: arsenio@tin.it
417 D: FADS823 configuration, MPC823 video support, I2C, wireless keyboard, lots more 417 D: FADS823 configuration, MPC823 video support, I2C, wireless keyboard, lots more
418 418
419 N: Robert Schwebel 419 N: Robert Schwebel
420 E: r.schwebel@pengutronix.de 420 E: r.schwebel@pengutronix.de
421 D: Support for csb226, logodl and innokom boards (PXA2xx) 421 D: Support for csb226, logodl and innokom boards (PXA2xx)
422 422
423 N: Aaron Sells 423 N: Aaron Sells
424 E: sellsa@embeddedplanet.com 424 E: sellsa@embeddedplanet.com
425 D: Support for EP82xxM 425 D: Support for EP82xxM
426 426
427 N: Art Shipkowski 427 N: Art Shipkowski
428 E: art@videon-central.com 428 E: art@videon-central.com
429 D: Support for NetSilicon NS7520 429 D: Support for NetSilicon NS7520
430 430
431 N: Michal Simek 431 N: Michal Simek
432 E: monstr@monstr.eu 432 E: monstr@monstr.eu
433 D: Support for Microblaze, ML401, XUPV2P board 433 D: Support for Microblaze, ML401, XUPV2P board
434 W: www.monstr.eu 434 W: www.monstr.eu
435 435
436 N: Yasushi Shoji 436 N: Yasushi Shoji
437 E: yashi@atmark-techno.com 437 E: yashi@atmark-techno.com
438 D: Support for Xilinx MicroBlaze, for Atmark Techno SUZAKU FPGA board 438 D: Support for Xilinx MicroBlaze, for Atmark Techno SUZAKU FPGA board
439 439
440 N: Kurt Stremerch 440 N: Kurt Stremerch
441 E: kurt@exys.be 441 E: kurt@exys.be
442 D: Support for Exys XSEngine board 442 D: Support for Exys XSEngine board
443 443
444 N: Andrea Scian 444 N: Andrea Scian
445 E: andrea.scian@dave-tech.it 445 E: andrea.scian@dave-tech.it
446 D: Port to B2 board 446 D: Port to B2 board
447 W: www.dave-tech.it 447 W: www.dave-tech.it
448 448
449 N: Timur Tabi 449 N: Timur Tabi
450 E: timur@freescale.com 450 E: timur@freescale.com
451 D: Support for MPC8349E-mITX 451 D: Support for MPC8349E-mITX
452 W: www.freescale.com 452 W: www.freescale.com
453 453
454 N: Rob Taylor 454 N: Rob Taylor
455 E: robt@flyingpig.com 455 E: robt@flyingpig.com
456 D: Port to MBX860T and Sandpoint8240 456 D: Port to MBX860T and Sandpoint8240
457 457
458 N: Erik Theisen 458 N: Erik Theisen
459 E: etheisen@mindspring.com 459 E: etheisen@mindspring.com
460 D: MBX8xx and many other patches 460 D: MBX8xx and many other patches
461 461
462 N: Jim Thompson 462 N: Jim Thompson
463 E: jim@musenki.com 463 E: jim@musenki.com
464 D: Support for MUSENKI board 464 D: Support for MUSENKI board
465 465
466 N: Rune Torgersen 466 N: Rune Torgersen
467 E: <runet@innovsys.com> 467 E: <runet@innovsys.com>
468 D: Support for Motorola MPC8266ADS board 468 D: Support for Motorola MPC8266ADS board
469 469
470 N: Greg Ungerer 470 N: Greg Ungerer
471 E: greg.ungerer@opengear.com 471 E: greg.ungerer@opengear.com
472 D: Support for ks8695 CPU, and OpenGear cmXXXX boards 472 D: Support for ks8695 CPU, and OpenGear cmXXXX boards
473 473
474 N: David Updegraff 474 N: David Updegraff
475 E: dave@cray.com 475 E: dave@cray.com
476 D: Port to Cray L1 board; DHCP vendor extensions 476 D: Port to Cray L1 board; DHCP vendor extensions
477 477
478 N: Christian Vejlbo 478 N: Christian Vejlbo
479 E: christian.vejlbo@tellabs.com 479 E: christian.vejlbo@tellabs.com
480 D: FADS860T ethernet support 480 D: FADS860T ethernet support
481 481
482 N: Robert Whaley 482 N: Robert Whaley
483 E: rwhaley@applieddata.net 483 E: rwhaley@applieddata.net
484 D: Port to ARM PXA27x adsvix SBC 484 D: Port to ARM PXA27x adsvix SBC
485 485
486 N: Martin Winistoerfer 486 N: Martin Winistoerfer
487 E: martinwinistoerfer@gmx.ch 487 E: martinwinistoerfer@gmx.ch
488 D: Port to MPC555/556 microcontrollers and support for cmi board 488 D: Port to MPC555/556 microcontrollers and support for cmi board
489 489
490 N: Ming-Len Wu 490 N: Ming-Len Wu
491 E: minglen_wu@techware.com.tw 491 E: minglen_wu@techware.com.tw
492 D: Motorola MX1ADS board support 492 D: Motorola MX1ADS board support
493 W: http://www.techware.com.tw/ 493 W: http://www.techware.com.tw/
494 494
495 N: Xianghua Xiao 495 N: Xianghua Xiao
496 E: x.xiao@motorola.com 496 E: x.xiao@motorola.com
497 D: Support for Motorola 85xx(PowerQUICC III) chip, MPC8540ADS and MPC8560ADS boards. 497 D: Support for Motorola 85xx(PowerQUICC III) chip, MPC8540ADS and MPC8560ADS boards.
498 498
499 N: John Zhan 499 N: John Zhan
500 E: zhanz@sinovee.com 500 E: zhanz@sinovee.com
501 D: Support for SinoVee Microsystems SC8xx SBC 501 D: Support for SinoVee Microsystems SC8xx SBC
502 502
503 N: Alex Zuepke 503 N: Alex Zuepke
504 E: azu@sysgo.de 504 E: azu@sysgo.de
505 D: Overall improvements on StrongARM, ARM720TDMI; Support for Tuxscreen; initial PCMCIA support for ARM 505 D: Overall improvements on StrongARM, ARM720TDMI; Support for Tuxscreen; initial PCMCIA support for ARM
506 W: www.elinos.com 506 W: www.elinos.com
507 507
508 N: Nobuhiro Iwamatsu 508 N: Nobuhiro Iwamatsu
509 E: iwamatsu@nigauri.org 509 E: iwamatsu@nigauri.org
510 D: Support for SuperH, MS7750SE01 and MS7722SE01 boards. 510 D: Support for SuperH, MS7750SE01 and MS7722SE01 boards.
511 W: http://www.nigauri.org/~iwamatsu/ 511 W: http://www.nigauri.org/~iwamatsu/
512 512
1 ######################################################################### 1 #########################################################################
2 # # 2 # #
3 # Regular Maintainers for U-Boot board support: # 3 # Regular Maintainers for U-Boot board support: #
4 # # 4 # #
5 # For any board without permanent maintainer, please contact # 5 # For any board without permanent maintainer, please contact #
6 # Wolfgang Denk <wd@denx.de> # 6 # Wolfgang Denk <wd@denx.de> #
7 # and Cc: the <U-Boot-Users@lists.sourceforge.net> mailing lists. # 7 # and Cc: the <U-Boot-Users@lists.sourceforge.net> mailing lists. #
8 # # 8 # #
9 # Note: lists sorted by Maintainer Name # 9 # Note: lists sorted by Maintainer Name #
10 ######################################################################### 10 #########################################################################
11 11
12 12
13 ######################################################################### 13 #########################################################################
14 # PowerPC Systems: # 14 # PowerPC Systems: #
15 # # 15 # #
16 # Maintainer Name, Email Address # 16 # Maintainer Name, Email Address #
17 # Board CPU # 17 # Board CPU #
18 ######################################################################### 18 #########################################################################
19 19
20 Greg Allen <gallen@arlut.utexas.edu> 20 Greg Allen <gallen@arlut.utexas.edu>
21 21
22 UTX8245 MPC8245 22 UTX8245 MPC8245
23 23
24 Pantelis Antoniou <panto@intracom.gr> 24 Pantelis Antoniou <panto@intracom.gr>
25 25
26 NETVIA MPC8xx 26 NETVIA MPC8xx
27 27
28 Reinhard Arlt <reinhard.arlt@esd-electronics.com> 28 Reinhard Arlt <reinhard.arlt@esd-electronics.com>
29 29
30 cpci5200 MPC5200 30 cpci5200 MPC5200
31 mecp5200 MPC5200 31 mecp5200 MPC5200
32 pf5200 MPC5200 32 pf5200 MPC5200
33 33
34 CPCI750 PPC750FX/GX 34 CPCI750 PPC750FX/GX
35 35
36 Yuli Barcohen <yuli@arabellasw.com> 36 Yuli Barcohen <yuli@arabellasw.com>
37 37
38 Adder MPC87x/MPC852T 38 Adder MPC87x/MPC852T
39 ep8248 MPC8248 39 ep8248 MPC8248
40 ISPAN MPC8260 40 ISPAN MPC8260
41 MPC8260ADS MPC826x/MPC827x/MPC8280 41 MPC8260ADS MPC826x/MPC827x/MPC8280
42 Rattler MPC8248 42 Rattler MPC8248
43 ZPC1900 MPC8265 43 ZPC1900 MPC8265
44 44
45 Michael Barkowski <michael.barkowski@freescale.com> 45 Michael Barkowski <michael.barkowski@freescale.com>
46 46
47 MPC8323ERDB MPC8323 47 MPC8323ERDB MPC8323
48 48
49 Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com> 49 Jerry Van Baren <gerald.vanbaren@smiths-aerospace.com>
50 50
51 sacsng MPC8260 51 sacsng MPC8260
52 52
53 Oliver Brown <obrown@adventnetworks.com> 53 Oliver Brown <obrown@adventnetworks.com>
54 54
55 gw8260 MPC8260 55 gw8260 MPC8260
56 56
57 Conn Clark <clark@esteem.com> 57 Conn Clark <clark@esteem.com>
58 58
59 ESTEEM192E MPC8xx 59 ESTEEM192E MPC8xx
60 60
61 Kรกri Davรญรฐsson <kd@flaga.is> 61 Kรกri Davรญรฐsson <kd@flaga.is>
62 62
63 FLAGADM MPC823 63 FLAGADM MPC823
64 64
65 Torsten Demke <torsten.demke@fci.com> 65 Torsten Demke <torsten.demke@fci.com>
66 66
67 eXalion MPC824x 67 eXalion MPC824x
68 68
69 Wolfgang Denk <wd@denx.de> 69 Wolfgang Denk <wd@denx.de>
70 70
71 IceCube_5100 MGT5100 71 IceCube_5100 MGT5100
72 IceCube_5200 MPC5200 72 IceCube_5200 MPC5200
73 73
74 AMX860 MPC860 74 AMX860 MPC860
75 ETX094 MPC850 75 ETX094 MPC850
76 FPS850L MPC850 76 FPS850L MPC850
77 FPS860L MPC860 77 FPS860L MPC860
78 ICU862 MPC862 78 ICU862 MPC862
79 IP860 MPC860 79 IP860 MPC860
80 IVML24 MPC860 80 IVML24 MPC860
81 IVML24_128 MPC860 81 IVML24_128 MPC860
82 IVML24_256 MPC860 82 IVML24_256 MPC860
83 IVMS8 MPC860 83 IVMS8 MPC860
84 IVMS8_128 MPC860 84 IVMS8_128 MPC860
85 IVMS8_256 MPC860 85 IVMS8_256 MPC860
86 LANTEC MPC850 86 LANTEC MPC850
87 LWMON MPC823 87 LWMON MPC823
88 NC650 MPC852 88 NC650 MPC852
89 R360MPI MPC823 89 R360MPI MPC823
90 RMU MPC850 90 RMU MPC850
91 RRvision MPC823 91 RRvision MPC823
92 SM850 MPC850 92 SM850 MPC850
93 SPD823TS MPC823 93 SPD823TS MPC823
94 TQM823L MPC823 94 TQM823L MPC823
95 TQM823L_LCD MPC823 95 TQM823L_LCD MPC823
96 TQM850L MPC850 96 TQM850L MPC850
97 TQM855L MPC855 97 TQM855L MPC855
98 TQM860L MPC860 98 TQM860L MPC860
99 TQM860L_FEC MPC860 99 TQM860L_FEC MPC860
100 c2mon MPC855 100 c2mon MPC855
101 hermes MPC860 101 hermes MPC860
102 lwmon MPC823 102 lwmon MPC823
103 pcu_e MPC855 103 pcu_e MPC855
104 104
105 CU824 MPC8240 105 CU824 MPC8240
106 Sandpoint8240 MPC8240 106 Sandpoint8240 MPC8240
107 SL8245 MPC8245 107 SL8245 MPC8245
108 108
109 ATC MPC8250 109 ATC MPC8250
110 PM825 MPC8250 110 PM825 MPC8250
111 111
112 TQM8255 MPC8255 112 TQM8255 MPC8255
113 113
114 CPU86 MPC8260 114 CPU86 MPC8260
115 PM826 MPC8260 115 PM826 MPC8260
116 TQM8260 MPC8260 116 TQM8260 MPC8260
117 117
118 P3G4 MPC7410 118 P3G4 MPC7410
119 119
120 PCIPPC2 MPC750 120 PCIPPC2 MPC750
121 PCIPPC6 MPC750 121 PCIPPC6 MPC750
122 122
123 EXBITGEN PPC405GP 123 EXBITGEN PPC405GP
124 124
125 Jon Diekema <jon.diekema@smiths-aerospace.com> 125 Jon Diekema <jon.diekema@smiths-aerospace.com>
126 126
127 sbc8260 MPC8260 127 sbc8260 MPC8260
128 128
129 Dave Ellis <DGE@sixnetio.com> 129 Dave Ellis <DGE@sixnetio.com>
130 130
131 SXNI855T MPC8xx 131 SXNI855T MPC8xx
132 132
133 Thomas Frieden <ThomasF@hyperion-entertainment.com> 133 Thomas Frieden <ThomasF@hyperion-entertainment.com>
134 134
135 AmigaOneG3SE MPC7xx 135 AmigaOneG3SE MPC7xx
136 136
137 Matthias Fuchs <matthias.fuchs@esd-electronics.com> 137 Matthias Fuchs <matthias.fuchs@esd-electronics.com>
138 138
139 ADCIOP IOP480 (PPC401) 139 ADCIOP IOP480 (PPC401)
140 APC405 PPC405GP 140 APC405 PPC405GP
141 AR405 PPC405GP 141 AR405 PPC405GP
142 ASH405 PPC405EP 142 ASH405 PPC405EP
143 CANBT PPC405CR 143 CANBT PPC405CR
144 CPCI2DP PPC405GP 144 CPCI2DP PPC405GP
145 CPCI405 PPC405GP 145 CPCI405 PPC405GP
146 CPCI4052 PPC405GP 146 CPCI4052 PPC405GP
147 CPCI405AB PPC405GP 147 CPCI405AB PPC405GP
148 CPCI405DT PPC405GP 148 CPCI405DT PPC405GP
149 CPCIISER4 PPC405GP 149 CPCIISER4 PPC405GP
150 DASA_SIM IOP480 (PPC401) 150 DASA_SIM IOP480 (PPC401)
151 DP405 PPC405EP 151 DP405 PPC405EP
152 DU405 PPC405GP 152 DU405 PPC405GP
153 G2000 PPC405EP 153 G2000 PPC405EP
154 HH405 PPC405EP 154 HH405 PPC405EP
155 HUB405 PPC405EP 155 HUB405 PPC405EP
156 OCRTC PPC405GP 156 OCRTC PPC405GP
157 ORSG PPC405GP 157 ORSG PPC405GP
158 PCI405 PPC405GP 158 PCI405 PPC405GP
159 PLU405 PPC405EP 159 PLU405 PPC405EP
160 PMC405 PPC405GP 160 PMC405 PPC405GP
161 PMC440 PPC440EPx 161 PMC440 PPC440EPx
162 VOH405 PPC405EP 162 VOH405 PPC405EP
163 VOM405 PPC405EP 163 VOM405 PPC405EP
164 WUH405 PPC405EP 164 WUH405 PPC405EP
165 CMS700 PPC405EP 165 CMS700 PPC405EP
166 166
167 Niklaus Giger <niklaus.giger@netstal.com> 167 Niklaus Giger <niklaus.giger@netstal.com>
168 168
169 HCU4 PPC405GPr 169 HCU4 PPC405GPr
170 HCU5 PPC440EPx 170 HCU5 PPC440EPx
171 171
172 Frank Gottschling <fgottschling@eltec.de> 172 Frank Gottschling <fgottschling@eltec.de>
173 173
174 MHPC MPC8xx 174 MHPC MPC8xx
175 175
176 BAB7xx MPC740/MPC750 176 BAB7xx MPC740/MPC750
177 177
178 Wolfgang Grandegger <wg@denx.de> 178 Wolfgang Grandegger <wg@denx.de>
179 179
180 CCM MPC855 180 CCM MPC855
181 181
182 PN62 MPC8240 182 PN62 MPC8240
183 183
184 IPHASE4539 MPC8260 184 IPHASE4539 MPC8260
185 SCM MPC8260 185 SCM MPC8260
186 186
187 Howard Gray <mvsensor@matrix-vision.de> 187 Howard Gray <mvsensor@matrix-vision.de>
188 188
189 MVS1 MPC823 189 MVS1 MPC823
190 190
191 Joe Hamman <joe.hamman@embeddedspecialties.com> 191 Joe Hamman <joe.hamman@embeddedspecialties.com>
192 192
193 sbc8548 MPC8548 193 sbc8548 MPC8548
194 sbc8641d MPC8641D 194 sbc8641d MPC8641D
195 195
196 Klaus Heydeck <heydeck@kieback-peter.de> 196 Klaus Heydeck <heydeck@kieback-peter.de>
197 197
198 KUP4K MPC855 198 KUP4K MPC855
199 KUP4X MPC859 199 KUP4X MPC859
200 200
201 Murray Jensen <Murray.Jensen@csiro.au> 201 Murray Jensen <Murray.Jensen@csiro.au>
202 202
203 cogent_mpc8xx MPC8xx 203 cogent_mpc8xx MPC8xx
204 204
205 cogent_mpc8260 MPC8260 205 cogent_mpc8260 MPC8260
206 hymod MPC8260 206 hymod MPC8260
207 207
208 Larry Johnson <lrj@acm.org> 208 Larry Johnson <lrj@acm.org>
209 209
210 korat PPC440EPx 210 korat PPC440EPx
211 211
212 Brad Kemp <Brad.Kemp@seranoa.com> 212 Brad Kemp <Brad.Kemp@seranoa.com>
213 213
214 ppmc8260 MPC8260 214 ppmc8260 MPC8260
215 215
216 Sangmoon Kim <dogoil@etinsys.com> 216 Sangmoon Kim <dogoil@etinsys.com>
217 217
218 debris MPC8245 218 debris MPC8245
219 KVME080 MPC8245 219 KVME080 MPC8245
220 220
221 Thomas Lange <thomas@corelatus.se> 221 Thomas Lange <thomas@corelatus.se>
222 222
223 GTH MPC860 223 GTH MPC860
224 224
225 Robert Lazarski <robertlazarski@gmail.com> 225 Robert Lazarski <robertlazarski@gmail.com>
226 226
227 ATUM8548 MPC8548 227 ATUM8548 MPC8548
228 228
229 The LEOX team <team@leox.org> 229 The LEOX team <team@leox.org>
230 230
231 ELPT860 MPC860T 231 ELPT860 MPC860T
232 232
233 Dave Liu <daveliu@freescale.com> 233 Dave Liu <daveliu@freescale.com>
234 234
235 MPC8315ERDB MPC8315
235 MPC832XEMDS MPC832x 236 MPC832XEMDS MPC832x
236 MPC8360EMDS MPC8360 237 MPC8360EMDS MPC8360
237 MPC837XEMDS MPC837x 238 MPC837XEMDS MPC837x
238 239
239 Nye Liu <nyet@zumanetworks.com> 240 Nye Liu <nyet@zumanetworks.com>
240 241
241 ZUMA MPC7xx_74xx 242 ZUMA MPC7xx_74xx
242 243
243 Jon Loeliger <jdl@freescale.com> 244 Jon Loeliger <jdl@freescale.com>
244 245
245 MPC8540ADS MPC8540 246 MPC8540ADS MPC8540
246 MPC8560ADS MPC8560 247 MPC8560ADS MPC8560
247 MPC8541CDS MPC8541 248 MPC8541CDS MPC8541
248 MPC8555CDS MPC8555 249 MPC8555CDS MPC8555
249 250
250 MPC8641HPCN MPC8641D 251 MPC8641HPCN MPC8641D
251 252
252 Dan Malek <dan@embeddedalley.com> 253 Dan Malek <dan@embeddedalley.com>
253 254
254 stxgp3 MPC85xx 255 stxgp3 MPC85xx
255 stxssa MPC85xx 256 stxssa MPC85xx
256 stxxtc MPC8xx 257 stxxtc MPC8xx
257 258
258 Eran Man <eran@nbase.co.il> 259 Eran Man <eran@nbase.co.il>
259 260
260 EVB64260_750CX MPC750CX 261 EVB64260_750CX MPC750CX
261 262
262 Andrea "llandre" Marson <andrea.marson@dave-tech.it> 263 Andrea "llandre" Marson <andrea.marson@dave-tech.it>
263 264
264 PPChameleonEVB PPC405EP 265 PPChameleonEVB PPC405EP
265 266
266 Reinhard Meyer <r.meyer@emk-elektronik.de> 267 Reinhard Meyer <r.meyer@emk-elektronik.de>
267 268
268 TOP860 MPC860T 269 TOP860 MPC860T
269 TOP5200 MPC5200 270 TOP5200 MPC5200
270 271
271 Tolunay Orkun <torkun@nextio.com> 272 Tolunay Orkun <torkun@nextio.com>
272 273
273 csb272 PPC405GP 274 csb272 PPC405GP
274 csb472 PPC405GP 275 csb472 PPC405GP
275 276
276 John Otken <jotken@softadvances.com> 277 John Otken <jotken@softadvances.com>
277 278
278 luan PPC440SP 279 luan PPC440SP
279 taihu PPC405EP 280 taihu PPC405EP
280 281
281 Keith Outwater <Keith_Outwater@mvis.com> 282 Keith Outwater <Keith_Outwater@mvis.com>
282 283
283 GEN860T MPC860T 284 GEN860T MPC860T
284 GEN860T_SC MPC860T 285 GEN860T_SC MPC860T
285 286
286 Frank Panno <fpanno@delphintech.com> 287 Frank Panno <fpanno@delphintech.com>
287 288
288 ep8260 MPC8260 289 ep8260 MPC8260
289 290
290 Denis Peter <d.peter@mpl.ch> 291 Denis Peter <d.peter@mpl.ch>
291 292
292 MIP405 PPC4xx 293 MIP405 PPC4xx
293 PIP405 PPC4xx 294 PIP405 PPC4xx
294 295
295 Kim Phillips <kim.phillips@freescale.com> 296 Kim Phillips <kim.phillips@freescale.com>
296 297
297 MPC8349EMDS MPC8349 298 MPC8349EMDS MPC8349
298 299
299 Daniel Poirot <dan.poirot@windriver.com> 300 Daniel Poirot <dan.poirot@windriver.com>
300 301
301 sbc8240 MPC8240 302 sbc8240 MPC8240
302 sbc405 PPC405GP 303 sbc405 PPC405GP
303 304
304 Stefan Roese <sr@denx.de> 305 Stefan Roese <sr@denx.de>
305 306
306 P3M7448 MPC7448 307 P3M7448 MPC7448
307 308
308 uc100 MPC857 309 uc100 MPC857
309 310
310 TQM85xx MPC8540/8541/8555/8560 311 TQM85xx MPC8540/8541/8555/8560
311 312
312 acadia PPC405EZ 313 acadia PPC405EZ
313 alpr PPC440GX 314 alpr PPC440GX
314 bamboo PPC440EP 315 bamboo PPC440EP
315 bunbinga PPC405EP 316 bunbinga PPC405EP
316 ebony PPC440GP 317 ebony PPC440GP
317 haleakala PPC405EXr 318 haleakala PPC405EXr
318 katmai PPC440SPe 319 katmai PPC440SPe
319 kilauea PPC405EX 320 kilauea PPC405EX
320 lwmon5 PPC440EPx 321 lwmon5 PPC440EPx
321 makalu PPC405EX 322 makalu PPC405EX
322 ocotea PPC440GX 323 ocotea PPC440GX
323 p3p440 PPC440GP 324 p3p440 PPC440GP
324 pcs440ep PPC440EP 325 pcs440ep PPC440EP
325 rainier PPC440GRx 326 rainier PPC440GRx
326 sequoia PPC440EPx 327 sequoia PPC440EPx
327 sycamore PPC405GPr 328 sycamore PPC405GPr
328 taishan PPC440GX 329 taishan PPC440GX
329 walnut PPC405GP 330 walnut PPC405GP
330 yellowstone PPC440GR 331 yellowstone PPC440GR
331 yosemite PPC440EP 332 yosemite PPC440EP
332 zeus PPC405EP 333 zeus PPC405EP
333 334
334 P3M750 PPC750FX/GX/GL 335 P3M750 PPC750FX/GX/GL
335 336
336 Yusdi Santoso <yusdi_santoso@adaptec.com> 337 Yusdi Santoso <yusdi_santoso@adaptec.com>
337 338
338 HIDDEN_DRAGON MPC8241/MPC8245 339 HIDDEN_DRAGON MPC8241/MPC8245
339 340
340 Travis Sawyer (travis.sawyer@sandburst.com> 341 Travis Sawyer (travis.sawyer@sandburst.com>
341 342
342 KAREF PPC440GX 343 KAREF PPC440GX
343 METROBOX PPC440GX 344 METROBOX PPC440GX
344 XPEDITE1K PPC440GX 345 XPEDITE1K PPC440GX
345 346
346 Heiko Schocher <hs@denx.de> 347 Heiko Schocher <hs@denx.de>
347 348
348 ids8247 MPC8272 349 ids8247 MPC8272
349 jupiter MPC5200 350 jupiter MPC5200
350 mgcoge MPC8247 351 mgcoge MPC8247
351 mgsuvd MPC852 352 mgsuvd MPC852
352 municse MPC5200 353 municse MPC5200
353 sc3 PPC405GP 354 sc3 PPC405GP
354 uc101 MPC5200 355 uc101 MPC5200
355 356
356 357
357 Peter De Schrijver <p2@mind.be> 358 Peter De Schrijver <p2@mind.be>
358 359
359 ML2 PPC4xx 360 ML2 PPC4xx
360 361
361 Timur Tabi <timur@freescale.com> 362 Timur Tabi <timur@freescale.com>
362 363
363 MPC8349E-mITX MPC8349 364 MPC8349E-mITX MPC8349
364 MPC8349E-mITX-GP MPC8349 365 MPC8349E-mITX-GP MPC8349
365 366
366 Erik Theisen <etheisen@mindspring.com> 367 Erik Theisen <etheisen@mindspring.com>
367 368
368 W7OLMC PPC4xx 369 W7OLMC PPC4xx
369 W7OLMG PPC4xx 370 W7OLMG PPC4xx
370 371
371 Jim Thompson <jim@musenki.com> 372 Jim Thompson <jim@musenki.com>
372 373
373 MUSENKI MPC8245/8241 374 MUSENKI MPC8245/8241
374 Sandpoint8245 MPC8245 375 Sandpoint8245 MPC8245
375 376
376 Rune Torgersen <runet@innovsys.com> 377 Rune Torgersen <runet@innovsys.com>
377 378
378 MPC8266ADS MPC8266 379 MPC8266ADS MPC8266
379 380
380 381
381 David Updegraff <dave@cray.com> 382 David Updegraff <dave@cray.com>
382 383
383 CRAYL1 PPC4xx 384 CRAYL1 PPC4xx
384 385
385 Anton Vorontsov <avorontsov@ru.mvista.com> 386 Anton Vorontsov <avorontsov@ru.mvista.com>
386 387
387 MPC8360ERDK MPC8360 388 MPC8360ERDK MPC8360
388 389
389 Josef Wagner <Wagner@Microsys.de> 390 Josef Wagner <Wagner@Microsys.de>
390 391
391 CPC45 MPC8245 392 CPC45 MPC8245
392 PM520 MPC5200 393 PM520 MPC5200
393 394
394 Stephen Williams <steve@icarus.com> 395 Stephen Williams <steve@icarus.com>
395 396
396 JSE PPC405GPr 397 JSE PPC405GPr
397 398
398 John Zhan <zhanz@sinovee.com> 399 John Zhan <zhanz@sinovee.com>
399 400
400 svm_sc8xx MPC8xx 401 svm_sc8xx MPC8xx
401 402
402 ------------------------------------------------------------------------- 403 -------------------------------------------------------------------------
403 404
404 Unknown / orphaned boards: 405 Unknown / orphaned boards:
405 406
406 ADS860 MPC8xx 407 ADS860 MPC8xx
407 FADS823 MPC8xx 408 FADS823 MPC8xx
408 FADS850SAR MPC8xx 409 FADS850SAR MPC8xx
409 FADS860T MPC8xx 410 FADS860T MPC8xx
410 GENIETV MPC8xx 411 GENIETV MPC8xx
411 IAD210 MPC8xx 412 IAD210 MPC8xx
412 MBX MPC8xx 413 MBX MPC8xx
413 MBX860T MPC8xx 414 MBX860T MPC8xx
414 NX823 MPC8xx 415 NX823 MPC8xx
415 RPXClassic MPC8xx 416 RPXClassic MPC8xx
416 RPXlite MPC8xx 417 RPXlite MPC8xx
417 418
418 ERIC PPC4xx 419 ERIC PPC4xx
419 420
420 MOUSSE MPC824x 421 MOUSSE MPC824x
421 422
422 RPXsuper MPC8260 423 RPXsuper MPC8260
423 rsdproto MPC8260 424 rsdproto MPC8260
424 425
425 EVB64260 MPC7xx_74xx 426 EVB64260 MPC7xx_74xx
426 427
427 428
428 ######################################################################### 429 #########################################################################
429 # ARM Systems: # 430 # ARM Systems: #
430 # # 431 # #
431 # Maintainer Name, Email Address # 432 # Maintainer Name, Email Address #
432 # Board CPU # 433 # Board CPU #
433 ######################################################################### 434 #########################################################################
434 435
435 Rowel Atienza <rowel@diwalabs.com> 436 Rowel Atienza <rowel@diwalabs.com>
436 437
437 armadillo ARM720T 438 armadillo ARM720T
438 439
439 Rishi Bhattacharya <rishi@ti.com> 440 Rishi Bhattacharya <rishi@ti.com>
440 441
441 omap5912osk ARM926EJS 442 omap5912osk ARM926EJS
442 443
443 Cliff Brake <cliff.brake@gmail.com> 444 Cliff Brake <cliff.brake@gmail.com>
444 445
445 pxa255_idp xscale 446 pxa255_idp xscale
446 447
447 Rick Bronson <rick@efn.org> 448 Rick Bronson <rick@efn.org>
448 449
449 AT91RM9200DK at91rm9200 450 AT91RM9200DK at91rm9200
450 451
451 George G. Davis <gdavis@mvista.com> 452 George G. Davis <gdavis@mvista.com>
452 453
453 assabet SA1100 454 assabet SA1100
454 gcplus SA1100 455 gcplus SA1100
455 456
456 Thomas Elste <info@elste.org> 457 Thomas Elste <info@elste.org>
457 458
458 modnet50 ARM720T (NET+50) 459 modnet50 ARM720T (NET+50)
459 460
460 Peter Figuli <peposh@etc.sk> 461 Peter Figuli <peposh@etc.sk>
461 462
462 wepep250 xscale 463 wepep250 xscale
463 464
464 Marius Grรถger <mag@sysgo.de> 465 Marius Grรถger <mag@sysgo.de>
465 466
466 impa7 ARM720T (EP7211) 467 impa7 ARM720T (EP7211)
467 ep7312 ARM720T (EP7312) 468 ep7312 ARM720T (EP7312)
468 469
469 Kshitij Gupta <kshitij@ti.com> 470 Kshitij Gupta <kshitij@ti.com>
470 471
471 omap1510inn ARM925T 472 omap1510inn ARM925T
472 omap1610inn ARM926EJS 473 omap1610inn ARM926EJS
473 474
474 Kyle Harris <kharris@nexus-tech.net> 475 Kyle Harris <kharris@nexus-tech.net>
475 476
476 lubbock xscale 477 lubbock xscale
477 cradle xscale 478 cradle xscale
478 ixdp425 xscale 479 ixdp425 xscale
479 480
480 Gary Jennejohn <gj@denx.de> 481 Gary Jennejohn <gj@denx.de>
481 482
482 smdk2400 ARM920T 483 smdk2400 ARM920T
483 trab ARM920T 484 trab ARM920T
484 485
485 Konstantin Kletschke <kletschke@synertronixx.de> 486 Konstantin Kletschke <kletschke@synertronixx.de>
486 scb9328 ARM920T 487 scb9328 ARM920T
487 488
488 Nishant Kamat <nskamat@ti.com> 489 Nishant Kamat <nskamat@ti.com>
489 490
490 omap1610h2 ARM926EJS 491 omap1610h2 ARM926EJS
491 492
492 Sergey Kubushyn <ksi@koi8.net> 493 Sergey Kubushyn <ksi@koi8.net>
493 494
494 DV-EVM ARM926EJS 495 DV-EVM ARM926EJS
495 SONATA ARM926EJS 496 SONATA ARM926EJS
496 SCHMOOGIE ARM926EJS 497 SCHMOOGIE ARM926EJS
497 498
498 Prakash Kumar <prakash@embedx.com> 499 Prakash Kumar <prakash@embedx.com>
499 500
500 cerf250 xscale 501 cerf250 xscale
501 502
502 David Mรผller <d.mueller@elsoft.ch> 503 David Mรผller <d.mueller@elsoft.ch>
503 504
504 smdk2410 ARM920T 505 smdk2410 ARM920T
505 VCMA9 ARM920T 506 VCMA9 ARM920T
506 507
507 Rolf Offermanns <rof@sysgo.de> 508 Rolf Offermanns <rof@sysgo.de>
508 509
509 shannon SA1100 510 shannon SA1100
510 511
511 Peter Pearse <peter.pearse@arm.com> 512 Peter Pearse <peter.pearse@arm.com>
512 integratorcp All current ARM supplied & 513 integratorcp All current ARM supplied &
513 supported core modules 514 supported core modules
514 -see http://www.arm.com 515 -see http://www.arm.com
515 /products/DevTools 516 /products/DevTools
516 /Hardware_Platforms.html 517 /Hardware_Platforms.html
517 versatile ARM926EJ-S 518 versatile ARM926EJ-S
518 versatile ARM926EJ-S 519 versatile ARM926EJ-S
519 520
520 Dave Peverley <dpeverley@mpc-data.co.uk> 521 Dave Peverley <dpeverley@mpc-data.co.uk>
521 522
522 omap730p2 ARM926EJS 523 omap730p2 ARM926EJS
523 524
524 Stefan Roese <sr@denx.de> 525 Stefan Roese <sr@denx.de>
525 526
526 ixdpg425 xscale 527 ixdpg425 xscale
527 pdnb3 xscale 528 pdnb3 xscale
528 scpu xscale 529 scpu xscale
529 530
530 Robert Schwebel <r.schwebel@pengutronix.de> 531 Robert Schwebel <r.schwebel@pengutronix.de>
531 532
532 csb226 xscale 533 csb226 xscale
533 innokom xscale 534 innokom xscale
534 535
535 Andrea Scian <andrea.scian@dave-tech.it> 536 Andrea Scian <andrea.scian@dave-tech.it>
536 537
537 B2 ARM7TDMI (S3C44B0X) 538 B2 ARM7TDMI (S3C44B0X)
538 539
539 Greg Ungerer <greg.ungerer@opengear.com> 540 Greg Ungerer <greg.ungerer@opengear.com>
540 541
541 cm4008 ks8695p 542 cm4008 ks8695p
542 cm4116 ks8695p 543 cm4116 ks8695p
543 cm4148 ks8695p 544 cm4148 ks8695p
544 545
545 Richard Woodruff <r-woodruff2@ti.com> 546 Richard Woodruff <r-woodruff2@ti.com>
546 547
547 omap2420h4 ARM1136EJS 548 omap2420h4 ARM1136EJS
548 549
549 Alex Zรผpke <azu@sysgo.de> 550 Alex Zรผpke <azu@sysgo.de>
550 551
551 lart SA1100 552 lart SA1100
552 dnp1110 SA1110 553 dnp1110 SA1110
553 554
554 ######################################################################### 555 #########################################################################
555 # x86 Systems: # 556 # x86 Systems: #
556 # # 557 # #
557 # Maintainer Name, Email Address # 558 # Maintainer Name, Email Address #
558 # Board CPU # 559 # Board CPU #
559 ######################################################################### 560 #########################################################################
560 561
561 Daniel Engstrรถm <daniel@omicron.se> 562 Daniel Engstrรถm <daniel@omicron.se>
562 563
563 sc520_cdp x86 564 sc520_cdp x86
564 565
565 ######################################################################### 566 #########################################################################
566 # MIPS Systems: # 567 # MIPS Systems: #
567 # # 568 # #
568 # Maintainer Name, Email Address # 569 # Maintainer Name, Email Address #
569 # Board CPU # 570 # Board CPU #
570 ######################################################################### 571 #########################################################################
571 572
572 Wolfgang Denk <wd@denx.de> 573 Wolfgang Denk <wd@denx.de>
573 574
574 incaip MIPS32 4Kc 575 incaip MIPS32 4Kc
575 purple MIPS64 5Kc 576 purple MIPS64 5Kc
576 577
577 Thomas Lange <thomas@corelatus.se> 578 Thomas Lange <thomas@corelatus.se>
578 dbau1x00 MIPS32 Au1000 579 dbau1x00 MIPS32 Au1000
579 gth2 MIPS32 Au1000 580 gth2 MIPS32 Au1000
580 581
581 ######################################################################### 582 #########################################################################
582 # Nios-32 Systems: # 583 # Nios-32 Systems: #
583 # # 584 # #
584 # Maintainer Name, Email Address # 585 # Maintainer Name, Email Address #
585 # Board CPU # 586 # Board CPU #
586 ######################################################################### 587 #########################################################################
587 588
588 Stephan Linz <linz@li-pro.net> 589 Stephan Linz <linz@li-pro.net>
589 590
590 DK1S10 Nios-32 591 DK1S10 Nios-32
591 ADNPESC1 Nios-32 592 ADNPESC1 Nios-32
592 593
593 Scott McNutt <smcnutt@psyent.com> 594 Scott McNutt <smcnutt@psyent.com>
594 595
595 DK1C20 Nios-32 596 DK1C20 Nios-32
596 597
597 ######################################################################### 598 #########################################################################
598 # Nios-II Systems: # 599 # Nios-II Systems: #
599 # # 600 # #
600 # Maintainer Name, Email Address # 601 # Maintainer Name, Email Address #
601 # Board CPU # 602 # Board CPU #
602 ######################################################################### 603 #########################################################################
603 604
604 Scott McNutt <smcnutt@psyent.com> 605 Scott McNutt <smcnutt@psyent.com>
605 606
606 PCI5441 Nios-II 607 PCI5441 Nios-II
607 PK1C20 Nios-II 608 PK1C20 Nios-II
608 EP1C20 Nios-II 609 EP1C20 Nios-II
609 EP1S10 Nios-II 610 EP1S10 Nios-II
610 EP1S40 Nios-II 611 EP1S40 Nios-II
611 612
612 ######################################################################### 613 #########################################################################
613 # MicroBlaze Systems: # 614 # MicroBlaze Systems: #
614 # # 615 # #
615 # Maintainer Name, Email Address # 616 # Maintainer Name, Email Address #
616 # Board CPU # 617 # Board CPU #
617 ######################################################################### 618 #########################################################################
618 619
619 Yasushi Shoji <yashi@atmark-techno.com> 620 Yasushi Shoji <yashi@atmark-techno.com>
620 621
621 SUZAKU MicroBlaze 622 SUZAKU MicroBlaze
622 623
623 Michal Simek <monstr@monstr.eu> 624 Michal Simek <monstr@monstr.eu>
624 625
625 ML401 MicroBlaze 626 ML401 MicroBlaze
626 XUPV2P MicroBlaze 627 XUPV2P MicroBlaze
627 628
628 ######################################################################### 629 #########################################################################
629 # Coldfire Systems: # 630 # Coldfire Systems: #
630 # # 631 # #
631 # Maintainer Name, Email Address # 632 # Maintainer Name, Email Address #
632 # Board CPU # 633 # Board CPU #
633 ######################################################################### 634 #########################################################################
634 635
635 Matthias Fuchs <matthias.fuchs@esd-electronics.com> 636 Matthias Fuchs <matthias.fuchs@esd-electronics.com>
636 637
637 TASREG MCF5249 638 TASREG MCF5249
638 639
639 Zachary P. Landau <zachary.landau@labxtechnologies.com> 640 Zachary P. Landau <zachary.landau@labxtechnologies.com>
640 641
641 r5200 mcf52x2 642 r5200 mcf52x2
642 643
643 TsiChung Liew <Tsi-Chung.Liew@freescale.com> 644 TsiChung Liew <Tsi-Chung.Liew@freescale.com>
644 645
645 M5235EVB mcf52x2 646 M5235EVB mcf52x2
646 M5329EVB mcf532x 647 M5329EVB mcf532x
647 M54455EVB mcf5445x 648 M54455EVB mcf5445x
648 649
649 Hayden Fraser <Hayden.Fraser@freescale.com> 650 Hayden Fraser <Hayden.Fraser@freescale.com>
650 651
651 M5253EVBE mcf52x2 652 M5253EVBE mcf52x2
652 653
653 ######################################################################### 654 #########################################################################
654 # AVR32 Systems: # 655 # AVR32 Systems: #
655 # # 656 # #
656 # Maintainer Name, Email Address # 657 # Maintainer Name, Email Address #
657 # Board CPU # 658 # Board CPU #
658 ######################################################################### 659 #########################################################################
659 660
660 Haavard Skinnemoen <hskinnemoen@atmel.com> 661 Haavard Skinnemoen <hskinnemoen@atmel.com>
661 662
662 ATSTK1000 AT32AP7xxx 663 ATSTK1000 AT32AP7xxx
663 ATSTK1002 AT32AP7000 664 ATSTK1002 AT32AP7000
664 ATSTK1003 AT32AP7001 665 ATSTK1003 AT32AP7001
665 ATSTK1004 AT32AP7002 666 ATSTK1004 AT32AP7002
666 667
667 ######################################################################### 668 #########################################################################
668 # SuperH Systems: # 669 # SuperH Systems: #
669 # # 670 # #
670 # Maintainer Name, Email Address # 671 # Maintainer Name, Email Address #
671 # Board CPU # 672 # Board CPU #
672 ######################################################################### 673 #########################################################################
673 674
674 Nobuhiro Iwmaatsu <iwamatsu@nigauri.org> 675 Nobuhiro Iwmaatsu <iwamatsu@nigauri.org>
675 676
676 MS7750SE SH7750 677 MS7750SE SH7750
677 MS7722SE SH7722 678 MS7722SE SH7722
678 679
679 ######################################################################### 680 #########################################################################
680 # End of MAINTAINERS list # 681 # End of MAINTAINERS list #
681 ######################################################################### 682 #########################################################################
682 683
1 #!/bin/sh 1 #!/bin/sh
2 2
3 : ${JOBS:=} 3 : ${JOBS:=}
4 4
5 if [ "${CROSS_COMPILE}" ] ; then 5 if [ "${CROSS_COMPILE}" ] ; then
6 MAKE="make CROSS_COMPILE=${CROSS_COMPILE}" 6 MAKE="make CROSS_COMPILE=${CROSS_COMPILE}"
7 else 7 else
8 MAKE=make 8 MAKE=make
9 fi 9 fi
10 10
11 if [ "${MAKEALL_LOGDIR}" ] ; then 11 if [ "${MAKEALL_LOGDIR}" ] ; then
12 LOG_DIR=${MAKEALL_LOGDIR} 12 LOG_DIR=${MAKEALL_LOGDIR}
13 else 13 else
14 LOG_DIR="LOG" 14 LOG_DIR="LOG"
15 fi 15 fi
16 16
17 if [ ! "${BUILD_DIR}" ] ; then 17 if [ ! "${BUILD_DIR}" ] ; then
18 BUILD_DIR="." 18 BUILD_DIR="."
19 fi 19 fi
20 20
21 [ -d ${LOG_DIR} ] || mkdir ${LOG_DIR} || exit 1 21 [ -d ${LOG_DIR} ] || mkdir ${LOG_DIR} || exit 1
22 22
23 LIST="" 23 LIST=""
24 24
25 ######################################################################### 25 #########################################################################
26 ## MPC5xx Systems 26 ## MPC5xx Systems
27 ######################################################################### 27 #########################################################################
28 28
29 LIST_5xx=" \ 29 LIST_5xx=" \
30 cmi_mpc5xx \ 30 cmi_mpc5xx \
31 " 31 "
32 32
33 ######################################################################### 33 #########################################################################
34 ## MPC5xxx Systems 34 ## MPC5xxx Systems
35 ######################################################################### 35 #########################################################################
36 36
37 LIST_5xxx=" \ 37 LIST_5xxx=" \
38 BC3450 \ 38 BC3450 \
39 cm5200 \ 39 cm5200 \
40 cpci5200 \ 40 cpci5200 \
41 EVAL5200 \ 41 EVAL5200 \
42 fo300 \ 42 fo300 \
43 icecube_5100 \ 43 icecube_5100 \
44 icecube_5200 \ 44 icecube_5200 \
45 lite5200b \ 45 lite5200b \
46 mcc200 \ 46 mcc200 \
47 mecp5200 \ 47 mecp5200 \
48 motionpro \ 48 motionpro \
49 munices \ 49 munices \
50 o2dnt \ 50 o2dnt \
51 pf5200 \ 51 pf5200 \
52 PM520 \ 52 PM520 \
53 TB5200 \ 53 TB5200 \
54 Total5100 \ 54 Total5100 \
55 Total5200 \ 55 Total5200 \
56 Total5200_Rev2 \ 56 Total5200_Rev2 \
57 TQM5200 \ 57 TQM5200 \
58 TQM5200_B \ 58 TQM5200_B \
59 TQM5200S \ 59 TQM5200S \
60 v38b \ 60 v38b \
61 " 61 "
62 62
63 ######################################################################### 63 #########################################################################
64 ## MPC512x Systems 64 ## MPC512x Systems
65 ######################################################################### 65 #########################################################################
66 66
67 LIST_512x=" \ 67 LIST_512x=" \
68 ads5121 \ 68 ads5121 \
69 " 69 "
70 70
71 ######################################################################### 71 #########################################################################
72 ## MPC8xx Systems 72 ## MPC8xx Systems
73 ######################################################################### 73 #########################################################################
74 LIST_8xx=" \ 74 LIST_8xx=" \
75 Adder87x \ 75 Adder87x \
76 AdderII \ 76 AdderII \
77 ADS860 \ 77 ADS860 \
78 AMX860 \ 78 AMX860 \
79 c2mon \ 79 c2mon \
80 CCM \ 80 CCM \
81 cogent_mpc8xx \ 81 cogent_mpc8xx \
82 ELPT860 \ 82 ELPT860 \
83 EP88x \ 83 EP88x \
84 ESTEEM192E \ 84 ESTEEM192E \
85 ETX094 \ 85 ETX094 \
86 FADS823 \ 86 FADS823 \
87 FADS850SAR \ 87 FADS850SAR \
88 FADS860T \ 88 FADS860T \
89 FLAGADM \ 89 FLAGADM \
90 FPS850L \ 90 FPS850L \
91 GEN860T \ 91 GEN860T \
92 GEN860T_SC \ 92 GEN860T_SC \
93 GENIETV \ 93 GENIETV \
94 GTH \ 94 GTH \
95 hermes \ 95 hermes \
96 IAD210 \ 96 IAD210 \
97 ICU862_100MHz \ 97 ICU862_100MHz \
98 IP860 \ 98 IP860 \
99 IVML24 \ 99 IVML24 \
100 IVML24_128 \ 100 IVML24_128 \
101 IVML24_256 \ 101 IVML24_256 \
102 IVMS8 \ 102 IVMS8 \
103 IVMS8_128 \ 103 IVMS8_128 \
104 IVMS8_256 \ 104 IVMS8_256 \
105 KUP4K \ 105 KUP4K \
106 KUP4X \ 106 KUP4X \
107 LANTEC \ 107 LANTEC \
108 lwmon \ 108 lwmon \
109 MBX \ 109 MBX \
110 MBX860T \ 110 MBX860T \
111 mgsuvd \ 111 mgsuvd \
112 MHPC \ 112 MHPC \
113 MPC86xADS \ 113 MPC86xADS \
114 MPC885ADS \ 114 MPC885ADS \
115 MVS1 \ 115 MVS1 \
116 NETPHONE \ 116 NETPHONE \
117 NETTA \ 117 NETTA \
118 NETTA2 \ 118 NETTA2 \
119 NETTA_ISDN \ 119 NETTA_ISDN \
120 NETVIA \ 120 NETVIA \
121 NETVIA_V2 \ 121 NETVIA_V2 \
122 NX823 \ 122 NX823 \
123 pcu_e \ 123 pcu_e \
124 QS823 \ 124 QS823 \
125 QS850 \ 125 QS850 \
126 QS860T \ 126 QS860T \
127 quantum \ 127 quantum \
128 R360MPI \ 128 R360MPI \
129 RBC823 \ 129 RBC823 \
130 rmu \ 130 rmu \
131 RPXClassic \ 131 RPXClassic \
132 RPXlite \ 132 RPXlite \
133 RPXlite_DW \ 133 RPXlite_DW \
134 RRvision \ 134 RRvision \
135 SM850 \ 135 SM850 \
136 spc1920 \ 136 spc1920 \
137 SPD823TS \ 137 SPD823TS \
138 svm_sc8xx \ 138 svm_sc8xx \
139 SXNI855T \ 139 SXNI855T \
140 TK885D \ 140 TK885D \
141 TOP860 \ 141 TOP860 \
142 TQM823L \ 142 TQM823L \
143 TQM823L_LCD \ 143 TQM823L_LCD \
144 TQM850L \ 144 TQM850L \
145 TQM855L \ 145 TQM855L \
146 TQM860L \ 146 TQM860L \
147 TQM885D \ 147 TQM885D \
148 uc100 \ 148 uc100 \
149 v37 \ 149 v37 \
150 " 150 "
151 151
152 ######################################################################### 152 #########################################################################
153 ## PPC4xx Systems 153 ## PPC4xx Systems
154 ######################################################################### 154 #########################################################################
155 155
156 LIST_4xx=" \ 156 LIST_4xx=" \
157 acadia \ 157 acadia \
158 acadia_nand \ 158 acadia_nand \
159 ADCIOP \ 159 ADCIOP \
160 alpr \ 160 alpr \
161 AP1000 \ 161 AP1000 \
162 AR405 \ 162 AR405 \
163 ASH405 \ 163 ASH405 \
164 bamboo \ 164 bamboo \
165 bamboo_nand \ 165 bamboo_nand \
166 bubinga \ 166 bubinga \
167 CANBT \ 167 CANBT \
168 CMS700 \ 168 CMS700 \
169 CPCI2DP \ 169 CPCI2DP \
170 CPCI405 \ 170 CPCI405 \
171 CPCI4052 \ 171 CPCI4052 \
172 CPCI405AB \ 172 CPCI405AB \
173 CPCI405DT \ 173 CPCI405DT \
174 CPCIISER4 \ 174 CPCIISER4 \
175 CRAYL1 \ 175 CRAYL1 \
176 csb272 \ 176 csb272 \
177 csb472 \ 177 csb472 \
178 DASA_SIM \ 178 DASA_SIM \
179 DP405 \ 179 DP405 \
180 DU405 \ 180 DU405 \
181 ebony \ 181 ebony \
182 ERIC \ 182 ERIC \
183 EXBITGEN \ 183 EXBITGEN \
184 G2000 \ 184 G2000 \
185 haleakala \ 185 haleakala \
186 haleakala_nand \ 186 haleakala_nand \
187 hcu4 \ 187 hcu4 \
188 hcu5 \ 188 hcu5 \
189 HH405 \ 189 HH405 \
190 HUB405 \ 190 HUB405 \
191 JSE \ 191 JSE \
192 KAREF \ 192 KAREF \
193 katmai \ 193 katmai \
194 kilauea \ 194 kilauea \
195 kilauea_nand \ 195 kilauea_nand \
196 korat \ 196 korat \
197 luan \ 197 luan \
198 lwmon5 \ 198 lwmon5 \
199 makalu \ 199 makalu \
200 METROBOX \ 200 METROBOX \
201 MIP405 \ 201 MIP405 \
202 MIP405T \ 202 MIP405T \
203 ML2 \ 203 ML2 \
204 ml300 \ 204 ml300 \
205 ocotea \ 205 ocotea \
206 OCRTC \ 206 OCRTC \
207 ORSG \ 207 ORSG \
208 p3p440 \ 208 p3p440 \
209 PCI405 \ 209 PCI405 \
210 pcs440ep \ 210 pcs440ep \
211 PIP405 \ 211 PIP405 \
212 PLU405 \ 212 PLU405 \
213 PMC405 \ 213 PMC405 \
214 PMC440 \ 214 PMC440 \
215 PPChameleonEVB \ 215 PPChameleonEVB \
216 rainier \ 216 rainier \
217 sbc405 \ 217 sbc405 \
218 sc3 \ 218 sc3 \
219 sequoia \ 219 sequoia \
220 sequoia_nand \ 220 sequoia_nand \
221 taihu \ 221 taihu \
222 taishan \ 222 taishan \
223 VOH405 \ 223 VOH405 \
224 VOM405 \ 224 VOM405 \
225 W7OLMC \ 225 W7OLMC \
226 W7OLMG \ 226 W7OLMG \
227 walnut \ 227 walnut \
228 WUH405 \ 228 WUH405 \
229 XPEDITE1K \ 229 XPEDITE1K \
230 yellowstone \ 230 yellowstone \
231 yosemite \ 231 yosemite \
232 yucca \ 232 yucca \
233 zeus \ 233 zeus \
234 " 234 "
235 235
236 ######################################################################### 236 #########################################################################
237 ## MPC8220 Systems 237 ## MPC8220 Systems
238 ######################################################################### 238 #########################################################################
239 239
240 LIST_8220=" \ 240 LIST_8220=" \
241 Alaska8220 \ 241 Alaska8220 \
242 Yukon8220 \ 242 Yukon8220 \
243 " 243 "
244 244
245 ######################################################################### 245 #########################################################################
246 ## MPC824x Systems 246 ## MPC824x Systems
247 ######################################################################### 247 #########################################################################
248 248
249 LIST_824x=" \ 249 LIST_824x=" \
250 A3000 \ 250 A3000 \
251 barco \ 251 barco \
252 BMW \ 252 BMW \
253 CPC45 \ 253 CPC45 \
254 CU824 \ 254 CU824 \
255 debris \ 255 debris \
256 eXalion \ 256 eXalion \
257 HIDDEN_DRAGON \ 257 HIDDEN_DRAGON \
258 MOUSSE \ 258 MOUSSE \
259 MUSENKI \ 259 MUSENKI \
260 MVBLUE \ 260 MVBLUE \
261 OXC \ 261 OXC \
262 PN62 \ 262 PN62 \
263 Sandpoint8240 \ 263 Sandpoint8240 \
264 Sandpoint8245 \ 264 Sandpoint8245 \
265 sbc8240 \ 265 sbc8240 \
266 SL8245 \ 266 SL8245 \
267 utx8245 \ 267 utx8245 \
268 " 268 "
269 269
270 ######################################################################### 270 #########################################################################
271 ## MPC8260 Systems (includes 8250, 8255 etc.) 271 ## MPC8260 Systems (includes 8250, 8255 etc.)
272 ######################################################################### 272 #########################################################################
273 273
274 LIST_8260=" \ 274 LIST_8260=" \
275 atc \ 275 atc \
276 cogent_mpc8260 \ 276 cogent_mpc8260 \
277 CPU86 \ 277 CPU86 \
278 CPU87 \ 278 CPU87 \
279 ep8248 \ 279 ep8248 \
280 ep8260 \ 280 ep8260 \
281 ep82xxm \ 281 ep82xxm \
282 gw8260 \ 282 gw8260 \
283 hymod \ 283 hymod \
284 IPHASE4539 \ 284 IPHASE4539 \
285 ISPAN \ 285 ISPAN \
286 mgcoge \ 286 mgcoge \
287 MPC8260ADS \ 287 MPC8260ADS \
288 MPC8266ADS \ 288 MPC8266ADS \
289 MPC8272ADS \ 289 MPC8272ADS \
290 PM826 \ 290 PM826 \
291 PM828 \ 291 PM828 \
292 ppmc8260 \ 292 ppmc8260 \
293 Rattler8248 \ 293 Rattler8248 \
294 RPXsuper \ 294 RPXsuper \
295 rsdproto \ 295 rsdproto \
296 sacsng \ 296 sacsng \
297 sbc8260 \ 297 sbc8260 \
298 SCM \ 298 SCM \
299 TQM8260_AC \ 299 TQM8260_AC \
300 TQM8260_AD \ 300 TQM8260_AD \
301 TQM8260_AE \ 301 TQM8260_AE \
302 ZPC1900 \ 302 ZPC1900 \
303 " 303 "
304 304
305 ######################################################################### 305 #########################################################################
306 ## MPC83xx Systems (includes 8349, etc.) 306 ## MPC83xx Systems (includes 8349, etc.)
307 ######################################################################### 307 #########################################################################
308 308
309 LIST_83xx=" \ 309 LIST_83xx=" \
310 MPC8313ERDB_33 \ 310 MPC8313ERDB_33 \
311 MPC8313ERDB_66 \ 311 MPC8313ERDB_66 \
312 MPC8315ERDB \
312 MPC8323ERDB \ 313 MPC8323ERDB \
313 MPC832XEMDS \ 314 MPC832XEMDS \
314 MPC832XEMDS_ATM \ 315 MPC832XEMDS_ATM \
315 MPC8349EMDS \ 316 MPC8349EMDS \
316 MPC8349ITX \ 317 MPC8349ITX \
317 MPC8349ITXGP \ 318 MPC8349ITXGP \
318 MPC8360EMDS \ 319 MPC8360EMDS \
319 MPC8360EMDS_ATM \ 320 MPC8360EMDS_ATM \
320 MPC8360ERDK_33 \ 321 MPC8360ERDK_33 \
321 MPC8360ERDK_66 \ 322 MPC8360ERDK_66 \
322 MPC837XEMDS \ 323 MPC837XEMDS \
323 sbc8349 \ 324 sbc8349 \
324 TQM834x \ 325 TQM834x \
325 " 326 "
326 327
327 328
328 ######################################################################### 329 #########################################################################
329 ## MPC85xx Systems (includes 8540, 8560 etc.) 330 ## MPC85xx Systems (includes 8540, 8560 etc.)
330 ######################################################################### 331 #########################################################################
331 332
332 LIST_85xx=" \ 333 LIST_85xx=" \
333 ATUM8548 \ 334 ATUM8548 \
334 MPC8540ADS \ 335 MPC8540ADS \
335 MPC8540EVAL \ 336 MPC8540EVAL \
336 MPC8541CDS \ 337 MPC8541CDS \
337 MPC8544DS \ 338 MPC8544DS \
338 MPC8548CDS \ 339 MPC8548CDS \
339 MPC8555CDS \ 340 MPC8555CDS \
340 MPC8560ADS \ 341 MPC8560ADS \
341 MPC8568MDS \ 342 MPC8568MDS \
342 PM854 \ 343 PM854 \
343 PM856 \ 344 PM856 \
344 sbc8540 \ 345 sbc8540 \
345 sbc8548 \ 346 sbc8548 \
346 sbc8560 \ 347 sbc8560 \
347 stxgp3 \ 348 stxgp3 \
348 stxssa \ 349 stxssa \
349 TQM8540 \ 350 TQM8540 \
350 TQM8541 \ 351 TQM8541 \
351 TQM8555 \ 352 TQM8555 \
352 TQM8560 \ 353 TQM8560 \
353 " 354 "
354 355
355 ######################################################################### 356 #########################################################################
356 ## MPC86xx Systems 357 ## MPC86xx Systems
357 ######################################################################### 358 #########################################################################
358 359
359 LIST_86xx=" \ 360 LIST_86xx=" \
360 MPC8610HPCD \ 361 MPC8610HPCD \
361 MPC8641HPCN \ 362 MPC8641HPCN \
362 sbc8641d \ 363 sbc8641d \
363 " 364 "
364 365
365 ######################################################################### 366 #########################################################################
366 ## 74xx/7xx Systems 367 ## 74xx/7xx Systems
367 ######################################################################### 368 #########################################################################
368 369
369 LIST_74xx=" \ 370 LIST_74xx=" \
370 DB64360 \ 371 DB64360 \
371 DB64460 \ 372 DB64460 \
372 EVB64260 \ 373 EVB64260 \
373 mpc7448hpc2 \ 374 mpc7448hpc2 \
374 P3G4 \ 375 P3G4 \
375 p3m7448 \ 376 p3m7448 \
376 PCIPPC2 \ 377 PCIPPC2 \
377 PCIPPC6 \ 378 PCIPPC6 \
378 ZUMA \ 379 ZUMA \
379 " 380 "
380 381
381 LIST_TSEC=" \ 382 LIST_TSEC=" \
382 ${LIST_85xx} \ 383 ${LIST_85xx} \
383 ${LIST_86xx} \ 384 ${LIST_86xx} \
384 ${LIST_83xx} \ 385 ${LIST_83xx} \
385 " 386 "
386 387
387 LIST_7xx=" \ 388 LIST_7xx=" \
388 BAB7xx \ 389 BAB7xx \
389 CPCI750 \ 390 CPCI750 \
390 ELPPC \ 391 ELPPC \
391 p3m750 \ 392 p3m750 \
392 ppmc7xx \ 393 ppmc7xx \
393 " 394 "
394 395
395 LIST_ppc=" \ 396 LIST_ppc=" \
396 ${LIST_5xx} \ 397 ${LIST_5xx} \
397 ${LIST_512x} \ 398 ${LIST_512x} \
398 ${LIST_5xxx} \ 399 ${LIST_5xxx} \
399 ${LIST_8xx} \ 400 ${LIST_8xx} \
400 ${LIST_8220} \ 401 ${LIST_8220} \
401 ${LIST_824x} \ 402 ${LIST_824x} \
402 ${LIST_8260} \ 403 ${LIST_8260} \
403 ${LIST_83xx} \ 404 ${LIST_83xx} \
404 ${LIST_85xx} \ 405 ${LIST_85xx} \
405 ${LIST_86xx} \ 406 ${LIST_86xx} \
406 ${LIST_4xx} \ 407 ${LIST_4xx} \
407 ${LIST_74xx} \ 408 ${LIST_74xx} \
408 ${LIST_7xx} \ 409 ${LIST_7xx} \
409 " 410 "
410 411
411 ######################################################################### 412 #########################################################################
412 ## StrongARM Systems 413 ## StrongARM Systems
413 ######################################################################### 414 #########################################################################
414 415
415 LIST_SA=" \ 416 LIST_SA=" \
416 assabet \ 417 assabet \
417 dnp1110 \ 418 dnp1110 \
418 gcplus \ 419 gcplus \
419 lart \ 420 lart \
420 shannon \ 421 shannon \
421 " 422 "
422 423
423 ######################################################################### 424 #########################################################################
424 ## ARM7 Systems 425 ## ARM7 Systems
425 ######################################################################### 426 #########################################################################
426 427
427 LIST_ARM7=" \ 428 LIST_ARM7=" \
428 ap7 \ 429 ap7 \
429 ap720t \ 430 ap720t \
430 armadillo \ 431 armadillo \
431 B2 \ 432 B2 \
432 ep7312 \ 433 ep7312 \
433 evb4510 \ 434 evb4510 \
434 impa7 \ 435 impa7 \
435 integratorap \ 436 integratorap \
436 lpc2292sodimm \ 437 lpc2292sodimm \
437 modnet50 \ 438 modnet50 \
438 SMN42 \ 439 SMN42 \
439 " 440 "
440 441
441 ######################################################################### 442 #########################################################################
442 ## ARM9 Systems 443 ## ARM9 Systems
443 ######################################################################### 444 #########################################################################
444 445
445 LIST_ARM9=" \ 446 LIST_ARM9=" \
446 at91rm9200dk \ 447 at91rm9200dk \
447 cmc_pu2 \ 448 cmc_pu2 \
448 ap920t \ 449 ap920t \
449 ap922_XA10 \ 450 ap922_XA10 \
450 ap926ejs \ 451 ap926ejs \
451 ap946es \ 452 ap946es \
452 ap966 \ 453 ap966 \
453 cp920t \ 454 cp920t \
454 cp922_XA10 \ 455 cp922_XA10 \
455 cp926ejs \ 456 cp926ejs \
456 cp946es \ 457 cp946es \
457 cp966 \ 458 cp966 \
458 lpd7a400 \ 459 lpd7a400 \
459 mp2usb \ 460 mp2usb \
460 mx1ads \ 461 mx1ads \
461 mx1fs2 \ 462 mx1fs2 \
462 netstar \ 463 netstar \
463 omap1510inn \ 464 omap1510inn \
464 omap1610h2 \ 465 omap1610h2 \
465 omap1610inn \ 466 omap1610inn \
466 omap730p2 \ 467 omap730p2 \
467 sbc2410x \ 468 sbc2410x \
468 scb9328 \ 469 scb9328 \
469 smdk2400 \ 470 smdk2400 \
470 smdk2410 \ 471 smdk2410 \
471 trab \ 472 trab \
472 VCMA9 \ 473 VCMA9 \
473 versatile \ 474 versatile \
474 versatileab \ 475 versatileab \
475 versatilepb \ 476 versatilepb \
476 voiceblue \ 477 voiceblue \
477 davinci_dvevm \ 478 davinci_dvevm \
478 davinci_schmoogie \ 479 davinci_schmoogie \
479 davinci_sonata \ 480 davinci_sonata \
480 " 481 "
481 482
482 ######################################################################### 483 #########################################################################
483 ## ARM10 Systems 484 ## ARM10 Systems
484 ######################################################################### 485 #########################################################################
485 LIST_ARM10=" \ 486 LIST_ARM10=" \
486 integratorcp \ 487 integratorcp \
487 cp1026 \ 488 cp1026 \
488 " 489 "
489 490
490 ######################################################################### 491 #########################################################################
491 ## ARM11 Systems 492 ## ARM11 Systems
492 ######################################################################### 493 #########################################################################
493 LIST_ARM11=" \ 494 LIST_ARM11=" \
494 cp1136 \ 495 cp1136 \
495 omap2420h4 \ 496 omap2420h4 \
496 apollon \ 497 apollon \
497 " 498 "
498 499
499 ######################################################################### 500 #########################################################################
500 ## Xscale Systems 501 ## Xscale Systems
501 ######################################################################### 502 #########################################################################
502 503
503 LIST_pxa=" \ 504 LIST_pxa=" \
504 adsvix \ 505 adsvix \
505 cerf250 \ 506 cerf250 \
506 cradle \ 507 cradle \
507 csb226 \ 508 csb226 \
508 delta \ 509 delta \
509 innokom \ 510 innokom \
510 lubbock \ 511 lubbock \
511 pleb2 \ 512 pleb2 \
512 pxa255_idp \ 513 pxa255_idp \
513 wepep250 \ 514 wepep250 \
514 xaeniax \ 515 xaeniax \
515 xm250 \ 516 xm250 \
516 xsengine \ 517 xsengine \
517 zylonite \ 518 zylonite \
518 " 519 "
519 520
520 LIST_ixp=" \ 521 LIST_ixp=" \
521 ixdp425 \ 522 ixdp425 \
522 ixdpg425 \ 523 ixdpg425 \
523 pdnb3 \ 524 pdnb3 \
524 scpu \ 525 scpu \
525 " 526 "
526 527
527 528
528 LIST_arm=" \ 529 LIST_arm=" \
529 ${LIST_SA} \ 530 ${LIST_SA} \
530 ${LIST_ARM7} \ 531 ${LIST_ARM7} \
531 ${LIST_ARM9} \ 532 ${LIST_ARM9} \
532 ${LIST_ARM10} \ 533 ${LIST_ARM10} \
533 ${LIST_ARM11} \ 534 ${LIST_ARM11} \
534 ${LIST_pxa} \ 535 ${LIST_pxa} \
535 ${LIST_ixp} \ 536 ${LIST_ixp} \
536 " 537 "
537 538
538 ######################################################################### 539 #########################################################################
539 ## MIPS Systems (default = big endian) 540 ## MIPS Systems (default = big endian)
540 ######################################################################### 541 #########################################################################
541 542
542 LIST_mips4kc=" \ 543 LIST_mips4kc=" \
543 incaip \ 544 incaip \
544 " 545 "
545 546
546 LIST_mips5kc=" \ 547 LIST_mips5kc=" \
547 purple \ 548 purple \
548 " 549 "
549 550
550 LIST_au1xx0=" \ 551 LIST_au1xx0=" \
551 dbau1000 \ 552 dbau1000 \
552 dbau1100 \ 553 dbau1100 \
553 dbau1500 \ 554 dbau1500 \
554 dbau1550 \ 555 dbau1550 \
555 dbau1550_el \ 556 dbau1550_el \
556 gth2 \ 557 gth2 \
557 " 558 "
558 559
559 LIST_mips=" \ 560 LIST_mips=" \
560 ${LIST_mips4kc} \ 561 ${LIST_mips4kc} \
561 ${LIST_mips5kc} \ 562 ${LIST_mips5kc} \
562 ${LIST_au1xx0} \ 563 ${LIST_au1xx0} \
563 " 564 "
564 565
565 ######################################################################### 566 #########################################################################
566 ## MIPS Systems (little endian) 567 ## MIPS Systems (little endian)
567 ######################################################################### 568 #########################################################################
568 569
569 LIST_mips4kc_el="" 570 LIST_mips4kc_el=""
570 571
571 LIST_mips5kc_el="" 572 LIST_mips5kc_el=""
572 573
573 LIST_au1xx0_el=" \ 574 LIST_au1xx0_el=" \
574 dbau1550_el \ 575 dbau1550_el \
575 pb1000 \ 576 pb1000 \
576 " 577 "
577 578
578 LIST_mips_el=" \ 579 LIST_mips_el=" \
579 ${LIST_mips4kc_el} \ 580 ${LIST_mips4kc_el} \
580 ${LIST_mips5kc_el} \ 581 ${LIST_mips5kc_el} \
581 ${LIST_au1xx0_el} \ 582 ${LIST_au1xx0_el} \
582 " 583 "
583 584
584 ######################################################################### 585 #########################################################################
585 ## i386 Systems 586 ## i386 Systems
586 ######################################################################### 587 #########################################################################
587 588
588 LIST_I486=" \ 589 LIST_I486=" \
589 sc520_cdp \ 590 sc520_cdp \
590 sc520_spunk \ 591 sc520_spunk \
591 sc520_spunk_rel \ 592 sc520_spunk_rel \
592 " 593 "
593 594
594 LIST_x86=" \ 595 LIST_x86=" \
595 ${LIST_I486} \ 596 ${LIST_I486} \
596 " 597 "
597 598
598 ######################################################################### 599 #########################################################################
599 ## NIOS Systems 600 ## NIOS Systems
600 ######################################################################### 601 #########################################################################
601 602
602 LIST_nios=" \ 603 LIST_nios=" \
603 ADNPESC1 \ 604 ADNPESC1 \
604 ADNPESC1_base_32 \ 605 ADNPESC1_base_32 \
605 ADNPESC1_DNPEVA2_base_32\ 606 ADNPESC1_DNPEVA2_base_32\
606 DK1C20 \ 607 DK1C20 \
607 DK1C20_standard_32 \ 608 DK1C20_standard_32 \
608 DK1S10 \ 609 DK1S10 \
609 DK1S10_standard_32 \ 610 DK1S10_standard_32 \
610 DK1S10_mtx_ldk_20 \ 611 DK1S10_mtx_ldk_20 \
611 " 612 "
612 613
613 ######################################################################### 614 #########################################################################
614 ## Nios-II Systems 615 ## Nios-II Systems
615 ######################################################################### 616 #########################################################################
616 617
617 LIST_nios2=" \ 618 LIST_nios2=" \
618 EP1C20 \ 619 EP1C20 \
619 EP1S10 \ 620 EP1S10 \
620 EP1S40 \ 621 EP1S40 \
621 PCI5441 \ 622 PCI5441 \
622 PK1C20 \ 623 PK1C20 \
623 " 624 "
624 625
625 ######################################################################### 626 #########################################################################
626 ## MicroBlaze Systems 627 ## MicroBlaze Systems
627 ######################################################################### 628 #########################################################################
628 629
629 LIST_microblaze=" \ 630 LIST_microblaze=" \
630 suzaku \ 631 suzaku \
631 ml401 \ 632 ml401 \
632 xupv2p \ 633 xupv2p \
633 " 634 "
634 635
635 ######################################################################### 636 #########################################################################
636 ## ColdFire Systems 637 ## ColdFire Systems
637 ######################################################################### 638 #########################################################################
638 639
639 LIST_coldfire=" \ 640 LIST_coldfire=" \
640 cobra5272 \ 641 cobra5272 \
641 EB+MCF-EV123 \ 642 EB+MCF-EV123 \
642 EB+MCF-EV123_internal \ 643 EB+MCF-EV123_internal \
643 idmr \ 644 idmr \
644 M5235EVB \ 645 M5235EVB \
645 M5249EVB \ 646 M5249EVB \
646 M5253EVB \ 647 M5253EVB \
647 M5271EVB \ 648 M5271EVB \
648 M5272C3 \ 649 M5272C3 \
649 M5282EVB \ 650 M5282EVB \
650 M5329EVB \ 651 M5329EVB \
651 M54455EVB \ 652 M54455EVB \
652 r5200 \ 653 r5200 \
653 TASREG \ 654 TASREG \
654 " 655 "
655 656
656 ######################################################################### 657 #########################################################################
657 ## AVR32 Systems 658 ## AVR32 Systems
658 ######################################################################### 659 #########################################################################
659 660
660 LIST_avr32=" \ 661 LIST_avr32=" \
661 atstk1002 \ 662 atstk1002 \
662 atstk1003 \ 663 atstk1003 \
663 atstk1004 \ 664 atstk1004 \
664 " 665 "
665 666
666 ######################################################################### 667 #########################################################################
667 ## Blackfin Systems 668 ## Blackfin Systems
668 ######################################################################### 669 #########################################################################
669 670
670 LIST_blackfin=" \ 671 LIST_blackfin=" \
671 bf533-ezkit \ 672 bf533-ezkit \
672 bf533-stamp \ 673 bf533-stamp \
673 bf537-stamp \ 674 bf537-stamp \
674 bf561-ezkit \ 675 bf561-ezkit \
675 " 676 "
676 677
677 ######################################################################### 678 #########################################################################
678 ## SH Systems 679 ## SH Systems
679 ######################################################################### 680 #########################################################################
680 681
681 LIST_sh4=" \ 682 LIST_sh4=" \
682 ms7750se \ 683 ms7750se \
683 ms7722se \ 684 ms7722se \
684 " 685 "
685 686
686 LIST_sh3="" 687 LIST_sh3=""
687 688
688 689
689 LIST_sh=" \ 690 LIST_sh=" \
690 ${LIST_sh3} \ 691 ${LIST_sh3} \
691 ${LIST_sh4} \ 692 ${LIST_sh4} \
692 " 693 "
693 694
694 #----------------------------------------------------------------------- 695 #-----------------------------------------------------------------------
695 696
696 #----- for now, just run PPC by default ----- 697 #----- for now, just run PPC by default -----
697 [ $# = 0 ] && set $LIST_ppc 698 [ $# = 0 ] && set $LIST_ppc
698 699
699 #----------------------------------------------------------------------- 700 #-----------------------------------------------------------------------
700 701
701 build_target() { 702 build_target() {
702 target=$1 703 target=$1
703 704
704 ${MAKE} distclean >/dev/null 705 ${MAKE} distclean >/dev/null
705 ${MAKE} ${target}_config 706 ${MAKE} ${target}_config
706 707
707 ${MAKE} ${JOBS} all 2>&1 >${LOG_DIR}/$target.MAKELOG \ 708 ${MAKE} ${JOBS} all 2>&1 >${LOG_DIR}/$target.MAKELOG \
708 | tee ${LOG_DIR}/$target.ERR 709 | tee ${LOG_DIR}/$target.ERR
709 710
710 ${CROSS_COMPILE:-ppc_8xx-}size ${BUILD_DIR}/u-boot \ 711 ${CROSS_COMPILE:-ppc_8xx-}size ${BUILD_DIR}/u-boot \
711 | tee -a ${LOG_DIR}/$target.MAKELOG 712 | tee -a ${LOG_DIR}/$target.MAKELOG
712 } 713 }
713 714
714 #----------------------------------------------------------------------- 715 #-----------------------------------------------------------------------
715 716
716 717
717 for arg in $@ 718 for arg in $@
718 do 719 do
719 case "$arg" in 720 case "$arg" in
720 arm|SA|ARM7|ARM9|ARM10|ARM11|ixp|pxa| \ 721 arm|SA|ARM7|ARM9|ARM10|ARM11|ixp|pxa| \
721 avr32| \ 722 avr32| \
722 blackfin| \ 723 blackfin| \
723 coldfire| \ 724 coldfire| \
724 microblaze| \ 725 microblaze| \
725 mips|mips_el| \ 726 mips|mips_el| \
726 nios|nios2| \ 727 nios|nios2| \
727 ppc|5xx|5xxx|512x|8xx|8220|824x|8260|83xx|85xx|86xx|4xx|7xx|74xx| \ 728 ppc|5xx|5xxx|512x|8xx|8220|824x|8260|83xx|85xx|86xx|4xx|7xx|74xx| \
728 x86|I486|TSEC| \ 729 x86|I486|TSEC| \
729 sh|sh4|sh3 \ 730 sh|sh4|sh3 \
730 ) 731 )
731 for target in `eval echo '$LIST_'${arg}` 732 for target in `eval echo '$LIST_'${arg}`
732 do 733 do
733 build_target ${target} 734 build_target ${target}
734 done 735 done
735 ;; 736 ;;
736 *) build_target ${arg} 737 *) build_target ${arg}
737 ;; 738 ;;
738 esac 739 esac
739 done 740 done
740 741
1 # 1 #
2 # (C) Copyright 2000-2008 2 # (C) Copyright 2000-2008
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de. 3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 # 4 #
5 # See file CREDITS for list of people who contributed to this 5 # See file CREDITS for list of people who contributed to this
6 # project. 6 # project.
7 # 7 #
8 # This program is free software; you can redistribute it and/or 8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License as 9 # modify it under the terms of the GNU General Public License as
10 # published by the Free Software Foundatio; either version 2 of 10 # published by the Free Software Foundatio; either version 2 of
11 # the License, or (at your option) any later version. 11 # the License, or (at your option) any later version.
12 # 12 #
13 # This program is distributed in the hope that it will be useful, 13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of 14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details. 16 # GNU General Public License for more details.
17 # 17 #
18 # You should have received a copy of the GNU General Public License 18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software 19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, 20 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21 # MA 02111-1307 USA 21 # MA 02111-1307 USA
22 # 22 #
23 23
24 VERSION = 1 24 VERSION = 1
25 PATCHLEVEL = 3 25 PATCHLEVEL = 3
26 SUBLEVEL = 1 26 SUBLEVEL = 1
27 EXTRAVERSION = 27 EXTRAVERSION =
28 U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION) 28 U_BOOT_VERSION = $(VERSION).$(PATCHLEVEL).$(SUBLEVEL)$(EXTRAVERSION)
29 VERSION_FILE = $(obj)include/version_autogenerated.h 29 VERSION_FILE = $(obj)include/version_autogenerated.h
30 30
31 HOSTARCH := $(shell uname -m | \ 31 HOSTARCH := $(shell uname -m | \
32 sed -e s/i.86/i386/ \ 32 sed -e s/i.86/i386/ \
33 -e s/sun4u/sparc64/ \ 33 -e s/sun4u/sparc64/ \
34 -e s/arm.*/arm/ \ 34 -e s/arm.*/arm/ \
35 -e s/sa110/arm/ \ 35 -e s/sa110/arm/ \
36 -e s/powerpc/ppc/ \ 36 -e s/powerpc/ppc/ \
37 -e s/ppc64/ppc/ \ 37 -e s/ppc64/ppc/ \
38 -e s/macppc/ppc/) 38 -e s/macppc/ppc/)
39 39
40 HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \ 40 HOSTOS := $(shell uname -s | tr '[:upper:]' '[:lower:]' | \
41 sed -e 's/\(cygwin\).*/cygwin/') 41 sed -e 's/\(cygwin\).*/cygwin/')
42 42
43 export HOSTARCH HOSTOS 43 export HOSTARCH HOSTOS
44 44
45 # Deal with colliding definitions from tcsh etc. 45 # Deal with colliding definitions from tcsh etc.
46 VENDOR= 46 VENDOR=
47 47
48 ######################################################################### 48 #########################################################################
49 # Allow for silent builds 49 # Allow for silent builds
50 ifeq (,$(findstring s,$(MAKEFLAGS))) 50 ifeq (,$(findstring s,$(MAKEFLAGS)))
51 XECHO = echo 51 XECHO = echo
52 else 52 else
53 XECHO = : 53 XECHO = :
54 endif 54 endif
55 55
56 ######################################################################### 56 #########################################################################
57 # 57 #
58 # U-boot build supports producing a object files to the separate external 58 # U-boot build supports producing a object files to the separate external
59 # directory. Two use cases are supported: 59 # directory. Two use cases are supported:
60 # 60 #
61 # 1) Add O= to the make command line 61 # 1) Add O= to the make command line
62 # 'make O=/tmp/build all' 62 # 'make O=/tmp/build all'
63 # 63 #
64 # 2) Set environement variable BUILD_DIR to point to the desired location 64 # 2) Set environement variable BUILD_DIR to point to the desired location
65 # 'export BUILD_DIR=/tmp/build' 65 # 'export BUILD_DIR=/tmp/build'
66 # 'make' 66 # 'make'
67 # 67 #
68 # The second approach can also be used with a MAKEALL script 68 # The second approach can also be used with a MAKEALL script
69 # 'export BUILD_DIR=/tmp/build' 69 # 'export BUILD_DIR=/tmp/build'
70 # './MAKEALL' 70 # './MAKEALL'
71 # 71 #
72 # Command line 'O=' setting overrides BUILD_DIR environent variable. 72 # Command line 'O=' setting overrides BUILD_DIR environent variable.
73 # 73 #
74 # When none of the above methods is used the local build is performed and 74 # When none of the above methods is used the local build is performed and
75 # the object files are placed in the source directory. 75 # the object files are placed in the source directory.
76 # 76 #
77 77
78 ifdef O 78 ifdef O
79 ifeq ("$(origin O)", "command line") 79 ifeq ("$(origin O)", "command line")
80 BUILD_DIR := $(O) 80 BUILD_DIR := $(O)
81 endif 81 endif
82 endif 82 endif
83 83
84 ifneq ($(BUILD_DIR),) 84 ifneq ($(BUILD_DIR),)
85 saved-output := $(BUILD_DIR) 85 saved-output := $(BUILD_DIR)
86 86
87 # Attempt to create a output directory. 87 # Attempt to create a output directory.
88 $(shell [ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR}) 88 $(shell [ -d ${BUILD_DIR} ] || mkdir -p ${BUILD_DIR})
89 89
90 # Verify if it was successful. 90 # Verify if it was successful.
91 BUILD_DIR := $(shell cd $(BUILD_DIR) && /bin/pwd) 91 BUILD_DIR := $(shell cd $(BUILD_DIR) && /bin/pwd)
92 $(if $(BUILD_DIR),,$(error output directory "$(saved-output)" does not exist)) 92 $(if $(BUILD_DIR),,$(error output directory "$(saved-output)" does not exist))
93 endif # ifneq ($(BUILD_DIR),) 93 endif # ifneq ($(BUILD_DIR),)
94 94
95 OBJTREE := $(if $(BUILD_DIR),$(BUILD_DIR),$(CURDIR)) 95 OBJTREE := $(if $(BUILD_DIR),$(BUILD_DIR),$(CURDIR))
96 SRCTREE := $(CURDIR) 96 SRCTREE := $(CURDIR)
97 TOPDIR := $(SRCTREE) 97 TOPDIR := $(SRCTREE)
98 LNDIR := $(OBJTREE) 98 LNDIR := $(OBJTREE)
99 export TOPDIR SRCTREE OBJTREE 99 export TOPDIR SRCTREE OBJTREE
100 100
101 MKCONFIG := $(SRCTREE)/mkconfig 101 MKCONFIG := $(SRCTREE)/mkconfig
102 export MKCONFIG 102 export MKCONFIG
103 103
104 ifneq ($(OBJTREE),$(SRCTREE)) 104 ifneq ($(OBJTREE),$(SRCTREE))
105 REMOTE_BUILD := 1 105 REMOTE_BUILD := 1
106 export REMOTE_BUILD 106 export REMOTE_BUILD
107 endif 107 endif
108 108
109 # $(obj) and (src) are defined in config.mk but here in main Makefile 109 # $(obj) and (src) are defined in config.mk but here in main Makefile
110 # we also need them before config.mk is included which is the case for 110 # we also need them before config.mk is included which is the case for
111 # some targets like unconfig, clean, clobber, distclean, etc. 111 # some targets like unconfig, clean, clobber, distclean, etc.
112 ifneq ($(OBJTREE),$(SRCTREE)) 112 ifneq ($(OBJTREE),$(SRCTREE))
113 obj := $(OBJTREE)/ 113 obj := $(OBJTREE)/
114 src := $(SRCTREE)/ 114 src := $(SRCTREE)/
115 else 115 else
116 obj := 116 obj :=
117 src := 117 src :=
118 endif 118 endif
119 export obj src 119 export obj src
120 120
121 ######################################################################### 121 #########################################################################
122 122
123 ifeq ($(obj)include/config.mk,$(wildcard $(obj)include/config.mk)) 123 ifeq ($(obj)include/config.mk,$(wildcard $(obj)include/config.mk))
124 124
125 # load ARCH, BOARD, and CPU configuration 125 # load ARCH, BOARD, and CPU configuration
126 include $(obj)include/config.mk 126 include $(obj)include/config.mk
127 export ARCH CPU BOARD VENDOR SOC 127 export ARCH CPU BOARD VENDOR SOC
128 128
129 ifndef CROSS_COMPILE 129 ifndef CROSS_COMPILE
130 ifeq ($(HOSTARCH),$(ARCH)) 130 ifeq ($(HOSTARCH),$(ARCH))
131 CROSS_COMPILE = 131 CROSS_COMPILE =
132 else 132 else
133 ifeq ($(ARCH),ppc) 133 ifeq ($(ARCH),ppc)
134 CROSS_COMPILE = ppc_8xx- 134 CROSS_COMPILE = ppc_8xx-
135 endif 135 endif
136 ifeq ($(ARCH),arm) 136 ifeq ($(ARCH),arm)
137 CROSS_COMPILE = arm-linux- 137 CROSS_COMPILE = arm-linux-
138 endif 138 endif
139 ifeq ($(ARCH),i386) 139 ifeq ($(ARCH),i386)
140 CROSS_COMPILE = i386-linux- 140 CROSS_COMPILE = i386-linux-
141 endif 141 endif
142 ifeq ($(ARCH),mips) 142 ifeq ($(ARCH),mips)
143 CROSS_COMPILE = mips_4KC- 143 CROSS_COMPILE = mips_4KC-
144 endif 144 endif
145 ifeq ($(ARCH),nios) 145 ifeq ($(ARCH),nios)
146 CROSS_COMPILE = nios-elf- 146 CROSS_COMPILE = nios-elf-
147 endif 147 endif
148 ifeq ($(ARCH),nios2) 148 ifeq ($(ARCH),nios2)
149 CROSS_COMPILE = nios2-elf- 149 CROSS_COMPILE = nios2-elf-
150 endif 150 endif
151 ifeq ($(ARCH),m68k) 151 ifeq ($(ARCH),m68k)
152 CROSS_COMPILE = m68k-elf- 152 CROSS_COMPILE = m68k-elf-
153 endif 153 endif
154 ifeq ($(ARCH),microblaze) 154 ifeq ($(ARCH),microblaze)
155 CROSS_COMPILE = mb- 155 CROSS_COMPILE = mb-
156 endif 156 endif
157 ifeq ($(ARCH),blackfin) 157 ifeq ($(ARCH),blackfin)
158 CROSS_COMPILE = bfin-uclinux- 158 CROSS_COMPILE = bfin-uclinux-
159 endif 159 endif
160 ifeq ($(ARCH),avr32) 160 ifeq ($(ARCH),avr32)
161 CROSS_COMPILE = avr32-linux- 161 CROSS_COMPILE = avr32-linux-
162 endif 162 endif
163 ifeq ($(ARCH),sh) 163 ifeq ($(ARCH),sh)
164 CROSS_COMPILE = sh4-linux- 164 CROSS_COMPILE = sh4-linux-
165 endif # sh 165 endif # sh
166 endif # HOSTARCH,ARCH 166 endif # HOSTARCH,ARCH
167 endif # CROSS_COMPILE 167 endif # CROSS_COMPILE
168 168
169 export CROSS_COMPILE 169 export CROSS_COMPILE
170 170
171 # load other configuration 171 # load other configuration
172 include $(TOPDIR)/config.mk 172 include $(TOPDIR)/config.mk
173 173
174 ######################################################################### 174 #########################################################################
175 # U-Boot objects....order is important (i.e. start must be first) 175 # U-Boot objects....order is important (i.e. start must be first)
176 176
177 OBJS = cpu/$(CPU)/start.o 177 OBJS = cpu/$(CPU)/start.o
178 ifeq ($(CPU),i386) 178 ifeq ($(CPU),i386)
179 OBJS += cpu/$(CPU)/start16.o 179 OBJS += cpu/$(CPU)/start16.o
180 OBJS += cpu/$(CPU)/reset.o 180 OBJS += cpu/$(CPU)/reset.o
181 endif 181 endif
182 ifeq ($(CPU),ppc4xx) 182 ifeq ($(CPU),ppc4xx)
183 OBJS += cpu/$(CPU)/resetvec.o 183 OBJS += cpu/$(CPU)/resetvec.o
184 endif 184 endif
185 ifeq ($(CPU),mpc85xx) 185 ifeq ($(CPU),mpc85xx)
186 OBJS += cpu/$(CPU)/resetvec.o 186 OBJS += cpu/$(CPU)/resetvec.o
187 endif 187 endif
188 ifeq ($(CPU),bf533) 188 ifeq ($(CPU),bf533)
189 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o 189 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
190 OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o 190 OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o
191 endif 191 endif
192 ifeq ($(CPU),bf537) 192 ifeq ($(CPU),bf537)
193 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o 193 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
194 OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o 194 OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o
195 endif 195 endif
196 ifeq ($(CPU),bf561) 196 ifeq ($(CPU),bf561)
197 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o 197 OBJS += cpu/$(CPU)/start1.o cpu/$(CPU)/interrupt.o cpu/$(CPU)/cache.o
198 OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o 198 OBJS += cpu/$(CPU)/flush.o cpu/$(CPU)/init_sdram.o
199 endif 199 endif
200 200
201 OBJS := $(addprefix $(obj),$(OBJS)) 201 OBJS := $(addprefix $(obj),$(OBJS))
202 202
203 LIBS = lib_generic/libgeneric.a 203 LIBS = lib_generic/libgeneric.a
204 LIBS += $(shell if [ -f board/$(VENDOR)/common/Makefile ]; then echo \ 204 LIBS += $(shell if [ -f board/$(VENDOR)/common/Makefile ]; then echo \
205 "board/$(VENDOR)/common/lib$(VENDOR).a"; fi) 205 "board/$(VENDOR)/common/lib$(VENDOR).a"; fi)
206 LIBS += board/$(BOARDDIR)/lib$(BOARD).a 206 LIBS += board/$(BOARDDIR)/lib$(BOARD).a
207 LIBS += cpu/$(CPU)/lib$(CPU).a 207 LIBS += cpu/$(CPU)/lib$(CPU).a
208 ifdef SOC 208 ifdef SOC
209 LIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a 209 LIBS += cpu/$(CPU)/$(SOC)/lib$(SOC).a
210 endif 210 endif
211 ifeq ($(CPU),ixp) 211 ifeq ($(CPU),ixp)
212 LIBS += cpu/ixp/npe/libnpe.a 212 LIBS += cpu/ixp/npe/libnpe.a
213 endif 213 endif
214 LIBS += lib_$(ARCH)/lib$(ARCH).a 214 LIBS += lib_$(ARCH)/lib$(ARCH).a
215 LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \ 215 LIBS += fs/cramfs/libcramfs.a fs/fat/libfat.a fs/fdos/libfdos.a fs/jffs2/libjffs2.a \
216 fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a 216 fs/reiserfs/libreiserfs.a fs/ext2/libext2fs.a
217 LIBS += net/libnet.a 217 LIBS += net/libnet.a
218 LIBS += disk/libdisk.a 218 LIBS += disk/libdisk.a
219 LIBS += drivers/bios_emulator/libatibiosemu.a 219 LIBS += drivers/bios_emulator/libatibiosemu.a
220 LIBS += drivers/block/libblock.a 220 LIBS += drivers/block/libblock.a
221 LIBS += drivers/hwmon/libhwmon.a 221 LIBS += drivers/hwmon/libhwmon.a
222 LIBS += drivers/i2c/libi2c.a 222 LIBS += drivers/i2c/libi2c.a
223 LIBS += drivers/input/libinput.a 223 LIBS += drivers/input/libinput.a
224 LIBS += drivers/misc/libmisc.a 224 LIBS += drivers/misc/libmisc.a
225 LIBS += drivers/mtd/libmtd.a 225 LIBS += drivers/mtd/libmtd.a
226 LIBS += drivers/mtd/nand/libnand.a 226 LIBS += drivers/mtd/nand/libnand.a
227 LIBS += drivers/mtd/nand_legacy/libnand_legacy.a 227 LIBS += drivers/mtd/nand_legacy/libnand_legacy.a
228 LIBS += drivers/mtd/onenand/libonenand.a 228 LIBS += drivers/mtd/onenand/libonenand.a
229 LIBS += drivers/net/libnet.a 229 LIBS += drivers/net/libnet.a
230 LIBS += drivers/net/sk98lin/libsk98lin.a 230 LIBS += drivers/net/sk98lin/libsk98lin.a
231 LIBS += drivers/pci/libpci.a 231 LIBS += drivers/pci/libpci.a
232 LIBS += drivers/pcmcia/libpcmcia.a 232 LIBS += drivers/pcmcia/libpcmcia.a
233 ifeq ($(CPU),mpc83xx) 233 ifeq ($(CPU),mpc83xx)
234 LIBS += drivers/qe/qe.a 234 LIBS += drivers/qe/qe.a
235 endif 235 endif
236 ifeq ($(CPU),mpc85xx) 236 ifeq ($(CPU),mpc85xx)
237 LIBS += drivers/qe/qe.a 237 LIBS += drivers/qe/qe.a
238 endif 238 endif
239 LIBS += drivers/rtc/librtc.a 239 LIBS += drivers/rtc/librtc.a
240 LIBS += drivers/serial/libserial.a 240 LIBS += drivers/serial/libserial.a
241 LIBS += drivers/usb/libusb.a 241 LIBS += drivers/usb/libusb.a
242 LIBS += drivers/video/libvideo.a 242 LIBS += drivers/video/libvideo.a
243 LIBS += post/libpost.a post/drivers/libpostdrivers.a 243 LIBS += post/libpost.a post/drivers/libpostdrivers.a
244 LIBS += $(shell if [ -d post/lib_$(ARCH) ]; then echo \ 244 LIBS += $(shell if [ -d post/lib_$(ARCH) ]; then echo \
245 "post/lib_$(ARCH)/libpost$(ARCH).a"; fi) 245 "post/lib_$(ARCH)/libpost$(ARCH).a"; fi)
246 LIBS += $(shell if [ -d post/lib_$(ARCH)/fpu ]; then echo \ 246 LIBS += $(shell if [ -d post/lib_$(ARCH)/fpu ]; then echo \
247 "post/lib_$(ARCH)/fpu/libpost$(ARCH)fpu.a"; fi) 247 "post/lib_$(ARCH)/fpu/libpost$(ARCH)fpu.a"; fi)
248 LIBS += $(shell if [ -d post/cpu/$(CPU) ]; then echo \ 248 LIBS += $(shell if [ -d post/cpu/$(CPU) ]; then echo \
249 "post/cpu/$(CPU)/libpost$(CPU).a"; fi) 249 "post/cpu/$(CPU)/libpost$(CPU).a"; fi)
250 LIBS += $(shell if [ -d post/board/$(BOARDDIR) ]; then echo \ 250 LIBS += $(shell if [ -d post/board/$(BOARDDIR) ]; then echo \
251 "post/board/$(BOARDDIR)/libpost$(BOARD).a"; fi) 251 "post/board/$(BOARDDIR)/libpost$(BOARD).a"; fi)
252 LIBS += common/libcommon.a 252 LIBS += common/libcommon.a
253 LIBS += libfdt/libfdt.a 253 LIBS += libfdt/libfdt.a
254 ifeq ($(CONFIG_API),y) 254 ifeq ($(CONFIG_API),y)
255 LIBS += api/libapi.a 255 LIBS += api/libapi.a
256 endif 256 endif
257 257
258 LIBS := $(addprefix $(obj),$(LIBS)) 258 LIBS := $(addprefix $(obj),$(LIBS))
259 .PHONY : $(LIBS) 259 .PHONY : $(LIBS)
260 260
261 # Add GCC lib 261 # Add GCC lib
262 PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc 262 PLATFORM_LIBS += -L $(shell dirname `$(CC) $(CFLAGS) -print-libgcc-file-name`) -lgcc
263 263
264 # The "tools" are needed early, so put this first 264 # The "tools" are needed early, so put this first
265 # Don't include stuff already done in $(LIBS) 265 # Don't include stuff already done in $(LIBS)
266 SUBDIRS = tools \ 266 SUBDIRS = tools \
267 examples 267 examples
268 268
269 ifeq ($(CONFIG_API),y) 269 ifeq ($(CONFIG_API),y)
270 SUBDIRS += api_examples 270 SUBDIRS += api_examples
271 endif 271 endif
272 272
273 .PHONY : $(SUBDIRS) 273 .PHONY : $(SUBDIRS)
274 274
275 ifeq ($(CONFIG_NAND_U_BOOT),y) 275 ifeq ($(CONFIG_NAND_U_BOOT),y)
276 NAND_SPL = nand_spl 276 NAND_SPL = nand_spl
277 U_BOOT_NAND = $(obj)u-boot-nand.bin 277 U_BOOT_NAND = $(obj)u-boot-nand.bin
278 endif 278 endif
279 279
280 __OBJS := $(subst $(obj),,$(OBJS)) 280 __OBJS := $(subst $(obj),,$(OBJS))
281 __LIBS := $(subst $(obj),,$(LIBS)) 281 __LIBS := $(subst $(obj),,$(LIBS))
282 282
283 ######################################################################### 283 #########################################################################
284 ######################################################################### 284 #########################################################################
285 285
286 ALL += $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND) 286 ALL += $(obj)u-boot.srec $(obj)u-boot.bin $(obj)System.map $(U_BOOT_NAND)
287 287
288 all: $(ALL) 288 all: $(ALL)
289 289
290 $(obj)u-boot.hex: $(obj)u-boot 290 $(obj)u-boot.hex: $(obj)u-boot
291 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@ 291 $(OBJCOPY) ${OBJCFLAGS} -O ihex $< $@
292 292
293 $(obj)u-boot.srec: $(obj)u-boot 293 $(obj)u-boot.srec: $(obj)u-boot
294 $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@ 294 $(OBJCOPY) ${OBJCFLAGS} -O srec $< $@
295 295
296 $(obj)u-boot.bin: $(obj)u-boot 296 $(obj)u-boot.bin: $(obj)u-boot
297 $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@ 297 $(OBJCOPY) ${OBJCFLAGS} -O binary $< $@
298 298
299 $(obj)u-boot.img: $(obj)u-boot.bin 299 $(obj)u-boot.img: $(obj)u-boot.bin
300 ./tools/mkimage -A $(ARCH) -T firmware -C none \ 300 ./tools/mkimage -A $(ARCH) -T firmware -C none \
301 -a $(TEXT_BASE) -e 0 \ 301 -a $(TEXT_BASE) -e 0 \
302 -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \ 302 -n $(shell sed -n -e 's/.*U_BOOT_VERSION//p' $(VERSION_FILE) | \
303 sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \ 303 sed -e 's/"[ ]*$$/ for $(BOARD) board"/') \
304 -d $< $@ 304 -d $< $@
305 305
306 $(obj)u-boot.sha1: $(obj)u-boot.bin 306 $(obj)u-boot.sha1: $(obj)u-boot.bin
307 $(obj)tools/ubsha1 $(obj)u-boot.bin 307 $(obj)tools/ubsha1 $(obj)u-boot.bin
308 308
309 $(obj)u-boot.dis: $(obj)u-boot 309 $(obj)u-boot.dis: $(obj)u-boot
310 $(OBJDUMP) -d $< > $@ 310 $(OBJDUMP) -d $< > $@
311 311
312 $(obj)u-boot: depend $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT) 312 $(obj)u-boot: depend $(SUBDIRS) $(OBJS) $(LIBS) $(LDSCRIPT)
313 UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\ 313 UNDEF_SYM=`$(OBJDUMP) -x $(LIBS) |sed -n -e 's/.*\(__u_boot_cmd_.*\)/-u\1/p'|sort|uniq`;\
314 cd $(LNDIR) && $(LD) $(LDFLAGS) $$UNDEF_SYM $(__OBJS) \ 314 cd $(LNDIR) && $(LD) $(LDFLAGS) $$UNDEF_SYM $(__OBJS) \
315 --start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \ 315 --start-group $(__LIBS) --end-group $(PLATFORM_LIBS) \
316 -Map u-boot.map -o u-boot 316 -Map u-boot.map -o u-boot
317 317
318 $(OBJS): $(obj)include/autoconf.mk 318 $(OBJS): $(obj)include/autoconf.mk
319 $(MAKE) -C cpu/$(CPU) $(if $(REMOTE_BUILD),$@,$(notdir $@)) 319 $(MAKE) -C cpu/$(CPU) $(if $(REMOTE_BUILD),$@,$(notdir $@))
320 320
321 $(LIBS): $(obj)include/autoconf.mk 321 $(LIBS): $(obj)include/autoconf.mk
322 $(MAKE) -C $(dir $(subst $(obj),,$@)) 322 $(MAKE) -C $(dir $(subst $(obj),,$@))
323 323
324 $(SUBDIRS): $(obj)include/autoconf.mk 324 $(SUBDIRS): $(obj)include/autoconf.mk
325 $(MAKE) -C $@ all 325 $(MAKE) -C $@ all
326 326
327 $(NAND_SPL): $(VERSION_FILE) $(obj)include/autoconf.mk 327 $(NAND_SPL): $(VERSION_FILE) $(obj)include/autoconf.mk
328 $(MAKE) -C nand_spl/board/$(BOARDDIR) all 328 $(MAKE) -C nand_spl/board/$(BOARDDIR) all
329 329
330 $(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin $(obj)include/autoconf.mk 330 $(U_BOOT_NAND): $(NAND_SPL) $(obj)u-boot.bin $(obj)include/autoconf.mk
331 cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin 331 cat $(obj)nand_spl/u-boot-spl-16k.bin $(obj)u-boot.bin > $(obj)u-boot-nand.bin
332 332
333 $(VERSION_FILE): 333 $(VERSION_FILE):
334 @( echo -n "#define U_BOOT_VERSION \"U-Boot " ; \ 334 @( echo -n "#define U_BOOT_VERSION \"U-Boot " ; \
335 echo -n "$(U_BOOT_VERSION)" ; \ 335 echo -n "$(U_BOOT_VERSION)" ; \
336 echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \ 336 echo -n $(shell $(CONFIG_SHELL) $(TOPDIR)/tools/setlocalversion \
337 $(TOPDIR)) ; \ 337 $(TOPDIR)) ; \
338 echo "\"" ) > $(VERSION_FILE) 338 echo "\"" ) > $(VERSION_FILE)
339 339
340 gdbtools: 340 gdbtools:
341 $(MAKE) -C tools/gdb all || exit 1 341 $(MAKE) -C tools/gdb all || exit 1
342 342
343 updater: 343 updater:
344 $(MAKE) -C tools/updater all || exit 1 344 $(MAKE) -C tools/updater all || exit 1
345 345
346 env: 346 env:
347 $(MAKE) -C tools/env all MTD_VERSION=${MTD_VERSION} || exit 1 347 $(MAKE) -C tools/env all MTD_VERSION=${MTD_VERSION} || exit 1
348 348
349 depend dep: $(VERSION_FILE) 349 depend dep: $(VERSION_FILE)
350 for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done 350 for dir in $(SUBDIRS) ; do $(MAKE) -C $$dir _depend ; done
351 351
352 TAG_SUBDIRS += include 352 TAG_SUBDIRS += include
353 TAG_SUBDIRS += lib_generic board/$(BOARDDIR) 353 TAG_SUBDIRS += lib_generic board/$(BOARDDIR)
354 TAG_SUBDIRS += cpu/$(CPU) 354 TAG_SUBDIRS += cpu/$(CPU)
355 TAG_SUBDIRS += lib_$(ARCH) 355 TAG_SUBDIRS += lib_$(ARCH)
356 TAG_SUBDIRS += fs/cramfs 356 TAG_SUBDIRS += fs/cramfs
357 TAG_SUBDIRS += fs/fat 357 TAG_SUBDIRS += fs/fat
358 TAG_SUBDIRS += fs/fdos 358 TAG_SUBDIRS += fs/fdos
359 TAG_SUBDIRS += fs/jffs2 359 TAG_SUBDIRS += fs/jffs2
360 TAG_SUBDIRS += net 360 TAG_SUBDIRS += net
361 TAG_SUBDIRS += disk 361 TAG_SUBDIRS += disk
362 TAG_SUBDIRS += common 362 TAG_SUBDIRS += common
363 TAG_SUBDIRS += drivers/bios_emulator 363 TAG_SUBDIRS += drivers/bios_emulator
364 TAG_SUBDIRS += drivers/block 364 TAG_SUBDIRS += drivers/block
365 TAG_SUBDIRS += drivers/hwmon 365 TAG_SUBDIRS += drivers/hwmon
366 TAG_SUBDIRS += drivers/i2c 366 TAG_SUBDIRS += drivers/i2c
367 TAG_SUBDIRS += drivers/input 367 TAG_SUBDIRS += drivers/input
368 TAG_SUBDIRS += drivers/misc 368 TAG_SUBDIRS += drivers/misc
369 TAG_SUBDIRS += drivers/mtd 369 TAG_SUBDIRS += drivers/mtd
370 TAG_SUBDIRS += drivers/mtd/nand 370 TAG_SUBDIRS += drivers/mtd/nand
371 TAG_SUBDIRS += drivers/mtd/nand_legacy 371 TAG_SUBDIRS += drivers/mtd/nand_legacy
372 TAG_SUBDIRS += drivers/mtd/onenand 372 TAG_SUBDIRS += drivers/mtd/onenand
373 TAG_SUBDIRS += drivers/net 373 TAG_SUBDIRS += drivers/net
374 TAG_SUBDIRS += drivers/net/sk98lin 374 TAG_SUBDIRS += drivers/net/sk98lin
375 TAG_SUBDIRS += drivers/pci 375 TAG_SUBDIRS += drivers/pci
376 TAG_SUBDIRS += drivers/pcmcia 376 TAG_SUBDIRS += drivers/pcmcia
377 TAG_SUBDIRS += drivers/qe 377 TAG_SUBDIRS += drivers/qe
378 TAG_SUBDIRS += drivers/rtc 378 TAG_SUBDIRS += drivers/rtc
379 TAG_SUBDIRS += drivers/serial 379 TAG_SUBDIRS += drivers/serial
380 TAG_SUBDIRS += drivers/usb 380 TAG_SUBDIRS += drivers/usb
381 TAG_SUBDIRS += drivers/video 381 TAG_SUBDIRS += drivers/video
382 382
383 tags ctags: 383 tags ctags:
384 ctags -w -o $(obj)ctags `find $(SUBDIRS) $(TAG_SUBDIRS) \ 384 ctags -w -o $(obj)ctags `find $(SUBDIRS) $(TAG_SUBDIRS) \
385 -name '*.[ch]' -print` 385 -name '*.[ch]' -print`
386 386
387 etags: 387 etags:
388 etags -a -o $(obj)etags `find $(SUBDIRS) $(TAG_SUBDIRS) \ 388 etags -a -o $(obj)etags `find $(SUBDIRS) $(TAG_SUBDIRS) \
389 -name '*.[ch]' -print` 389 -name '*.[ch]' -print`
390 390
391 $(obj)System.map: $(obj)u-boot 391 $(obj)System.map: $(obj)u-boot
392 @$(NM) $< | \ 392 @$(NM) $< | \
393 grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \ 393 grep -v '\(compiled\)\|\(\.o$$\)\|\( [aUw] \)\|\(\.\.ng$$\)\|\(LASH[RL]DI\)' | \
394 sort > $(obj)System.map 394 sort > $(obj)System.map
395 395
396 # 396 #
397 # Auto-generate the autoconf.mk file (which is included by all makefiles) 397 # Auto-generate the autoconf.mk file (which is included by all makefiles)
398 # 398 #
399 # This target actually generates 2 files; autoconf.mk and autoconf.mk.dep. 399 # This target actually generates 2 files; autoconf.mk and autoconf.mk.dep.
400 # the dep file is only include in this top level makefile to determine when 400 # the dep file is only include in this top level makefile to determine when
401 # to regenerate the autoconf.mk file. 401 # to regenerate the autoconf.mk file.
402 $(obj)include/autoconf.mk: $(obj)include/config.h $(VERSION_FILE) 402 $(obj)include/autoconf.mk: $(obj)include/config.h $(VERSION_FILE)
403 @$(XECHO) Generating include/autoconf.mk ; \ 403 @$(XECHO) Generating include/autoconf.mk ; \
404 : Generate the dependancies ; \ 404 : Generate the dependancies ; \
405 $(CC) -M $(HOST_CFLAGS) $(CPPFLAGS) -MQ $@ include/common.h > $@.dep ; \ 405 $(CC) -M $(HOST_CFLAGS) $(CPPFLAGS) -MQ $@ include/common.h > $@.dep ; \
406 : Extract the config macros ; \ 406 : Extract the config macros ; \
407 $(CPP) $(CFLAGS) -dM include/common.h | sed -n -f tools/scripts/define2mk.sed > $@ 407 $(CPP) $(CFLAGS) -dM include/common.h | sed -n -f tools/scripts/define2mk.sed > $@
408 408
409 sinclude $(obj)include/autoconf.mk.dep 409 sinclude $(obj)include/autoconf.mk.dep
410 410
411 ######################################################################### 411 #########################################################################
412 else # !config.mk 412 else # !config.mk
413 all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \ 413 all $(obj)u-boot.hex $(obj)u-boot.srec $(obj)u-boot.bin \
414 $(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \ 414 $(obj)u-boot.img $(obj)u-boot.dis $(obj)u-boot \
415 $(SUBDIRS) $(VERSION_FILE) gdbtools updater env depend \ 415 $(SUBDIRS) $(VERSION_FILE) gdbtools updater env depend \
416 dep tags ctags etags $(obj)System.map: 416 dep tags ctags etags $(obj)System.map:
417 @echo "System not configured - see README" >&2 417 @echo "System not configured - see README" >&2
418 @ exit 1 418 @ exit 1
419 endif # config.mk 419 endif # config.mk
420 420
421 .PHONY : CHANGELOG 421 .PHONY : CHANGELOG
422 CHANGELOG: 422 CHANGELOG:
423 git log --no-merges U-Boot-1_1_5.. | \ 423 git log --no-merges U-Boot-1_1_5.. | \
424 unexpand -a | sed -e 's/\s\s*$$//' > $@ 424 unexpand -a | sed -e 's/\s\s*$$//' > $@
425 425
426 ######################################################################### 426 #########################################################################
427 427
428 unconfig: 428 unconfig:
429 @rm -f $(obj)include/config.h $(obj)include/config.mk \ 429 @rm -f $(obj)include/config.h $(obj)include/config.mk \
430 $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp \ 430 $(obj)board/*/config.tmp $(obj)board/*/*/config.tmp \
431 $(obj)include/autoconf.mk $(obj)include/autoconf.mk.dep 431 $(obj)include/autoconf.mk $(obj)include/autoconf.mk.dep
432 432
433 #======================================================================== 433 #========================================================================
434 # PowerPC 434 # PowerPC
435 #======================================================================== 435 #========================================================================
436 436
437 ######################################################################### 437 #########################################################################
438 ## MPC5xx Systems 438 ## MPC5xx Systems
439 ######################################################################### 439 #########################################################################
440 440
441 canmb_config: unconfig 441 canmb_config: unconfig
442 @$(MKCONFIG) -a canmb ppc mpc5xxx canmb 442 @$(MKCONFIG) -a canmb ppc mpc5xxx canmb
443 443
444 cmi_mpc5xx_config: unconfig 444 cmi_mpc5xx_config: unconfig
445 @$(MKCONFIG) $(@:_config=) ppc mpc5xx cmi 445 @$(MKCONFIG) $(@:_config=) ppc mpc5xx cmi
446 446
447 PATI_config: unconfig 447 PATI_config: unconfig
448 @$(MKCONFIG) $(@:_config=) ppc mpc5xx pati mpl 448 @$(MKCONFIG) $(@:_config=) ppc mpc5xx pati mpl
449 449
450 ######################################################################### 450 #########################################################################
451 ## MPC5xxx Systems 451 ## MPC5xxx Systems
452 ######################################################################### 452 #########################################################################
453 453
454 aev_config: unconfig 454 aev_config: unconfig
455 @$(MKCONFIG) -a aev ppc mpc5xxx tqm5200 455 @$(MKCONFIG) -a aev ppc mpc5xxx tqm5200
456 456
457 BC3450_config: unconfig 457 BC3450_config: unconfig
458 @$(MKCONFIG) -a BC3450 ppc mpc5xxx bc3450 458 @$(MKCONFIG) -a BC3450 ppc mpc5xxx bc3450
459 459
460 cpci5200_config: unconfig 460 cpci5200_config: unconfig
461 @$(MKCONFIG) -a cpci5200 ppc mpc5xxx cpci5200 esd 461 @$(MKCONFIG) -a cpci5200 ppc mpc5xxx cpci5200 esd
462 462
463 hmi1001_config: unconfig 463 hmi1001_config: unconfig
464 @$(MKCONFIG) hmi1001 ppc mpc5xxx hmi1001 464 @$(MKCONFIG) hmi1001 ppc mpc5xxx hmi1001
465 465
466 Lite5200_config \ 466 Lite5200_config \
467 Lite5200_LOWBOOT_config \ 467 Lite5200_LOWBOOT_config \
468 Lite5200_LOWBOOT08_config \ 468 Lite5200_LOWBOOT08_config \
469 icecube_5200_config \ 469 icecube_5200_config \
470 icecube_5200_LOWBOOT_config \ 470 icecube_5200_LOWBOOT_config \
471 icecube_5200_LOWBOOT08_config \ 471 icecube_5200_LOWBOOT08_config \
472 icecube_5200_DDR_config \ 472 icecube_5200_DDR_config \
473 icecube_5200_DDR_LOWBOOT_config \ 473 icecube_5200_DDR_LOWBOOT_config \
474 icecube_5200_DDR_LOWBOOT08_config \ 474 icecube_5200_DDR_LOWBOOT08_config \
475 icecube_5100_config: unconfig 475 icecube_5100_config: unconfig
476 @mkdir -p $(obj)include 476 @mkdir -p $(obj)include
477 @mkdir -p $(obj)board/icecube 477 @mkdir -p $(obj)board/icecube
478 @ >$(obj)include/config.h 478 @ >$(obj)include/config.h
479 @[ -z "$(findstring LOWBOOT_,$@)" ] || \ 479 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
480 { if [ "$(findstring DDR,$@)" ] ; \ 480 { if [ "$(findstring DDR,$@)" ] ; \
481 then echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \ 481 then echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
482 else echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \ 482 else echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
483 fi ; \ 483 fi ; \
484 $(XECHO) "... with LOWBOOT configuration" ; \ 484 $(XECHO) "... with LOWBOOT configuration" ; \
485 } 485 }
486 @[ -z "$(findstring LOWBOOT08,$@)" ] || \ 486 @[ -z "$(findstring LOWBOOT08,$@)" ] || \
487 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \ 487 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/icecube/config.tmp ; \
488 echo "... with 8 MB flash only" ; \ 488 echo "... with 8 MB flash only" ; \
489 $(XECHO) "... with LOWBOOT configuration" ; \ 489 $(XECHO) "... with LOWBOOT configuration" ; \
490 } 490 }
491 @[ -z "$(findstring DDR,$@)" ] || \ 491 @[ -z "$(findstring DDR,$@)" ] || \
492 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \ 492 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
493 $(XECHO) "... DDR memory revision" ; \ 493 $(XECHO) "... DDR memory revision" ; \
494 } 494 }
495 @[ -z "$(findstring 5200,$@)" ] || \ 495 @[ -z "$(findstring 5200,$@)" ] || \
496 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \ 496 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
497 $(XECHO) "... with MPC5200 processor" ; \ 497 $(XECHO) "... with MPC5200 processor" ; \
498 } 498 }
499 @[ -z "$(findstring 5100,$@)" ] || \ 499 @[ -z "$(findstring 5100,$@)" ] || \
500 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \ 500 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
501 $(XECHO) "... with MGT5100 processor" ; \ 501 $(XECHO) "... with MGT5100 processor" ; \
502 } 502 }
503 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube 503 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
504 504
505 jupiter_config: unconfig 505 jupiter_config: unconfig
506 @$(MKCONFIG) jupiter ppc mpc5xxx jupiter 506 @$(MKCONFIG) jupiter ppc mpc5xxx jupiter
507 507
508 v38b_config: unconfig 508 v38b_config: unconfig
509 @$(MKCONFIG) -a v38b ppc mpc5xxx v38b 509 @$(MKCONFIG) -a v38b ppc mpc5xxx v38b
510 510
511 inka4x0_config: unconfig 511 inka4x0_config: unconfig
512 @$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0 512 @$(MKCONFIG) inka4x0 ppc mpc5xxx inka4x0
513 513
514 lite5200b_config \ 514 lite5200b_config \
515 lite5200b_PM_config \ 515 lite5200b_PM_config \
516 lite5200b_LOWBOOT_config: unconfig 516 lite5200b_LOWBOOT_config: unconfig
517 @mkdir -p $(obj)include 517 @mkdir -p $(obj)include
518 @mkdir -p $(obj)board/icecube 518 @mkdir -p $(obj)board/icecube
519 @ >$(obj)include/config.h 519 @ >$(obj)include/config.h
520 @ echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h 520 @ echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h
521 @ $(XECHO) "... DDR memory revision" 521 @ $(XECHO) "... DDR memory revision"
522 @ echo "#define CONFIG_MPC5200" >>$(obj)include/config.h 522 @ echo "#define CONFIG_MPC5200" >>$(obj)include/config.h
523 @ echo "#define CONFIG_LITE5200B" >>$(obj)include/config.h 523 @ echo "#define CONFIG_LITE5200B" >>$(obj)include/config.h
524 @[ -z "$(findstring _PM_,$@)" ] || \ 524 @[ -z "$(findstring _PM_,$@)" ] || \
525 { echo "#define CONFIG_LITE5200B_PM" >>$(obj)include/config.h ; \ 525 { echo "#define CONFIG_LITE5200B_PM" >>$(obj)include/config.h ; \
526 $(XECHO) "... with power management (low-power mode) support" ; \ 526 $(XECHO) "... with power management (low-power mode) support" ; \
527 } 527 }
528 @[ -z "$(findstring LOWBOOT_,$@)" ] || \ 528 @[ -z "$(findstring LOWBOOT_,$@)" ] || \
529 { echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \ 529 { echo "TEXT_BASE = 0xFF000000" >$(obj)board/icecube/config.tmp ; \
530 $(XECHO) "... with LOWBOOT configuration" ; \ 530 $(XECHO) "... with LOWBOOT configuration" ; \
531 } 531 }
532 @ $(XECHO) "... with MPC5200B processor" 532 @ $(XECHO) "... with MPC5200B processor"
533 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube 533 @$(MKCONFIG) -a IceCube ppc mpc5xxx icecube
534 534
535 mcc200_config \ 535 mcc200_config \
536 mcc200_SDRAM_config \ 536 mcc200_SDRAM_config \
537 mcc200_highboot_config \ 537 mcc200_highboot_config \
538 mcc200_COM12_config \ 538 mcc200_COM12_config \
539 mcc200_COM12_SDRAM_config \ 539 mcc200_COM12_SDRAM_config \
540 mcc200_COM12_highboot_config \ 540 mcc200_COM12_highboot_config \
541 mcc200_COM12_highboot_SDRAM_config \ 541 mcc200_COM12_highboot_SDRAM_config \
542 mcc200_highboot_SDRAM_config \ 542 mcc200_highboot_SDRAM_config \
543 prs200_config \ 543 prs200_config \
544 prs200_DDR_config \ 544 prs200_DDR_config \
545 prs200_highboot_config \ 545 prs200_highboot_config \
546 prs200_highboot_DDR_config: unconfig 546 prs200_highboot_DDR_config: unconfig
547 @mkdir -p $(obj)include 547 @mkdir -p $(obj)include
548 @mkdir -p $(obj)board/mcc200 548 @mkdir -p $(obj)board/mcc200
549 @ >$(obj)include/config.h 549 @ >$(obj)include/config.h
550 @[ -n "$(findstring highboot,$@)" ] || \ 550 @[ -n "$(findstring highboot,$@)" ] || \
551 { $(XECHO) "... with lowboot configuration" ; \ 551 { $(XECHO) "... with lowboot configuration" ; \
552 } 552 }
553 @[ -z "$(findstring highboot,$@)" ] || \ 553 @[ -z "$(findstring highboot,$@)" ] || \
554 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/mcc200/config.tmp ; \ 554 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/mcc200/config.tmp ; \
555 $(XECHO) "... with highboot configuration" ; \ 555 $(XECHO) "... with highboot configuration" ; \
556 } 556 }
557 @[ -n "$(findstring _SDRAM,$@)" ] || \ 557 @[ -n "$(findstring _SDRAM,$@)" ] || \
558 { if [ -n "$(findstring mcc200,$@)" ]; \ 558 { if [ -n "$(findstring mcc200,$@)" ]; \
559 then \ 559 then \
560 $(XECHO) "... with DDR" ; \ 560 $(XECHO) "... with DDR" ; \
561 else \ 561 else \
562 if [ -n "$(findstring _DDR,$@)" ];\ 562 if [ -n "$(findstring _DDR,$@)" ];\
563 then \ 563 then \
564 $(XECHO) "... with DDR" ; \ 564 $(XECHO) "... with DDR" ; \
565 else \ 565 else \
566 echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ;\ 566 echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ;\
567 $(XECHO) "... with SDRAM" ; \ 567 $(XECHO) "... with SDRAM" ; \
568 fi; \ 568 fi; \
569 fi; \ 569 fi; \
570 } 570 }
571 @[ -z "$(findstring _SDRAM,$@)" ] || \ 571 @[ -z "$(findstring _SDRAM,$@)" ] || \
572 { echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ; \ 572 { echo "#define CONFIG_MCC200_SDRAM" >>$(obj)include/config.h ; \
573 $(XECHO) "... with SDRAM" ; \ 573 $(XECHO) "... with SDRAM" ; \
574 } 574 }
575 @[ -z "$(findstring COM12,$@)" ] || \ 575 @[ -z "$(findstring COM12,$@)" ] || \
576 { echo "#define CONFIG_CONSOLE_COM12" >>$(obj)include/config.h ; \ 576 { echo "#define CONFIG_CONSOLE_COM12" >>$(obj)include/config.h ; \
577 $(XECHO) "... with console on COM12" ; \ 577 $(XECHO) "... with console on COM12" ; \
578 } 578 }
579 @[ -z "$(findstring prs200,$@)" ] || \ 579 @[ -z "$(findstring prs200,$@)" ] || \
580 { echo "#define CONFIG_PRS200" >>$(obj)include/config.h ;\ 580 { echo "#define CONFIG_PRS200" >>$(obj)include/config.h ;\
581 } 581 }
582 @$(MKCONFIG) -n $@ -a mcc200 ppc mpc5xxx mcc200 582 @$(MKCONFIG) -n $@ -a mcc200 ppc mpc5xxx mcc200
583 583
584 mecp5200_config: unconfig 584 mecp5200_config: unconfig
585 @$(MKCONFIG) mecp5200 ppc mpc5xxx mecp5200 esd 585 @$(MKCONFIG) mecp5200 ppc mpc5xxx mecp5200 esd
586 586
587 munices_config: unconfig 587 munices_config: unconfig
588 @$(MKCONFIG) munices ppc mpc5xxx munices 588 @$(MKCONFIG) munices ppc mpc5xxx munices
589 589
590 o2dnt_config: 590 o2dnt_config:
591 @$(MKCONFIG) o2dnt ppc mpc5xxx o2dnt 591 @$(MKCONFIG) o2dnt ppc mpc5xxx o2dnt
592 592
593 pf5200_config: unconfig 593 pf5200_config: unconfig
594 @$(MKCONFIG) pf5200 ppc mpc5xxx pf5200 esd 594 @$(MKCONFIG) pf5200 ppc mpc5xxx pf5200 esd
595 595
596 PM520_config \ 596 PM520_config \
597 PM520_DDR_config \ 597 PM520_DDR_config \
598 PM520_ROMBOOT_config \ 598 PM520_ROMBOOT_config \
599 PM520_ROMBOOT_DDR_config: unconfig 599 PM520_ROMBOOT_DDR_config: unconfig
600 @mkdir -p $(obj)include 600 @mkdir -p $(obj)include
601 @ >$(obj)include/config.h 601 @ >$(obj)include/config.h
602 @[ -z "$(findstring DDR,$@)" ] || \ 602 @[ -z "$(findstring DDR,$@)" ] || \
603 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \ 603 { echo "#define CONFIG_MPC5200_DDR" >>$(obj)include/config.h ; \
604 $(XECHO) "... DDR memory revision" ; \ 604 $(XECHO) "... DDR memory revision" ; \
605 } 605 }
606 @[ -z "$(findstring ROMBOOT,$@)" ] || \ 606 @[ -z "$(findstring ROMBOOT,$@)" ] || \
607 { echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \ 607 { echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
608 $(XECHO) "... booting from 8-bit flash" ; \ 608 $(XECHO) "... booting from 8-bit flash" ; \
609 } 609 }
610 @$(MKCONFIG) -a PM520 ppc mpc5xxx pm520 610 @$(MKCONFIG) -a PM520 ppc mpc5xxx pm520
611 611
612 smmaco4_config: unconfig 612 smmaco4_config: unconfig
613 @$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200 613 @$(MKCONFIG) -a smmaco4 ppc mpc5xxx tqm5200
614 614
615 cm5200_config: unconfig 615 cm5200_config: unconfig
616 @./mkconfig -a cm5200 ppc mpc5xxx cm5200 616 @./mkconfig -a cm5200 ppc mpc5xxx cm5200
617 617
618 spieval_config: unconfig 618 spieval_config: unconfig
619 @$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200 619 @$(MKCONFIG) -a spieval ppc mpc5xxx tqm5200
620 620
621 TB5200_B_config \ 621 TB5200_B_config \
622 TB5200_config: unconfig 622 TB5200_config: unconfig
623 @mkdir -p $(obj)include 623 @mkdir -p $(obj)include
624 @[ -z "$(findstring _B,$@)" ] || \ 624 @[ -z "$(findstring _B,$@)" ] || \
625 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \ 625 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
626 $(XECHO) "... with MPC5200B processor" ; \ 626 $(XECHO) "... with MPC5200B processor" ; \
627 } 627 }
628 @$(MKCONFIG) -n $@ -a TB5200 ppc mpc5xxx tqm5200 628 @$(MKCONFIG) -n $@ -a TB5200 ppc mpc5xxx tqm5200
629 629
630 MINI5200_config \ 630 MINI5200_config \
631 EVAL5200_config \ 631 EVAL5200_config \
632 TOP5200_config: unconfig 632 TOP5200_config: unconfig
633 @mkdir -p $(obj)include 633 @mkdir -p $(obj)include
634 @ echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h 634 @ echo "#define CONFIG_$(@:_config=) 1" >$(obj)include/config.h
635 @$(MKCONFIG) -n $@ -a TOP5200 ppc mpc5xxx top5200 emk 635 @$(MKCONFIG) -n $@ -a TOP5200 ppc mpc5xxx top5200 emk
636 636
637 Total5100_config \ 637 Total5100_config \
638 Total5200_config \ 638 Total5200_config \
639 Total5200_lowboot_config \ 639 Total5200_lowboot_config \
640 Total5200_Rev2_config \ 640 Total5200_Rev2_config \
641 Total5200_Rev2_lowboot_config: unconfig 641 Total5200_Rev2_lowboot_config: unconfig
642 @mkdir -p $(obj)include 642 @mkdir -p $(obj)include
643 @mkdir -p $(obj)board/total5200 643 @mkdir -p $(obj)board/total5200
644 @ >$(obj)include/config.h 644 @ >$(obj)include/config.h
645 @[ -z "$(findstring 5100,$@)" ] || \ 645 @[ -z "$(findstring 5100,$@)" ] || \
646 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \ 646 { echo "#define CONFIG_MGT5100" >>$(obj)include/config.h ; \
647 $(XECHO) "... with MGT5100 processor" ; \ 647 $(XECHO) "... with MGT5100 processor" ; \
648 } 648 }
649 @[ -z "$(findstring 5200,$@)" ] || \ 649 @[ -z "$(findstring 5200,$@)" ] || \
650 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \ 650 { echo "#define CONFIG_MPC5200" >>$(obj)include/config.h ; \
651 $(XECHO) "... with MPC5200 processor" ; \ 651 $(XECHO) "... with MPC5200 processor" ; \
652 } 652 }
653 @[ -n "$(findstring Rev,$@)" ] || \ 653 @[ -n "$(findstring Rev,$@)" ] || \
654 { echo "#define CONFIG_TOTAL5200_REV 1" >>$(obj)include/config.h ; \ 654 { echo "#define CONFIG_TOTAL5200_REV 1" >>$(obj)include/config.h ; \
655 $(XECHO) "... revision 1 board" ; \ 655 $(XECHO) "... revision 1 board" ; \
656 } 656 }
657 @[ -z "$(findstring Rev2_,$@)" ] || \ 657 @[ -z "$(findstring Rev2_,$@)" ] || \
658 { echo "#define CONFIG_TOTAL5200_REV 2" >>$(obj)include/config.h ; \ 658 { echo "#define CONFIG_TOTAL5200_REV 2" >>$(obj)include/config.h ; \
659 $(XECHO) "... revision 2 board" ; \ 659 $(XECHO) "... revision 2 board" ; \
660 } 660 }
661 @[ -z "$(findstring lowboot_,$@)" ] || \ 661 @[ -z "$(findstring lowboot_,$@)" ] || \
662 { echo "TEXT_BASE = 0xFE000000" >$(obj)board/total5200/config.tmp ; \ 662 { echo "TEXT_BASE = 0xFE000000" >$(obj)board/total5200/config.tmp ; \
663 $(XECHO) "... with lowboot configuration" ; \ 663 $(XECHO) "... with lowboot configuration" ; \
664 } 664 }
665 @$(MKCONFIG) -a Total5200 ppc mpc5xxx total5200 665 @$(MKCONFIG) -a Total5200 ppc mpc5xxx total5200
666 666
667 cam5200_config \ 667 cam5200_config \
668 cam5200_niosflash_config \ 668 cam5200_niosflash_config \
669 fo300_config \ 669 fo300_config \
670 MiniFAP_config \ 670 MiniFAP_config \
671 TQM5200S_config \ 671 TQM5200S_config \
672 TQM5200S_HIGHBOOT_config \ 672 TQM5200S_HIGHBOOT_config \
673 TQM5200_B_config \ 673 TQM5200_B_config \
674 TQM5200_B_HIGHBOOT_config \ 674 TQM5200_B_HIGHBOOT_config \
675 TQM5200_config \ 675 TQM5200_config \
676 TQM5200_STK100_config: unconfig 676 TQM5200_STK100_config: unconfig
677 @mkdir -p $(obj)include 677 @mkdir -p $(obj)include
678 @mkdir -p $(obj)board/tqm5200 678 @mkdir -p $(obj)board/tqm5200
679 @ >$(obj)include/config.h 679 @ >$(obj)include/config.h
680 @[ -z "$(findstring cam5200,$@)" ] || \ 680 @[ -z "$(findstring cam5200,$@)" ] || \
681 { echo "#define CONFIG_CAM5200" >>$(obj)include/config.h ; \ 681 { echo "#define CONFIG_CAM5200" >>$(obj)include/config.h ; \
682 echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \ 682 echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
683 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \ 683 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
684 $(XECHO) "... TQM5200S on Cam5200" ; \ 684 $(XECHO) "... TQM5200S on Cam5200" ; \
685 } 685 }
686 @[ -z "$(findstring niosflash,$@)" ] || \ 686 @[ -z "$(findstring niosflash,$@)" ] || \
687 { echo "#define CONFIG_CAM5200_NIOSFLASH" >>$(obj)include/config.h ; \ 687 { echo "#define CONFIG_CAM5200_NIOSFLASH" >>$(obj)include/config.h ; \
688 $(XECHO) "... with NIOS flash driver" ; \ 688 $(XECHO) "... with NIOS flash driver" ; \
689 } 689 }
690 @[ -z "$(findstring fo300,$@)" ] || \ 690 @[ -z "$(findstring fo300,$@)" ] || \
691 { echo "#define CONFIG_FO300" >>$(obj)include/config.h ; \ 691 { echo "#define CONFIG_FO300" >>$(obj)include/config.h ; \
692 $(XECHO) "... TQM5200 on FO300" ; \ 692 $(XECHO) "... TQM5200 on FO300" ; \
693 } 693 }
694 @[ -z "$(findstring MiniFAP,$@)" ] || \ 694 @[ -z "$(findstring MiniFAP,$@)" ] || \
695 { echo "#define CONFIG_MINIFAP" >>$(obj)include/config.h ; \ 695 { echo "#define CONFIG_MINIFAP" >>$(obj)include/config.h ; \
696 $(XECHO) "... TQM5200_AC on MiniFAP" ; \ 696 $(XECHO) "... TQM5200_AC on MiniFAP" ; \
697 } 697 }
698 @[ -z "$(findstring STK100,$@)" ] || \ 698 @[ -z "$(findstring STK100,$@)" ] || \
699 { echo "#define CONFIG_STK52XX_REV100" >>$(obj)include/config.h ; \ 699 { echo "#define CONFIG_STK52XX_REV100" >>$(obj)include/config.h ; \
700 $(XECHO) "... on a STK52XX.100 base board" ; \ 700 $(XECHO) "... on a STK52XX.100 base board" ; \
701 } 701 }
702 @[ -z "$(findstring TQM5200_B,$@)" ] || \ 702 @[ -z "$(findstring TQM5200_B,$@)" ] || \
703 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \ 703 { echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
704 } 704 }
705 @[ -z "$(findstring TQM5200S,$@)" ] || \ 705 @[ -z "$(findstring TQM5200S,$@)" ] || \
706 { echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \ 706 { echo "#define CONFIG_TQM5200S" >>$(obj)include/config.h ; \
707 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \ 707 echo "#define CONFIG_TQM5200_B" >>$(obj)include/config.h ; \
708 } 708 }
709 @[ -z "$(findstring HIGHBOOT,$@)" ] || \ 709 @[ -z "$(findstring HIGHBOOT,$@)" ] || \
710 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp ; \ 710 { echo "TEXT_BASE = 0xFFF00000" >$(obj)board/tqm5200/config.tmp ; \
711 } 711 }
712 @$(MKCONFIG) -n $@ -a TQM5200 ppc mpc5xxx tqm5200 712 @$(MKCONFIG) -n $@ -a TQM5200 ppc mpc5xxx tqm5200
713 uc101_config: unconfig 713 uc101_config: unconfig
714 @$(MKCONFIG) uc101 ppc mpc5xxx uc101 714 @$(MKCONFIG) uc101 ppc mpc5xxx uc101
715 motionpro_config: unconfig 715 motionpro_config: unconfig
716 @$(MKCONFIG) motionpro ppc mpc5xxx motionpro 716 @$(MKCONFIG) motionpro ppc mpc5xxx motionpro
717 717
718 718
719 ######################################################################### 719 #########################################################################
720 ## MPC512x Systems 720 ## MPC512x Systems
721 ######################################################################### 721 #########################################################################
722 ads5121_config: unconfig 722 ads5121_config: unconfig
723 @$(MKCONFIG) ads5121 ppc mpc512x ads5121 723 @$(MKCONFIG) ads5121 ppc mpc512x ads5121
724 724
725 725
726 ######################################################################### 726 #########################################################################
727 ## MPC8xx Systems 727 ## MPC8xx Systems
728 ######################################################################### 728 #########################################################################
729 729
730 Adder_config \ 730 Adder_config \
731 Adder87x_config \ 731 Adder87x_config \
732 AdderII_config \ 732 AdderII_config \
733 : unconfig 733 : unconfig
734 @mkdir -p $(obj)include 734 @mkdir -p $(obj)include
735 $(if $(findstring AdderII,$@), \ 735 $(if $(findstring AdderII,$@), \
736 @echo "#define CONFIG_MPC852T" > $(obj)include/config.h) 736 @echo "#define CONFIG_MPC852T" > $(obj)include/config.h)
737 @$(MKCONFIG) -a Adder ppc mpc8xx adder 737 @$(MKCONFIG) -a Adder ppc mpc8xx adder
738 738
739 AdderUSB_config: unconfig 739 AdderUSB_config: unconfig
740 @./mkconfig -a AdderUSB ppc mpc8xx adder 740 @./mkconfig -a AdderUSB ppc mpc8xx adder
741 741
742 ADS860_config \ 742 ADS860_config \
743 FADS823_config \ 743 FADS823_config \
744 FADS850SAR_config \ 744 FADS850SAR_config \
745 MPC86xADS_config \ 745 MPC86xADS_config \
746 MPC885ADS_config \ 746 MPC885ADS_config \
747 FADS860T_config: unconfig 747 FADS860T_config: unconfig
748 @$(MKCONFIG) $(@:_config=) ppc mpc8xx fads 748 @$(MKCONFIG) $(@:_config=) ppc mpc8xx fads
749 749
750 AMX860_config : unconfig 750 AMX860_config : unconfig
751 @$(MKCONFIG) $(@:_config=) ppc mpc8xx amx860 westel 751 @$(MKCONFIG) $(@:_config=) ppc mpc8xx amx860 westel
752 752
753 c2mon_config: unconfig 753 c2mon_config: unconfig
754 @$(MKCONFIG) $(@:_config=) ppc mpc8xx c2mon 754 @$(MKCONFIG) $(@:_config=) ppc mpc8xx c2mon
755 755
756 CCM_config: unconfig 756 CCM_config: unconfig
757 @$(MKCONFIG) $(@:_config=) ppc mpc8xx CCM siemens 757 @$(MKCONFIG) $(@:_config=) ppc mpc8xx CCM siemens
758 758
759 cogent_mpc8xx_config: unconfig 759 cogent_mpc8xx_config: unconfig
760 @$(MKCONFIG) $(@:_config=) ppc mpc8xx cogent 760 @$(MKCONFIG) $(@:_config=) ppc mpc8xx cogent
761 761
762 ELPT860_config: unconfig 762 ELPT860_config: unconfig
763 @$(MKCONFIG) $(@:_config=) ppc mpc8xx elpt860 LEOX 763 @$(MKCONFIG) $(@:_config=) ppc mpc8xx elpt860 LEOX
764 764
765 EP88x_config: unconfig 765 EP88x_config: unconfig
766 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ep88x 766 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ep88x
767 767
768 ESTEEM192E_config: unconfig 768 ESTEEM192E_config: unconfig
769 @$(MKCONFIG) $(@:_config=) ppc mpc8xx esteem192e 769 @$(MKCONFIG) $(@:_config=) ppc mpc8xx esteem192e
770 770
771 ETX094_config : unconfig 771 ETX094_config : unconfig
772 @$(MKCONFIG) $(@:_config=) ppc mpc8xx etx094 772 @$(MKCONFIG) $(@:_config=) ppc mpc8xx etx094
773 773
774 FLAGADM_config: unconfig 774 FLAGADM_config: unconfig
775 @$(MKCONFIG) $(@:_config=) ppc mpc8xx flagadm 775 @$(MKCONFIG) $(@:_config=) ppc mpc8xx flagadm
776 776
777 xtract_GEN860T = $(subst _SC,,$(subst _config,,$1)) 777 xtract_GEN860T = $(subst _SC,,$(subst _config,,$1))
778 778
779 GEN860T_SC_config \ 779 GEN860T_SC_config \
780 GEN860T_config: unconfig 780 GEN860T_config: unconfig
781 @mkdir -p $(obj)include 781 @mkdir -p $(obj)include
782 @ >$(obj)include/config.h 782 @ >$(obj)include/config.h
783 @[ -z "$(findstring _SC,$@)" ] || \ 783 @[ -z "$(findstring _SC,$@)" ] || \
784 { echo "#define CONFIG_SC" >>$(obj)include/config.h ; \ 784 { echo "#define CONFIG_SC" >>$(obj)include/config.h ; \
785 $(XECHO) "With reduced H/W feature set (SC)..." ; \ 785 $(XECHO) "With reduced H/W feature set (SC)..." ; \
786 } 786 }
787 @$(MKCONFIG) -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t 787 @$(MKCONFIG) -a $(call xtract_GEN860T,$@) ppc mpc8xx gen860t
788 788
789 GENIETV_config: unconfig 789 GENIETV_config: unconfig
790 @$(MKCONFIG) $(@:_config=) ppc mpc8xx genietv 790 @$(MKCONFIG) $(@:_config=) ppc mpc8xx genietv
791 791
792 GTH_config: unconfig 792 GTH_config: unconfig
793 @$(MKCONFIG) $(@:_config=) ppc mpc8xx gth 793 @$(MKCONFIG) $(@:_config=) ppc mpc8xx gth
794 794
795 hermes_config : unconfig 795 hermes_config : unconfig
796 @$(MKCONFIG) $(@:_config=) ppc mpc8xx hermes 796 @$(MKCONFIG) $(@:_config=) ppc mpc8xx hermes
797 797
798 HMI10_config : unconfig 798 HMI10_config : unconfig
799 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx 799 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
800 800
801 IAD210_config: unconfig 801 IAD210_config: unconfig
802 @$(MKCONFIG) $(@:_config=) ppc mpc8xx IAD210 siemens 802 @$(MKCONFIG) $(@:_config=) ppc mpc8xx IAD210 siemens
803 803
804 xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1)) 804 xtract_ICU862 = $(subst _100MHz,,$(subst _config,,$1))
805 805
806 ICU862_100MHz_config \ 806 ICU862_100MHz_config \
807 ICU862_config: unconfig 807 ICU862_config: unconfig
808 @mkdir -p $(obj)include 808 @mkdir -p $(obj)include
809 @ >$(obj)include/config.h 809 @ >$(obj)include/config.h
810 @[ -z "$(findstring _100MHz,$@)" ] || \ 810 @[ -z "$(findstring _100MHz,$@)" ] || \
811 { echo "#define CONFIG_100MHz" >>$(obj)include/config.h ; \ 811 { echo "#define CONFIG_100MHz" >>$(obj)include/config.h ; \
812 $(XECHO) "... with 100MHz system clock" ; \ 812 $(XECHO) "... with 100MHz system clock" ; \
813 } 813 }
814 @$(MKCONFIG) -a $(call xtract_ICU862,$@) ppc mpc8xx icu862 814 @$(MKCONFIG) -a $(call xtract_ICU862,$@) ppc mpc8xx icu862
815 815
816 IP860_config : unconfig 816 IP860_config : unconfig
817 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ip860 817 @$(MKCONFIG) $(@:_config=) ppc mpc8xx ip860
818 818
819 IVML24_256_config \ 819 IVML24_256_config \
820 IVML24_128_config \ 820 IVML24_128_config \
821 IVML24_config: unconfig 821 IVML24_config: unconfig
822 @mkdir -p $(obj)include 822 @mkdir -p $(obj)include
823 @ >$(obj)include/config.h 823 @ >$(obj)include/config.h
824 @[ -z "$(findstring IVML24_config,$@)" ] || \ 824 @[ -z "$(findstring IVML24_config,$@)" ] || \
825 { echo "#define CONFIG_IVML24_16M" >>$(obj)include/config.h ; \ 825 { echo "#define CONFIG_IVML24_16M" >>$(obj)include/config.h ; \
826 } 826 }
827 @[ -z "$(findstring IVML24_128_config,$@)" ] || \ 827 @[ -z "$(findstring IVML24_128_config,$@)" ] || \
828 { echo "#define CONFIG_IVML24_32M" >>$(obj)include/config.h ; \ 828 { echo "#define CONFIG_IVML24_32M" >>$(obj)include/config.h ; \
829 } 829 }
830 @[ -z "$(findstring IVML24_256_config,$@)" ] || \ 830 @[ -z "$(findstring IVML24_256_config,$@)" ] || \
831 { echo "#define CONFIG_IVML24_64M" >>$(obj)include/config.h ; \ 831 { echo "#define CONFIG_IVML24_64M" >>$(obj)include/config.h ; \
832 } 832 }
833 @$(MKCONFIG) -a IVML24 ppc mpc8xx ivm 833 @$(MKCONFIG) -a IVML24 ppc mpc8xx ivm
834 834
835 IVMS8_256_config \ 835 IVMS8_256_config \
836 IVMS8_128_config \ 836 IVMS8_128_config \
837 IVMS8_config: unconfig 837 IVMS8_config: unconfig
838 @mkdir -p $(obj)include 838 @mkdir -p $(obj)include
839 @ >$(obj)include/config.h 839 @ >$(obj)include/config.h
840 @[ -z "$(findstring IVMS8_config,$@)" ] || \ 840 @[ -z "$(findstring IVMS8_config,$@)" ] || \
841 { echo "#define CONFIG_IVMS8_16M" >>$(obj)include/config.h ; \ 841 { echo "#define CONFIG_IVMS8_16M" >>$(obj)include/config.h ; \
842 } 842 }
843 @[ -z "$(findstring IVMS8_128_config,$@)" ] || \ 843 @[ -z "$(findstring IVMS8_128_config,$@)" ] || \
844 { echo "#define CONFIG_IVMS8_32M" >>$(obj)include/config.h ; \ 844 { echo "#define CONFIG_IVMS8_32M" >>$(obj)include/config.h ; \
845 } 845 }
846 @[ -z "$(findstring IVMS8_256_config,$@)" ] || \ 846 @[ -z "$(findstring IVMS8_256_config,$@)" ] || \
847 { echo "#define CONFIG_IVMS8_64M" >>$(obj)include/config.h ; \ 847 { echo "#define CONFIG_IVMS8_64M" >>$(obj)include/config.h ; \
848 } 848 }
849 @$(MKCONFIG) -a IVMS8 ppc mpc8xx ivm 849 @$(MKCONFIG) -a IVMS8 ppc mpc8xx ivm
850 850
851 KUP4K_config : unconfig 851 KUP4K_config : unconfig
852 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4k kup 852 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4k kup
853 853
854 KUP4X_config : unconfig 854 KUP4X_config : unconfig
855 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4x kup 855 @$(MKCONFIG) $(@:_config=) ppc mpc8xx kup4x kup
856 856
857 LANTEC_config : unconfig 857 LANTEC_config : unconfig
858 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lantec 858 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lantec
859 859
860 lwmon_config: unconfig 860 lwmon_config: unconfig
861 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lwmon 861 @$(MKCONFIG) $(@:_config=) ppc mpc8xx lwmon
862 862
863 MBX_config \ 863 MBX_config \
864 MBX860T_config: unconfig 864 MBX860T_config: unconfig
865 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx 865 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mbx8xx
866 866
867 mgsuvd_config: unconfig 867 mgsuvd_config: unconfig
868 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mgsuvd 868 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mgsuvd
869 869
870 MHPC_config: unconfig 870 MHPC_config: unconfig
871 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec 871 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mhpc eltec
872 872
873 MVS1_config : unconfig 873 MVS1_config : unconfig
874 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mvs1 874 @$(MKCONFIG) $(@:_config=) ppc mpc8xx mvs1
875 875
876 xtract_NETVIA = $(subst _V2,,$(subst _config,,$1)) 876 xtract_NETVIA = $(subst _V2,,$(subst _config,,$1))
877 877
878 NETVIA_V2_config \ 878 NETVIA_V2_config \
879 NETVIA_config: unconfig 879 NETVIA_config: unconfig
880 @mkdir -p $(obj)include 880 @mkdir -p $(obj)include
881 @ >$(obj)include/config.h 881 @ >$(obj)include/config.h
882 @[ -z "$(findstring NETVIA_config,$@)" ] || \ 882 @[ -z "$(findstring NETVIA_config,$@)" ] || \
883 { echo "#define CONFIG_NETVIA_VERSION 1" >>$(obj)include/config.h ; \ 883 { echo "#define CONFIG_NETVIA_VERSION 1" >>$(obj)include/config.h ; \
884 $(XECHO) "... Version 1" ; \ 884 $(XECHO) "... Version 1" ; \
885 } 885 }
886 @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \ 886 @[ -z "$(findstring NETVIA_V2_config,$@)" ] || \
887 { echo "#define CONFIG_NETVIA_VERSION 2" >>$(obj)include/config.h ; \ 887 { echo "#define CONFIG_NETVIA_VERSION 2" >>$(obj)include/config.h ; \
888 $(XECHO) "... Version 2" ; \ 888 $(XECHO) "... Version 2" ; \
889 } 889 }
890 @$(MKCONFIG) -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia 890 @$(MKCONFIG) -a $(call xtract_NETVIA,$@) ppc mpc8xx netvia
891 891
892 xtract_NETPHONE = $(subst _V2,,$(subst _config,,$1)) 892 xtract_NETPHONE = $(subst _V2,,$(subst _config,,$1))
893 893
894 NETPHONE_V2_config \ 894 NETPHONE_V2_config \
895 NETPHONE_config: unconfig 895 NETPHONE_config: unconfig
896 @mkdir -p $(obj)include 896 @mkdir -p $(obj)include
897 @ >$(obj)include/config.h 897 @ >$(obj)include/config.h
898 @[ -z "$(findstring NETPHONE_config,$@)" ] || \ 898 @[ -z "$(findstring NETPHONE_config,$@)" ] || \
899 { echo "#define CONFIG_NETPHONE_VERSION 1" >>$(obj)include/config.h ; \ 899 { echo "#define CONFIG_NETPHONE_VERSION 1" >>$(obj)include/config.h ; \
900 } 900 }
901 @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \ 901 @[ -z "$(findstring NETPHONE_V2_config,$@)" ] || \
902 { echo "#define CONFIG_NETPHONE_VERSION 2" >>$(obj)include/config.h ; \ 902 { echo "#define CONFIG_NETPHONE_VERSION 2" >>$(obj)include/config.h ; \
903 } 903 }
904 @$(MKCONFIG) -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone 904 @$(MKCONFIG) -a $(call xtract_NETPHONE,$@) ppc mpc8xx netphone
905 905
906 xtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1)))) 906 xtract_NETTA = $(subst _SWAPHOOK,,$(subst _6412,,$(subst _ISDN,,$(subst _config,,$1))))
907 907
908 NETTA_ISDN_6412_SWAPHOOK_config \ 908 NETTA_ISDN_6412_SWAPHOOK_config \
909 NETTA_ISDN_SWAPHOOK_config \ 909 NETTA_ISDN_SWAPHOOK_config \
910 NETTA_6412_SWAPHOOK_config \ 910 NETTA_6412_SWAPHOOK_config \
911 NETTA_SWAPHOOK_config \ 911 NETTA_SWAPHOOK_config \
912 NETTA_ISDN_6412_config \ 912 NETTA_ISDN_6412_config \
913 NETTA_ISDN_config \ 913 NETTA_ISDN_config \
914 NETTA_6412_config \ 914 NETTA_6412_config \
915 NETTA_config: unconfig 915 NETTA_config: unconfig
916 @mkdir -p $(obj)include 916 @mkdir -p $(obj)include
917 @ >$(obj)include/config.h 917 @ >$(obj)include/config.h
918 @[ -z "$(findstring ISDN_,$@)" ] || \ 918 @[ -z "$(findstring ISDN_,$@)" ] || \
919 { echo "#define CONFIG_NETTA_ISDN 1" >>$(obj)include/config.h ; \ 919 { echo "#define CONFIG_NETTA_ISDN 1" >>$(obj)include/config.h ; \
920 } 920 }
921 @[ -n "$(findstring ISDN_,$@)" ] || \ 921 @[ -n "$(findstring ISDN_,$@)" ] || \
922 { echo "#undef CONFIG_NETTA_ISDN" >>$(obj)include/config.h ; \ 922 { echo "#undef CONFIG_NETTA_ISDN" >>$(obj)include/config.h ; \
923 } 923 }
924 @[ -z "$(findstring 6412_,$@)" ] || \ 924 @[ -z "$(findstring 6412_,$@)" ] || \
925 { echo "#define CONFIG_NETTA_6412 1" >>$(obj)include/config.h ; \ 925 { echo "#define CONFIG_NETTA_6412 1" >>$(obj)include/config.h ; \
926 } 926 }
927 @[ -n "$(findstring 6412_,$@)" ] || \ 927 @[ -n "$(findstring 6412_,$@)" ] || \
928 { echo "#undef CONFIG_NETTA_6412" >>$(obj)include/config.h ; \ 928 { echo "#undef CONFIG_NETTA_6412" >>$(obj)include/config.h ; \
929 } 929 }
930 @[ -z "$(findstring SWAPHOOK_,$@)" ] || \ 930 @[ -z "$(findstring SWAPHOOK_,$@)" ] || \
931 { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj)include/config.h ; \ 931 { echo "#define CONFIG_NETTA_SWAPHOOK 1" >>$(obj)include/config.h ; \
932 } 932 }
933 @[ -n "$(findstring SWAPHOOK_,$@)" ] || \ 933 @[ -n "$(findstring SWAPHOOK_,$@)" ] || \
934 { echo "#undef CONFIG_NETTA_SWAPHOOK" >>$(obj)include/config.h ; \ 934 { echo "#undef CONFIG_NETTA_SWAPHOOK" >>$(obj)include/config.h ; \
935 } 935 }
936 @$(MKCONFIG) -a $(call xtract_NETTA,$@) ppc mpc8xx netta 936 @$(MKCONFIG) -a $(call xtract_NETTA,$@) ppc mpc8xx netta
937 937
938 xtract_NETTA2 = $(subst _V2,,$(subst _config,,$1)) 938 xtract_NETTA2 = $(subst _V2,,$(subst _config,,$1))
939 939
940 NETTA2_V2_config \ 940 NETTA2_V2_config \
941 NETTA2_config: unconfig 941 NETTA2_config: unconfig
942 @mkdir -p $(obj)include 942 @mkdir -p $(obj)include
943 @ >$(obj)include/config.h 943 @ >$(obj)include/config.h
944 @[ -z "$(findstring NETTA2_config,$@)" ] || \ 944 @[ -z "$(findstring NETTA2_config,$@)" ] || \
945 { echo "#define CONFIG_NETTA2_VERSION 1" >>$(obj)include/config.h ; \ 945 { echo "#define CONFIG_NETTA2_VERSION 1" >>$(obj)include/config.h ; \
946 } 946 }
947 @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \ 947 @[ -z "$(findstring NETTA2_V2_config,$@)" ] || \
948 { echo "#define CONFIG_NETTA2_VERSION 2" >>$(obj)include/config.h ; \ 948 { echo "#define CONFIG_NETTA2_VERSION 2" >>$(obj)include/config.h ; \
949 } 949 }
950 @$(MKCONFIG) -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2 950 @$(MKCONFIG) -a $(call xtract_NETTA2,$@) ppc mpc8xx netta2
951 951
952 NC650_Rev1_config \ 952 NC650_Rev1_config \
953 NC650_Rev2_config \ 953 NC650_Rev2_config \
954 CP850_config: unconfig 954 CP850_config: unconfig
955 @mkdir -p $(obj)include 955 @mkdir -p $(obj)include
956 @ >$(obj)include/config.h 956 @ >$(obj)include/config.h
957 @[ -z "$(findstring CP850,$@)" ] || \ 957 @[ -z "$(findstring CP850,$@)" ] || \
958 { echo "#define CONFIG_CP850 1" >>$(obj)include/config.h ; \ 958 { echo "#define CONFIG_CP850 1" >>$(obj)include/config.h ; \
959 echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \ 959 echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
960 } 960 }
961 @[ -z "$(findstring Rev1,$@)" ] || \ 961 @[ -z "$(findstring Rev1,$@)" ] || \
962 { echo "#define CONFIG_IDS852_REV1 1" >>$(obj)include/config.h ; \ 962 { echo "#define CONFIG_IDS852_REV1 1" >>$(obj)include/config.h ; \
963 } 963 }
964 @[ -z "$(findstring Rev2,$@)" ] || \ 964 @[ -z "$(findstring Rev2,$@)" ] || \
965 { echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \ 965 { echo "#define CONFIG_IDS852_REV2 1" >>$(obj)include/config.h ; \
966 } 966 }
967 @$(MKCONFIG) -a NC650 ppc mpc8xx nc650 967 @$(MKCONFIG) -a NC650 ppc mpc8xx nc650
968 968
969 NX823_config: unconfig 969 NX823_config: unconfig
970 @$(MKCONFIG) $(@:_config=) ppc mpc8xx nx823 970 @$(MKCONFIG) $(@:_config=) ppc mpc8xx nx823
971 971
972 pcu_e_config: unconfig 972 pcu_e_config: unconfig
973 @$(MKCONFIG) $(@:_config=) ppc mpc8xx pcu_e siemens 973 @$(MKCONFIG) $(@:_config=) ppc mpc8xx pcu_e siemens
974 974
975 QS850_config: unconfig 975 QS850_config: unconfig
976 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc 976 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
977 977
978 QS823_config: unconfig 978 QS823_config: unconfig
979 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc 979 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs850 snmc
980 980
981 QS860T_config: unconfig 981 QS860T_config: unconfig
982 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs860t snmc 982 @$(MKCONFIG) $(@:_config=) ppc mpc8xx qs860t snmc
983 983
984 quantum_config: unconfig 984 quantum_config: unconfig
985 @$(MKCONFIG) $(@:_config=) ppc mpc8xx quantum 985 @$(MKCONFIG) $(@:_config=) ppc mpc8xx quantum
986 986
987 R360MPI_config: unconfig 987 R360MPI_config: unconfig
988 @$(MKCONFIG) $(@:_config=) ppc mpc8xx r360mpi 988 @$(MKCONFIG) $(@:_config=) ppc mpc8xx r360mpi
989 989
990 RBC823_config: unconfig 990 RBC823_config: unconfig
991 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rbc823 991 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rbc823
992 992
993 RPXClassic_config: unconfig 993 RPXClassic_config: unconfig
994 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXClassic 994 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXClassic
995 995
996 RPXlite_config: unconfig 996 RPXlite_config: unconfig
997 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXlite 997 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RPXlite
998 998
999 RPXlite_DW_64_config \ 999 RPXlite_DW_64_config \
1000 RPXlite_DW_LCD_config \ 1000 RPXlite_DW_LCD_config \
1001 RPXlite_DW_64_LCD_config \ 1001 RPXlite_DW_64_LCD_config \
1002 RPXlite_DW_NVRAM_config \ 1002 RPXlite_DW_NVRAM_config \
1003 RPXlite_DW_NVRAM_64_config \ 1003 RPXlite_DW_NVRAM_64_config \
1004 RPXlite_DW_NVRAM_LCD_config \ 1004 RPXlite_DW_NVRAM_LCD_config \
1005 RPXlite_DW_NVRAM_64_LCD_config \ 1005 RPXlite_DW_NVRAM_64_LCD_config \
1006 RPXlite_DW_config: unconfig 1006 RPXlite_DW_config: unconfig
1007 @mkdir -p $(obj)include 1007 @mkdir -p $(obj)include
1008 @ >$(obj)include/config.h 1008 @ >$(obj)include/config.h
1009 @[ -z "$(findstring _64,$@)" ] || \ 1009 @[ -z "$(findstring _64,$@)" ] || \
1010 { echo "#define RPXlite_64MHz" >>$(obj)include/config.h ; \ 1010 { echo "#define RPXlite_64MHz" >>$(obj)include/config.h ; \
1011 $(XECHO) "... with 64MHz system clock ..."; \ 1011 $(XECHO) "... with 64MHz system clock ..."; \
1012 } 1012 }
1013 @[ -z "$(findstring _LCD,$@)" ] || \ 1013 @[ -z "$(findstring _LCD,$@)" ] || \
1014 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \ 1014 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
1015 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \ 1015 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
1016 $(XECHO) "... with LCD display ..."; \ 1016 $(XECHO) "... with LCD display ..."; \
1017 } 1017 }
1018 @[ -z "$(findstring _NVRAM,$@)" ] || \ 1018 @[ -z "$(findstring _NVRAM,$@)" ] || \
1019 { echo "#define CFG_ENV_IS_IN_NVRAM" >>$(obj)include/config.h ; \ 1019 { echo "#define CFG_ENV_IS_IN_NVRAM" >>$(obj)include/config.h ; \
1020 $(XECHO) "... with ENV in NVRAM ..."; \ 1020 $(XECHO) "... with ENV in NVRAM ..."; \
1021 } 1021 }
1022 @$(MKCONFIG) -a RPXlite_DW ppc mpc8xx RPXlite_dw 1022 @$(MKCONFIG) -a RPXlite_DW ppc mpc8xx RPXlite_dw
1023 1023
1024 rmu_config: unconfig 1024 rmu_config: unconfig
1025 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rmu 1025 @$(MKCONFIG) $(@:_config=) ppc mpc8xx rmu
1026 1026
1027 RRvision_config: unconfig 1027 RRvision_config: unconfig
1028 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision 1028 @$(MKCONFIG) $(@:_config=) ppc mpc8xx RRvision
1029 1029
1030 RRvision_LCD_config: unconfig 1030 RRvision_LCD_config: unconfig
1031 @mkdir -p $(obj)include 1031 @mkdir -p $(obj)include
1032 @echo "#define CONFIG_LCD" >$(obj)include/config.h 1032 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1033 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h 1033 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
1034 @$(MKCONFIG) -a RRvision ppc mpc8xx RRvision 1034 @$(MKCONFIG) -a RRvision ppc mpc8xx RRvision
1035 1035
1036 SM850_config : unconfig 1036 SM850_config : unconfig
1037 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx 1037 @$(MKCONFIG) $(@:_config=) ppc mpc8xx tqm8xx
1038 1038
1039 spc1920_config: 1039 spc1920_config:
1040 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spc1920 1040 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spc1920
1041 1041
1042 SPD823TS_config: unconfig 1042 SPD823TS_config: unconfig
1043 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spd8xx 1043 @$(MKCONFIG) $(@:_config=) ppc mpc8xx spd8xx
1044 1044
1045 stxxtc_config: unconfig 1045 stxxtc_config: unconfig
1046 @$(MKCONFIG) $(@:_config=) ppc mpc8xx stxxtc 1046 @$(MKCONFIG) $(@:_config=) ppc mpc8xx stxxtc
1047 1047
1048 svm_sc8xx_config: unconfig 1048 svm_sc8xx_config: unconfig
1049 @$(MKCONFIG) $(@:_config=) ppc mpc8xx svm_sc8xx 1049 @$(MKCONFIG) $(@:_config=) ppc mpc8xx svm_sc8xx
1050 1050
1051 SXNI855T_config: unconfig 1051 SXNI855T_config: unconfig
1052 @$(MKCONFIG) $(@:_config=) ppc mpc8xx sixnet 1052 @$(MKCONFIG) $(@:_config=) ppc mpc8xx sixnet
1053 1053
1054 # EMK MPC8xx based modules 1054 # EMK MPC8xx based modules
1055 TOP860_config: unconfig 1055 TOP860_config: unconfig
1056 @$(MKCONFIG) $(@:_config=) ppc mpc8xx top860 emk 1056 @$(MKCONFIG) $(@:_config=) ppc mpc8xx top860 emk
1057 1057
1058 # Play some tricks for configuration selection 1058 # Play some tricks for configuration selection
1059 # Only 855 and 860 boards may come with FEC 1059 # Only 855 and 860 boards may come with FEC
1060 # and only 823 boards may have LCD support 1060 # and only 823 boards may have LCD support
1061 xtract_8xx = $(subst _LCD,,$(subst _config,,$1)) 1061 xtract_8xx = $(subst _LCD,,$(subst _config,,$1))
1062 1062
1063 FPS850L_config \ 1063 FPS850L_config \
1064 FPS860L_config \ 1064 FPS860L_config \
1065 NSCU_config \ 1065 NSCU_config \
1066 TQM823L_config \ 1066 TQM823L_config \
1067 TQM823L_LCD_config \ 1067 TQM823L_LCD_config \
1068 TQM850L_config \ 1068 TQM850L_config \
1069 TQM855L_config \ 1069 TQM855L_config \
1070 TQM860L_config \ 1070 TQM860L_config \
1071 TQM862L_config \ 1071 TQM862L_config \
1072 TQM823M_config \ 1072 TQM823M_config \
1073 TQM850M_config \ 1073 TQM850M_config \
1074 TQM855M_config \ 1074 TQM855M_config \
1075 TQM860M_config \ 1075 TQM860M_config \
1076 TQM862M_config \ 1076 TQM862M_config \
1077 TQM866M_config \ 1077 TQM866M_config \
1078 TQM885D_config \ 1078 TQM885D_config \
1079 TK885D_config \ 1079 TK885D_config \
1080 virtlab2_config: unconfig 1080 virtlab2_config: unconfig
1081 @mkdir -p $(obj)include 1081 @mkdir -p $(obj)include
1082 @ >$(obj)include/config.h 1082 @ >$(obj)include/config.h
1083 @[ -z "$(findstring _LCD,$@)" ] || \ 1083 @[ -z "$(findstring _LCD,$@)" ] || \
1084 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \ 1084 { echo "#define CONFIG_LCD" >>$(obj)include/config.h ; \
1085 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \ 1085 echo "#define CONFIG_NEC_NL6448BC20" >>$(obj)include/config.h ; \
1086 $(XECHO) "... with LCD display" ; \ 1086 $(XECHO) "... with LCD display" ; \
1087 } 1087 }
1088 @$(MKCONFIG) -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx 1088 @$(MKCONFIG) -a $(call xtract_8xx,$@) ppc mpc8xx tqm8xx
1089 1089
1090 TTTech_config: unconfig 1090 TTTech_config: unconfig
1091 @mkdir -p $(obj)include 1091 @mkdir -p $(obj)include
1092 @echo "#define CONFIG_LCD" >$(obj)include/config.h 1092 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1093 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h 1093 @echo "#define CONFIG_SHARP_LQ104V7DS01" >>$(obj)include/config.h
1094 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx 1094 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
1095 1095
1096 uc100_config : unconfig 1096 uc100_config : unconfig
1097 @$(MKCONFIG) $(@:_config=) ppc mpc8xx uc100 1097 @$(MKCONFIG) $(@:_config=) ppc mpc8xx uc100
1098 1098
1099 v37_config: unconfig 1099 v37_config: unconfig
1100 @mkdir -p $(obj)include 1100 @mkdir -p $(obj)include
1101 @echo "#define CONFIG_LCD" >$(obj)include/config.h 1101 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1102 @echo "#define CONFIG_SHARP_LQ084V1DG21" >>$(obj)include/config.h 1102 @echo "#define CONFIG_SHARP_LQ084V1DG21" >>$(obj)include/config.h
1103 @$(MKCONFIG) $(@:_config=) ppc mpc8xx v37 1103 @$(MKCONFIG) $(@:_config=) ppc mpc8xx v37
1104 1104
1105 wtk_config: unconfig 1105 wtk_config: unconfig
1106 @mkdir -p $(obj)include 1106 @mkdir -p $(obj)include
1107 @echo "#define CONFIG_LCD" >$(obj)include/config.h 1107 @echo "#define CONFIG_LCD" >$(obj)include/config.h
1108 @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h 1108 @echo "#define CONFIG_SHARP_LQ065T9DR51U" >>$(obj)include/config.h
1109 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx 1109 @$(MKCONFIG) -a TQM823L ppc mpc8xx tqm8xx
1110 1110
1111 ######################################################################### 1111 #########################################################################
1112 ## PPC4xx Systems 1112 ## PPC4xx Systems
1113 ######################################################################### 1113 #########################################################################
1114 xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1)))))) 1114 xtract_4xx = $(subst _25,,$(subst _33,,$(subst _BA,,$(subst _ME,,$(subst _HI,,$(subst _config,,$1))))))
1115 1115
1116 acadia_config: unconfig 1116 acadia_config: unconfig
1117 @$(MKCONFIG) $(@:_config=) ppc ppc4xx acadia amcc 1117 @$(MKCONFIG) $(@:_config=) ppc ppc4xx acadia amcc
1118 1118
1119 acadia_nand_config: unconfig 1119 acadia_nand_config: unconfig
1120 @mkdir -p $(obj)include $(obj)board/amcc/acadia 1120 @mkdir -p $(obj)include $(obj)board/amcc/acadia
1121 @mkdir -p $(obj)nand_spl/board/amcc/acadia 1121 @mkdir -p $(obj)nand_spl/board/amcc/acadia
1122 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h 1122 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1123 @$(MKCONFIG) -n $@ -a acadia ppc ppc4xx acadia amcc 1123 @$(MKCONFIG) -n $@ -a acadia ppc ppc4xx acadia amcc
1124 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/acadia/config.tmp 1124 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/acadia/config.tmp
1125 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk 1125 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1126 1126
1127 ADCIOP_config: unconfig 1127 ADCIOP_config: unconfig
1128 @$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd 1128 @$(MKCONFIG) $(@:_config=) ppc ppc4xx adciop esd
1129 1129
1130 alpr_config: unconfig 1130 alpr_config: unconfig
1131 @$(MKCONFIG) $(@:_config=) ppc ppc4xx alpr prodrive 1131 @$(MKCONFIG) $(@:_config=) ppc ppc4xx alpr prodrive
1132 1132
1133 AP1000_config:unconfig 1133 AP1000_config:unconfig
1134 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix 1134 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ap1000 amirix
1135 1135
1136 APC405_config: unconfig 1136 APC405_config: unconfig
1137 @$(MKCONFIG) $(@:_config=) ppc ppc4xx apc405 esd 1137 @$(MKCONFIG) $(@:_config=) ppc ppc4xx apc405 esd
1138 1138
1139 AR405_config: unconfig 1139 AR405_config: unconfig
1140 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ar405 esd 1140 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ar405 esd
1141 1141
1142 ASH405_config: unconfig 1142 ASH405_config: unconfig
1143 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ash405 esd 1143 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ash405 esd
1144 1144
1145 bamboo_config: unconfig 1145 bamboo_config: unconfig
1146 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc 1146 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bamboo amcc
1147 1147
1148 bamboo_nand_config: unconfig 1148 bamboo_nand_config: unconfig
1149 @mkdir -p $(obj)include $(obj)board/amcc/bamboo 1149 @mkdir -p $(obj)include $(obj)board/amcc/bamboo
1150 @mkdir -p $(obj)nand_spl/board/amcc/bamboo 1150 @mkdir -p $(obj)nand_spl/board/amcc/bamboo
1151 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h 1151 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1152 @$(MKCONFIG) -n $@ -a bamboo ppc ppc4xx bamboo amcc 1152 @$(MKCONFIG) -n $@ -a bamboo ppc ppc4xx bamboo amcc
1153 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/bamboo/config.tmp 1153 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/bamboo/config.tmp
1154 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk 1154 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1155 1155
1156 bubinga_config: unconfig 1156 bubinga_config: unconfig
1157 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bubinga amcc 1157 @$(MKCONFIG) $(@:_config=) ppc ppc4xx bubinga amcc
1158 1158
1159 CANBT_config: unconfig 1159 CANBT_config: unconfig
1160 @$(MKCONFIG) $(@:_config=) ppc ppc4xx canbt esd 1160 @$(MKCONFIG) $(@:_config=) ppc ppc4xx canbt esd
1161 1161
1162 CATcenter_config \ 1162 CATcenter_config \
1163 CATcenter_25_config \ 1163 CATcenter_25_config \
1164 CATcenter_33_config: unconfig 1164 CATcenter_33_config: unconfig
1165 @mkdir -p $(obj)include 1165 @mkdir -p $(obj)include
1166 @ echo "/* CATcenter uses PPChameleon Model ME */" > $(obj)include/config.h 1166 @ echo "/* CATcenter uses PPChameleon Model ME */" > $(obj)include/config.h
1167 @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj)include/config.h 1167 @ echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >> $(obj)include/config.h
1168 @[ -z "$(findstring _25,$@)" ] || \ 1168 @[ -z "$(findstring _25,$@)" ] || \
1169 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj)include/config.h ; \ 1169 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >> $(obj)include/config.h ; \
1170 $(XECHO) "SysClk = 25MHz" ; \ 1170 $(XECHO) "SysClk = 25MHz" ; \
1171 } 1171 }
1172 @[ -z "$(findstring _33,$@)" ] || \ 1172 @[ -z "$(findstring _33,$@)" ] || \
1173 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj)include/config.h ; \ 1173 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >> $(obj)include/config.h ; \
1174 $(XECHO) "SysClk = 33MHz" ; \ 1174 $(XECHO) "SysClk = 33MHz" ; \
1175 } 1175 }
1176 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 1176 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1177 1177
1178 CPCI2DP_config: unconfig 1178 CPCI2DP_config: unconfig
1179 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd 1179 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci2dp esd
1180 1180
1181 CPCI405_config \ 1181 CPCI405_config \
1182 CPCI4052_config \ 1182 CPCI4052_config \
1183 CPCI405DT_config \ 1183 CPCI405DT_config \
1184 CPCI405AB_config: unconfig 1184 CPCI405AB_config: unconfig
1185 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd 1185 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpci405 esd
1186 @echo "BOARD_REVISION = $(@:_config=)" >> $(obj)include/config.mk 1186 @echo "BOARD_REVISION = $(@:_config=)" >> $(obj)include/config.mk
1187 1187
1188 CPCIISER4_config: unconfig 1188 CPCIISER4_config: unconfig
1189 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpciiser4 esd 1189 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cpciiser4 esd
1190 1190
1191 CRAYL1_config: unconfig 1191 CRAYL1_config: unconfig
1192 @$(MKCONFIG) $(@:_config=) ppc ppc4xx L1 cray 1192 @$(MKCONFIG) $(@:_config=) ppc ppc4xx L1 cray
1193 1193
1194 csb272_config: unconfig 1194 csb272_config: unconfig
1195 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb272 1195 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb272
1196 1196
1197 csb472_config: unconfig 1197 csb472_config: unconfig
1198 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb472 1198 @$(MKCONFIG) $(@:_config=) ppc ppc4xx csb472
1199 1199
1200 DASA_SIM_config: unconfig 1200 DASA_SIM_config: unconfig
1201 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dasa_sim esd 1201 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dasa_sim esd
1202 1202
1203 DP405_config: unconfig 1203 DP405_config: unconfig
1204 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dp405 esd 1204 @$(MKCONFIG) $(@:_config=) ppc ppc4xx dp405 esd
1205 1205
1206 DU405_config: unconfig 1206 DU405_config: unconfig
1207 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du405 esd 1207 @$(MKCONFIG) $(@:_config=) ppc ppc4xx du405 esd
1208 1208
1209 ebony_config: unconfig 1209 ebony_config: unconfig
1210 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ebony amcc 1210 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ebony amcc
1211 1211
1212 ERIC_config: unconfig 1212 ERIC_config: unconfig
1213 @$(MKCONFIG) $(@:_config=) ppc ppc4xx eric 1213 @$(MKCONFIG) $(@:_config=) ppc ppc4xx eric
1214 1214
1215 EXBITGEN_config: unconfig 1215 EXBITGEN_config: unconfig
1216 @$(MKCONFIG) $(@:_config=) ppc ppc4xx exbitgen 1216 @$(MKCONFIG) $(@:_config=) ppc ppc4xx exbitgen
1217 1217
1218 G2000_config: unconfig 1218 G2000_config: unconfig
1219 @$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000 1219 @$(MKCONFIG) $(@:_config=) ppc ppc4xx g2000
1220 1220
1221 hcu4_config: unconfig 1221 hcu4_config: unconfig
1222 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu4 netstal 1222 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu4 netstal
1223 1223
1224 hcu5_config: unconfig 1224 hcu5_config: unconfig
1225 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu5 netstal 1225 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hcu5 netstal
1226 1226
1227 HH405_config: unconfig 1227 HH405_config: unconfig
1228 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hh405 esd 1228 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hh405 esd
1229 1229
1230 HUB405_config: unconfig 1230 HUB405_config: unconfig
1231 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hub405 esd 1231 @$(MKCONFIG) $(@:_config=) ppc ppc4xx hub405 esd
1232 1232
1233 JSE_config: unconfig 1233 JSE_config: unconfig
1234 @$(MKCONFIG) $(@:_config=) ppc ppc4xx jse 1234 @$(MKCONFIG) $(@:_config=) ppc ppc4xx jse
1235 1235
1236 KAREF_config: unconfig 1236 KAREF_config: unconfig
1237 @$(MKCONFIG) $(@:_config=) ppc ppc4xx karef sandburst 1237 @$(MKCONFIG) $(@:_config=) ppc ppc4xx karef sandburst
1238 1238
1239 katmai_config: unconfig 1239 katmai_config: unconfig
1240 @$(MKCONFIG) $(@:_config=) ppc ppc4xx katmai amcc 1240 @$(MKCONFIG) $(@:_config=) ppc ppc4xx katmai amcc
1241 1241
1242 # Kilauea & Haleakala images are identical (recognized via PVR) 1242 # Kilauea & Haleakala images are identical (recognized via PVR)
1243 kilauea_config \ 1243 kilauea_config \
1244 haleakala_config: unconfig 1244 haleakala_config: unconfig
1245 @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc 1245 @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc
1246 1246
1247 kilauea_nand_config \ 1247 kilauea_nand_config \
1248 haleakala_nand_config: unconfig 1248 haleakala_nand_config: unconfig
1249 @mkdir -p $(obj)include $(obj)board/amcc/kilauea 1249 @mkdir -p $(obj)include $(obj)board/amcc/kilauea
1250 @mkdir -p $(obj)nand_spl/board/amcc/kilauea 1250 @mkdir -p $(obj)nand_spl/board/amcc/kilauea
1251 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h 1251 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1252 @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc 1252 @$(MKCONFIG) -n $@ -a kilauea ppc ppc4xx kilauea amcc
1253 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/kilauea/config.tmp 1253 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/kilauea/config.tmp
1254 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk 1254 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1255 1255
1256 korat_config: unconfig 1256 korat_config: unconfig
1257 @$(MKCONFIG) $(@:_config=) ppc ppc4xx korat 1257 @$(MKCONFIG) $(@:_config=) ppc ppc4xx korat
1258 1258
1259 luan_config: unconfig 1259 luan_config: unconfig
1260 @$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc 1260 @$(MKCONFIG) $(@:_config=) ppc ppc4xx luan amcc
1261 1261
1262 lwmon5_config: unconfig 1262 lwmon5_config: unconfig
1263 @$(MKCONFIG) $(@:_config=) ppc ppc4xx lwmon5 1263 @$(MKCONFIG) $(@:_config=) ppc ppc4xx lwmon5
1264 1264
1265 makalu_config: unconfig 1265 makalu_config: unconfig
1266 @$(MKCONFIG) $(@:_config=) ppc ppc4xx makalu amcc 1266 @$(MKCONFIG) $(@:_config=) ppc ppc4xx makalu amcc
1267 1267
1268 METROBOX_config: unconfig 1268 METROBOX_config: unconfig
1269 @$(MKCONFIG) $(@:_config=) ppc ppc4xx metrobox sandburst 1269 @$(MKCONFIG) $(@:_config=) ppc ppc4xx metrobox sandburst
1270 1270
1271 MIP405_config: unconfig 1271 MIP405_config: unconfig
1272 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mip405 mpl 1272 @$(MKCONFIG) $(@:_config=) ppc ppc4xx mip405 mpl
1273 1273
1274 MIP405T_config: unconfig 1274 MIP405T_config: unconfig
1275 @mkdir -p $(obj)include 1275 @mkdir -p $(obj)include
1276 @echo "#define CONFIG_MIP405T" >$(obj)include/config.h 1276 @echo "#define CONFIG_MIP405T" >$(obj)include/config.h
1277 @$(XECHO) "Enable subset config for MIP405T" 1277 @$(XECHO) "Enable subset config for MIP405T"
1278 @$(MKCONFIG) -a MIP405 ppc ppc4xx mip405 mpl 1278 @$(MKCONFIG) -a MIP405 ppc ppc4xx mip405 mpl
1279 1279
1280 ML2_config: unconfig 1280 ML2_config: unconfig
1281 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml2 1281 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml2
1282 1282
1283 ml300_config: unconfig 1283 ml300_config: unconfig
1284 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml300 xilinx 1284 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ml300 xilinx
1285 1285
1286 ocotea_config: unconfig 1286 ocotea_config: unconfig
1287 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocotea amcc 1287 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocotea amcc
1288 1288
1289 OCRTC_config \ 1289 OCRTC_config \
1290 ORSG_config: unconfig 1290 ORSG_config: unconfig
1291 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocrtc esd 1291 @$(MKCONFIG) $(@:_config=) ppc ppc4xx ocrtc esd
1292 1292
1293 p3p440_config: unconfig 1293 p3p440_config: unconfig
1294 @$(MKCONFIG) $(@:_config=) ppc ppc4xx p3p440 prodrive 1294 @$(MKCONFIG) $(@:_config=) ppc ppc4xx p3p440 prodrive
1295 1295
1296 PCI405_config: unconfig 1296 PCI405_config: unconfig
1297 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pci405 esd 1297 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pci405 esd
1298 1298
1299 pcs440ep_config: unconfig 1299 pcs440ep_config: unconfig
1300 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pcs440ep 1300 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pcs440ep
1301 1301
1302 PIP405_config: unconfig 1302 PIP405_config: unconfig
1303 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pip405 mpl 1303 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pip405 mpl
1304 1304
1305 PLU405_config: unconfig 1305 PLU405_config: unconfig
1306 @$(MKCONFIG) $(@:_config=) ppc ppc4xx plu405 esd 1306 @$(MKCONFIG) $(@:_config=) ppc ppc4xx plu405 esd
1307 1307
1308 PMC405_config: unconfig 1308 PMC405_config: unconfig
1309 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc405 esd 1309 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc405 esd
1310 1310
1311 PMC440_config: unconfig 1311 PMC440_config: unconfig
1312 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc440 esd 1312 @$(MKCONFIG) $(@:_config=) ppc ppc4xx pmc440 esd
1313 1313
1314 PPChameleonEVB_config \ 1314 PPChameleonEVB_config \
1315 PPChameleonEVB_BA_25_config \ 1315 PPChameleonEVB_BA_25_config \
1316 PPChameleonEVB_ME_25_config \ 1316 PPChameleonEVB_ME_25_config \
1317 PPChameleonEVB_HI_25_config \ 1317 PPChameleonEVB_HI_25_config \
1318 PPChameleonEVB_BA_33_config \ 1318 PPChameleonEVB_BA_33_config \
1319 PPChameleonEVB_ME_33_config \ 1319 PPChameleonEVB_ME_33_config \
1320 PPChameleonEVB_HI_33_config: unconfig 1320 PPChameleonEVB_HI_33_config: unconfig
1321 @mkdir -p $(obj)include 1321 @mkdir -p $(obj)include
1322 @ >$(obj)include/config.h 1322 @ >$(obj)include/config.h
1323 @[ -z "$(findstring EVB_BA,$@)" ] || \ 1323 @[ -z "$(findstring EVB_BA,$@)" ] || \
1324 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj)include/config.h ; \ 1324 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 0" >>$(obj)include/config.h ; \
1325 $(XECHO) "... BASIC model" ; \ 1325 $(XECHO) "... BASIC model" ; \
1326 } 1326 }
1327 @[ -z "$(findstring EVB_ME,$@)" ] || \ 1327 @[ -z "$(findstring EVB_ME,$@)" ] || \
1328 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj)include/config.h ; \ 1328 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 1" >>$(obj)include/config.h ; \
1329 $(XECHO) "... MEDIUM model" ; \ 1329 $(XECHO) "... MEDIUM model" ; \
1330 } 1330 }
1331 @[ -z "$(findstring EVB_HI,$@)" ] || \ 1331 @[ -z "$(findstring EVB_HI,$@)" ] || \
1332 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj)include/config.h ; \ 1332 { echo "#define CONFIG_PPCHAMELEON_MODULE_MODEL 2" >>$(obj)include/config.h ; \
1333 $(XECHO) "... HIGH-END model" ; \ 1333 $(XECHO) "... HIGH-END model" ; \
1334 } 1334 }
1335 @[ -z "$(findstring _25,$@)" ] || \ 1335 @[ -z "$(findstring _25,$@)" ] || \
1336 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj)include/config.h ; \ 1336 { echo "#define CONFIG_PPCHAMELEON_CLK_25" >>$(obj)include/config.h ; \
1337 $(XECHO) "SysClk = 25MHz" ; \ 1337 $(XECHO) "SysClk = 25MHz" ; \
1338 } 1338 }
1339 @[ -z "$(findstring _33,$@)" ] || \ 1339 @[ -z "$(findstring _33,$@)" ] || \
1340 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj)include/config.h ; \ 1340 { echo "#define CONFIG_PPCHAMELEON_CLK_33" >>$(obj)include/config.h ; \
1341 $(XECHO) "SysClk = 33MHz" ; \ 1341 $(XECHO) "SysClk = 33MHz" ; \
1342 } 1342 }
1343 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave 1343 @$(MKCONFIG) -a $(call xtract_4xx,$@) ppc ppc4xx PPChameleonEVB dave
1344 1344
1345 sbc405_config: unconfig 1345 sbc405_config: unconfig
1346 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405 1346 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sbc405
1347 1347
1348 sequoia_config \ 1348 sequoia_config \
1349 rainier_config: unconfig 1349 rainier_config: unconfig
1350 @mkdir -p $(obj)include 1350 @mkdir -p $(obj)include
1351 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \ 1351 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1352 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h 1352 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1353 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc 1353 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1354 1354
1355 sequoia_nand_config \ 1355 sequoia_nand_config \
1356 rainier_nand_config: unconfig 1356 rainier_nand_config: unconfig
1357 @mkdir -p $(obj)include $(obj)board/amcc/sequoia 1357 @mkdir -p $(obj)include $(obj)board/amcc/sequoia
1358 @mkdir -p $(obj)nand_spl/board/amcc/sequoia 1358 @mkdir -p $(obj)nand_spl/board/amcc/sequoia
1359 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h 1359 @echo "#define CONFIG_NAND_U_BOOT" > $(obj)include/config.h
1360 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \ 1360 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1361 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h 1361 tr '[:lower:]' '[:upper:]')" >> $(obj)include/config.h
1362 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc 1362 @$(MKCONFIG) -n $@ -a sequoia ppc ppc4xx sequoia amcc
1363 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp 1363 @echo "TEXT_BASE = 0x01000000" > $(obj)board/amcc/sequoia/config.tmp
1364 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk 1364 @echo "CONFIG_NAND_U_BOOT = y" >> $(obj)include/config.mk
1365 1365
1366 sc3_config:unconfig 1366 sc3_config:unconfig
1367 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sc3 1367 @$(MKCONFIG) $(@:_config=) ppc ppc4xx sc3
1368 1368
1369 taihu_config: unconfig 1369 taihu_config: unconfig
1370 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taihu amcc 1370 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taihu amcc
1371 1371
1372 taishan_config: unconfig 1372 taishan_config: unconfig
1373 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc 1373 @$(MKCONFIG) $(@:_config=) ppc ppc4xx taishan amcc
1374 1374
1375 VOH405_config: unconfig 1375 VOH405_config: unconfig
1376 @$(MKCONFIG) $(@:_config=) ppc ppc4xx voh405 esd 1376 @$(MKCONFIG) $(@:_config=) ppc ppc4xx voh405 esd
1377 1377
1378 VOM405_config: unconfig 1378 VOM405_config: unconfig
1379 @$(MKCONFIG) $(@:_config=) ppc ppc4xx vom405 esd 1379 @$(MKCONFIG) $(@:_config=) ppc ppc4xx vom405 esd
1380 1380
1381 CMS700_config: unconfig 1381 CMS700_config: unconfig
1382 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cms700 esd 1382 @$(MKCONFIG) $(@:_config=) ppc ppc4xx cms700 esd
1383 1383
1384 W7OLMC_config \ 1384 W7OLMC_config \
1385 W7OLMG_config: unconfig 1385 W7OLMG_config: unconfig
1386 @$(MKCONFIG) $(@:_config=) ppc ppc4xx w7o 1386 @$(MKCONFIG) $(@:_config=) ppc ppc4xx w7o
1387 1387
1388 # Walnut & Sycamore images are identical (recognized via PVR) 1388 # Walnut & Sycamore images are identical (recognized via PVR)
1389 walnut_config \ 1389 walnut_config \
1390 sycamore_config: unconfig 1390 sycamore_config: unconfig
1391 @$(MKCONFIG) -n $@ -a walnut ppc ppc4xx walnut amcc 1391 @$(MKCONFIG) -n $@ -a walnut ppc ppc4xx walnut amcc
1392 1392
1393 WUH405_config: unconfig 1393 WUH405_config: unconfig
1394 @$(MKCONFIG) $(@:_config=) ppc ppc4xx wuh405 esd 1394 @$(MKCONFIG) $(@:_config=) ppc ppc4xx wuh405 esd
1395 1395
1396 XPEDITE1K_config: unconfig 1396 XPEDITE1K_config: unconfig
1397 @$(MKCONFIG) $(@:_config=) ppc ppc4xx xpedite1k 1397 @$(MKCONFIG) $(@:_config=) ppc ppc4xx xpedite1k
1398 1398
1399 yosemite_config \ 1399 yosemite_config \
1400 yellowstone_config: unconfig 1400 yellowstone_config: unconfig
1401 @mkdir -p $(obj)include 1401 @mkdir -p $(obj)include
1402 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \ 1402 @echo "#define CONFIG_$$(echo $(subst ,,$(@:_config=)) | \
1403 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h 1403 tr '[:lower:]' '[:upper:]')" >$(obj)include/config.h
1404 @$(MKCONFIG) -n $@ -a yosemite ppc ppc4xx yosemite amcc 1404 @$(MKCONFIG) -n $@ -a yosemite ppc ppc4xx yosemite amcc
1405 1405
1406 yucca_config: unconfig 1406 yucca_config: unconfig
1407 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yucca amcc 1407 @$(MKCONFIG) $(@:_config=) ppc ppc4xx yucca amcc
1408 1408
1409 zeus_config: unconfig 1409 zeus_config: unconfig
1410 @$(MKCONFIG) $(@:_config=) ppc ppc4xx zeus 1410 @$(MKCONFIG) $(@:_config=) ppc ppc4xx zeus
1411 1411
1412 ######################################################################### 1412 #########################################################################
1413 ## MPC8220 Systems 1413 ## MPC8220 Systems
1414 ######################################################################### 1414 #########################################################################
1415 1415
1416 Alaska8220_config \ 1416 Alaska8220_config \
1417 Yukon8220_config: unconfig 1417 Yukon8220_config: unconfig
1418 @$(MKCONFIG) $(@:_config=) ppc mpc8220 alaska 1418 @$(MKCONFIG) $(@:_config=) ppc mpc8220 alaska
1419 1419
1420 sorcery_config: unconfig 1420 sorcery_config: unconfig
1421 @$(MKCONFIG) $(@:_config=) ppc mpc8220 sorcery 1421 @$(MKCONFIG) $(@:_config=) ppc mpc8220 sorcery
1422 1422
1423 ######################################################################### 1423 #########################################################################
1424 ## MPC824x Systems 1424 ## MPC824x Systems
1425 ######################################################################### 1425 #########################################################################
1426 xtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1)))))) 1426 xtract_82xx = $(subst _BIGFLASH,,$(subst _ROMBOOT,,$(subst _L2,,$(subst _266MHz,,$(subst _300MHz,,$(subst _config,,$1))))))
1427 1427
1428 A3000_config: unconfig 1428 A3000_config: unconfig
1429 @$(MKCONFIG) $(@:_config=) ppc mpc824x a3000 1429 @$(MKCONFIG) $(@:_config=) ppc mpc824x a3000
1430 1430
1431 barco_config: unconfig 1431 barco_config: unconfig
1432 @$(MKCONFIG) $(@:_config=) ppc mpc824x barco 1432 @$(MKCONFIG) $(@:_config=) ppc mpc824x barco
1433 1433
1434 BMW_config: unconfig 1434 BMW_config: unconfig
1435 @$(MKCONFIG) $(@:_config=) ppc mpc824x bmw 1435 @$(MKCONFIG) $(@:_config=) ppc mpc824x bmw
1436 1436
1437 CPC45_config \ 1437 CPC45_config \
1438 CPC45_ROMBOOT_config: unconfig 1438 CPC45_ROMBOOT_config: unconfig
1439 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc824x cpc45 1439 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc824x cpc45
1440 @cd $(obj)include ; \ 1440 @cd $(obj)include ; \
1441 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1441 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1442 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 1442 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1443 $(XECHO) "... booting from 8-bit flash" ; \ 1443 $(XECHO) "... booting from 8-bit flash" ; \
1444 else \ 1444 else \
1445 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 1445 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1446 $(XECHO) "... booting from 64-bit flash" ; \ 1446 $(XECHO) "... booting from 64-bit flash" ; \
1447 fi; \ 1447 fi; \
1448 echo "export CONFIG_BOOT_ROM" >> config.mk; 1448 echo "export CONFIG_BOOT_ROM" >> config.mk;
1449 1449
1450 CU824_config: unconfig 1450 CU824_config: unconfig
1451 @$(MKCONFIG) $(@:_config=) ppc mpc824x cu824 1451 @$(MKCONFIG) $(@:_config=) ppc mpc824x cu824
1452 1452
1453 debris_config: unconfig 1453 debris_config: unconfig
1454 @$(MKCONFIG) $(@:_config=) ppc mpc824x debris etin 1454 @$(MKCONFIG) $(@:_config=) ppc mpc824x debris etin
1455 1455
1456 eXalion_config: unconfig 1456 eXalion_config: unconfig
1457 @$(MKCONFIG) $(@:_config=) ppc mpc824x eXalion 1457 @$(MKCONFIG) $(@:_config=) ppc mpc824x eXalion
1458 1458
1459 HIDDEN_DRAGON_config: unconfig 1459 HIDDEN_DRAGON_config: unconfig
1460 @$(MKCONFIG) $(@:_config=) ppc mpc824x hidden_dragon 1460 @$(MKCONFIG) $(@:_config=) ppc mpc824x hidden_dragon
1461 1461
1462 kvme080_config: unconfig 1462 kvme080_config: unconfig
1463 @$(MKCONFIG) $(@:_config=) ppc mpc824x kvme080 etin 1463 @$(MKCONFIG) $(@:_config=) ppc mpc824x kvme080 etin
1464 1464
1465 MOUSSE_config: unconfig 1465 MOUSSE_config: unconfig
1466 @$(MKCONFIG) $(@:_config=) ppc mpc824x mousse 1466 @$(MKCONFIG) $(@:_config=) ppc mpc824x mousse
1467 1467
1468 MUSENKI_config: unconfig 1468 MUSENKI_config: unconfig
1469 @$(MKCONFIG) $(@:_config=) ppc mpc824x musenki 1469 @$(MKCONFIG) $(@:_config=) ppc mpc824x musenki
1470 1470
1471 MVBLUE_config: unconfig 1471 MVBLUE_config: unconfig
1472 @$(MKCONFIG) $(@:_config=) ppc mpc824x mvblue 1472 @$(MKCONFIG) $(@:_config=) ppc mpc824x mvblue
1473 1473
1474 OXC_config: unconfig 1474 OXC_config: unconfig
1475 @$(MKCONFIG) $(@:_config=) ppc mpc824x oxc 1475 @$(MKCONFIG) $(@:_config=) ppc mpc824x oxc
1476 1476
1477 PN62_config: unconfig 1477 PN62_config: unconfig
1478 @$(MKCONFIG) $(@:_config=) ppc mpc824x pn62 1478 @$(MKCONFIG) $(@:_config=) ppc mpc824x pn62
1479 1479
1480 Sandpoint8240_config: unconfig 1480 Sandpoint8240_config: unconfig
1481 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint 1481 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1482 1482
1483 Sandpoint8245_config: unconfig 1483 Sandpoint8245_config: unconfig
1484 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint 1484 @$(MKCONFIG) $(@:_config=) ppc mpc824x sandpoint
1485 1485
1486 sbc8240_config: unconfig 1486 sbc8240_config: unconfig
1487 @$(MKCONFIG) $(@:_config=) ppc mpc824x sbc8240 1487 @$(MKCONFIG) $(@:_config=) ppc mpc824x sbc8240
1488 1488
1489 SL8245_config: unconfig 1489 SL8245_config: unconfig
1490 @$(MKCONFIG) $(@:_config=) ppc mpc824x sl8245 1490 @$(MKCONFIG) $(@:_config=) ppc mpc824x sl8245
1491 1491
1492 utx8245_config: unconfig 1492 utx8245_config: unconfig
1493 @$(MKCONFIG) $(@:_config=) ppc mpc824x utx8245 1493 @$(MKCONFIG) $(@:_config=) ppc mpc824x utx8245
1494 1494
1495 ######################################################################### 1495 #########################################################################
1496 ## MPC8260 Systems 1496 ## MPC8260 Systems
1497 ######################################################################### 1497 #########################################################################
1498 1498
1499 atc_config: unconfig 1499 atc_config: unconfig
1500 @$(MKCONFIG) $(@:_config=) ppc mpc8260 atc 1500 @$(MKCONFIG) $(@:_config=) ppc mpc8260 atc
1501 1501
1502 cogent_mpc8260_config: unconfig 1502 cogent_mpc8260_config: unconfig
1503 @$(MKCONFIG) $(@:_config=) ppc mpc8260 cogent 1503 @$(MKCONFIG) $(@:_config=) ppc mpc8260 cogent
1504 1504
1505 CPU86_config \ 1505 CPU86_config \
1506 CPU86_ROMBOOT_config: unconfig 1506 CPU86_ROMBOOT_config: unconfig
1507 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu86 1507 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu86
1508 @cd $(obj)include ; \ 1508 @cd $(obj)include ; \
1509 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1509 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1510 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 1510 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1511 $(XECHO) "... booting from 8-bit flash" ; \ 1511 $(XECHO) "... booting from 8-bit flash" ; \
1512 else \ 1512 else \
1513 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 1513 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1514 $(XECHO) "... booting from 64-bit flash" ; \ 1514 $(XECHO) "... booting from 64-bit flash" ; \
1515 fi; \ 1515 fi; \
1516 echo "export CONFIG_BOOT_ROM" >> config.mk; 1516 echo "export CONFIG_BOOT_ROM" >> config.mk;
1517 1517
1518 CPU87_config \ 1518 CPU87_config \
1519 CPU87_ROMBOOT_config: unconfig 1519 CPU87_ROMBOOT_config: unconfig
1520 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu87 1520 @$(MKCONFIG) $(call xtract_82xx,$@) ppc mpc8260 cpu87
1521 @cd $(obj)include ; \ 1521 @cd $(obj)include ; \
1522 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1522 if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1523 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \ 1523 echo "CONFIG_BOOT_ROM = y" >> config.mk ; \
1524 $(XECHO) "... booting from 8-bit flash" ; \ 1524 $(XECHO) "... booting from 8-bit flash" ; \
1525 else \ 1525 else \
1526 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \ 1526 echo "CONFIG_BOOT_ROM = n" >> config.mk ; \
1527 $(XECHO) "... booting from 64-bit flash" ; \ 1527 $(XECHO) "... booting from 64-bit flash" ; \
1528 fi; \ 1528 fi; \
1529 echo "export CONFIG_BOOT_ROM" >> config.mk; 1529 echo "export CONFIG_BOOT_ROM" >> config.mk;
1530 1530
1531 ep8248_config \ 1531 ep8248_config \
1532 ep8248E_config : unconfig 1532 ep8248E_config : unconfig
1533 @$(MKCONFIG) ep8248 ppc mpc8260 ep8248 1533 @$(MKCONFIG) ep8248 ppc mpc8260 ep8248
1534 1534
1535 ep8260_config: unconfig 1535 ep8260_config: unconfig
1536 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260 1536 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep8260
1537 1537
1538 ep82xxm_config: unconfig 1538 ep82xxm_config: unconfig
1539 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep82xxm 1539 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ep82xxm
1540 1540
1541 gw8260_config: unconfig 1541 gw8260_config: unconfig
1542 @$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260 1542 @$(MKCONFIG) $(@:_config=) ppc mpc8260 gw8260
1543 1543
1544 hymod_config: unconfig 1544 hymod_config: unconfig
1545 @$(MKCONFIG) $(@:_config=) ppc mpc8260 hymod 1545 @$(MKCONFIG) $(@:_config=) ppc mpc8260 hymod
1546 1546
1547 IDS8247_config: unconfig 1547 IDS8247_config: unconfig
1548 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ids8247 1548 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ids8247
1549 1549
1550 IPHASE4539_config: unconfig 1550 IPHASE4539_config: unconfig
1551 @$(MKCONFIG) $(@:_config=) ppc mpc8260 iphase4539 1551 @$(MKCONFIG) $(@:_config=) ppc mpc8260 iphase4539
1552 1552
1553 ISPAN_config \ 1553 ISPAN_config \
1554 ISPAN_REVB_config: unconfig 1554 ISPAN_REVB_config: unconfig
1555 @mkdir -p $(obj)include 1555 @mkdir -p $(obj)include
1556 @if [ "$(findstring _REVB_,$@)" ] ; then \ 1556 @if [ "$(findstring _REVB_,$@)" ] ; then \
1557 echo "#define CFG_REV_B" > $(obj)include/config.h ; \ 1557 echo "#define CFG_REV_B" > $(obj)include/config.h ; \
1558 fi 1558 fi
1559 @$(MKCONFIG) -a ISPAN ppc mpc8260 ispan 1559 @$(MKCONFIG) -a ISPAN ppc mpc8260 ispan
1560 1560
1561 mgcoge_config : unconfig 1561 mgcoge_config : unconfig
1562 @$(MKCONFIG) mgcoge ppc mpc8260 mgcoge 1562 @$(MKCONFIG) mgcoge ppc mpc8260 mgcoge
1563 1563
1564 MPC8260ADS_config \ 1564 MPC8260ADS_config \
1565 MPC8260ADS_lowboot_config \ 1565 MPC8260ADS_lowboot_config \
1566 MPC8260ADS_33MHz_config \ 1566 MPC8260ADS_33MHz_config \
1567 MPC8260ADS_33MHz_lowboot_config \ 1567 MPC8260ADS_33MHz_lowboot_config \
1568 MPC8260ADS_40MHz_config \ 1568 MPC8260ADS_40MHz_config \
1569 MPC8260ADS_40MHz_lowboot_config \ 1569 MPC8260ADS_40MHz_lowboot_config \
1570 MPC8272ADS_config \ 1570 MPC8272ADS_config \
1571 MPC8272ADS_lowboot_config \ 1571 MPC8272ADS_lowboot_config \
1572 PQ2FADS_config \ 1572 PQ2FADS_config \
1573 PQ2FADS_lowboot_config \ 1573 PQ2FADS_lowboot_config \
1574 PQ2FADS-VR_config \ 1574 PQ2FADS-VR_config \
1575 PQ2FADS-VR_lowboot_config \ 1575 PQ2FADS-VR_lowboot_config \
1576 PQ2FADS-ZU_config \ 1576 PQ2FADS-ZU_config \
1577 PQ2FADS-ZU_lowboot_config \ 1577 PQ2FADS-ZU_lowboot_config \
1578 PQ2FADS-ZU_66MHz_config \ 1578 PQ2FADS-ZU_66MHz_config \
1579 PQ2FADS-ZU_66MHz_lowboot_config \ 1579 PQ2FADS-ZU_66MHz_lowboot_config \
1580 : unconfig 1580 : unconfig
1581 @mkdir -p $(obj)include 1581 @mkdir -p $(obj)include
1582 @mkdir -p $(obj)board/mpc8260ads 1582 @mkdir -p $(obj)board/mpc8260ads
1583 $(if $(findstring PQ2FADS,$@), \ 1583 $(if $(findstring PQ2FADS,$@), \
1584 @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > $(obj)include/config.h, \ 1584 @echo "#define CONFIG_ADSTYPE CFG_PQ2FADS" > $(obj)include/config.h, \
1585 @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > $(obj)include/config.h) 1585 @echo "#define CONFIG_ADSTYPE CFG_"$(subst MPC,,$(word 1,$(subst _, ,$@))) > $(obj)include/config.h)
1586 $(if $(findstring MHz,$@), \ 1586 $(if $(findstring MHz,$@), \
1587 @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> $(obj)include/config.h, \ 1587 @echo "#define CONFIG_8260_CLKIN" $(subst MHz,,$(word 2,$(subst _, ,$@)))"000000" >> $(obj)include/config.h, \
1588 $(if $(findstring VR,$@), \ 1588 $(if $(findstring VR,$@), \
1589 @echo "#define CONFIG_8260_CLKIN 66000000" >> $(obj)include/config.h)) 1589 @echo "#define CONFIG_8260_CLKIN 66000000" >> $(obj)include/config.h))
1590 @[ -z "$(findstring lowboot_,$@)" ] || \ 1590 @[ -z "$(findstring lowboot_,$@)" ] || \
1591 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/mpc8260ads/config.tmp ; \ 1591 { echo "TEXT_BASE = 0xFF800000" >$(obj)board/mpc8260ads/config.tmp ; \
1592 $(XECHO) "... with lowboot configuration" ; \ 1592 $(XECHO) "... with lowboot configuration" ; \
1593 } 1593 }
1594 @$(MKCONFIG) -a MPC8260ADS ppc mpc8260 mpc8260ads 1594 @$(MKCONFIG) -a MPC8260ADS ppc mpc8260 mpc8260ads
1595 1595
1596 MPC8266ADS_config: unconfig 1596 MPC8266ADS_config: unconfig
1597 @$(MKCONFIG) $(@:_config=) ppc mpc8260 mpc8266ads 1597 @$(MKCONFIG) $(@:_config=) ppc mpc8260 mpc8266ads
1598 1598
1599 # PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash 1599 # PM825/PM826 default configuration: small (= 8 MB) Flash / boot from 64-bit flash
1600 PM825_config \ 1600 PM825_config \
1601 PM825_ROMBOOT_config \ 1601 PM825_ROMBOOT_config \
1602 PM825_BIGFLASH_config \ 1602 PM825_BIGFLASH_config \
1603 PM825_ROMBOOT_BIGFLASH_config \ 1603 PM825_ROMBOOT_BIGFLASH_config \
1604 PM826_config \ 1604 PM826_config \
1605 PM826_ROMBOOT_config \ 1605 PM826_ROMBOOT_config \
1606 PM826_BIGFLASH_config \ 1606 PM826_BIGFLASH_config \
1607 PM826_ROMBOOT_BIGFLASH_config: unconfig 1607 PM826_ROMBOOT_BIGFLASH_config: unconfig
1608 @mkdir -p $(obj)include 1608 @mkdir -p $(obj)include
1609 @mkdir -p $(obj)board/pm826 1609 @mkdir -p $(obj)board/pm826
1610 @if [ "$(findstring PM825_,$@)" ] ; then \ 1610 @if [ "$(findstring PM825_,$@)" ] ; then \
1611 echo "#define CONFIG_PCI" >$(obj)include/config.h ; \ 1611 echo "#define CONFIG_PCI" >$(obj)include/config.h ; \
1612 else \ 1612 else \
1613 >$(obj)include/config.h ; \ 1613 >$(obj)include/config.h ; \
1614 fi 1614 fi
1615 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1615 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1616 $(XECHO) "... booting from 8-bit flash" ; \ 1616 $(XECHO) "... booting from 8-bit flash" ; \
1617 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \ 1617 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1618 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \ 1618 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1619 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 1619 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1620 $(XECHO) "... with 32 MB Flash" ; \ 1620 $(XECHO) "... with 32 MB Flash" ; \
1621 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \ 1621 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1622 fi; \ 1622 fi; \
1623 else \ 1623 else \
1624 $(XECHO) "... booting from 64-bit flash" ; \ 1624 $(XECHO) "... booting from 64-bit flash" ; \
1625 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \ 1625 if [ "$(findstring _BIGFLASH_,$@)" ] ; then \
1626 $(XECHO) "... with 32 MB Flash" ; \ 1626 $(XECHO) "... with 32 MB Flash" ; \
1627 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \ 1627 echo "#define CONFIG_FLASH_32MB" >>$(obj)include/config.h ; \
1628 echo "TEXT_BASE = 0x40000000" >$(obj)board/pm826/config.tmp ; \ 1628 echo "TEXT_BASE = 0x40000000" >$(obj)board/pm826/config.tmp ; \
1629 else \ 1629 else \
1630 echo "TEXT_BASE = 0xFF000000" >$(obj)board/pm826/config.tmp ; \ 1630 echo "TEXT_BASE = 0xFF000000" >$(obj)board/pm826/config.tmp ; \
1631 fi; \ 1631 fi; \
1632 fi 1632 fi
1633 @$(MKCONFIG) -a PM826 ppc mpc8260 pm826 1633 @$(MKCONFIG) -a PM826 ppc mpc8260 pm826
1634 1634
1635 PM828_config \ 1635 PM828_config \
1636 PM828_PCI_config \ 1636 PM828_PCI_config \
1637 PM828_ROMBOOT_config \ 1637 PM828_ROMBOOT_config \
1638 PM828_ROMBOOT_PCI_config: unconfig 1638 PM828_ROMBOOT_PCI_config: unconfig
1639 @mkdir -p $(obj)include 1639 @mkdir -p $(obj)include
1640 @mkdir -p $(obj)board/pm826 1640 @mkdir -p $(obj)board/pm826
1641 @if [ "$(findstring _PCI_,$@)" ] ; then \ 1641 @if [ "$(findstring _PCI_,$@)" ] ; then \
1642 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 1642 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1643 $(XECHO) "... with PCI enabled" ; \ 1643 $(XECHO) "... with PCI enabled" ; \
1644 else \ 1644 else \
1645 >$(obj)include/config.h ; \ 1645 >$(obj)include/config.h ; \
1646 fi 1646 fi
1647 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \ 1647 @if [ "$(findstring _ROMBOOT_,$@)" ] ; then \
1648 $(XECHO) "... booting from 8-bit flash" ; \ 1648 $(XECHO) "... booting from 8-bit flash" ; \
1649 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \ 1649 echo "#define CONFIG_BOOT_ROM" >>$(obj)include/config.h ; \
1650 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \ 1650 echo "TEXT_BASE = 0xFF800000" >$(obj)board/pm826/config.tmp ; \
1651 fi 1651 fi
1652 @$(MKCONFIG) -a PM828 ppc mpc8260 pm828 1652 @$(MKCONFIG) -a PM828 ppc mpc8260 pm828
1653 1653
1654 ppmc8260_config: unconfig 1654 ppmc8260_config: unconfig
1655 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ppmc8260 1655 @$(MKCONFIG) $(@:_config=) ppc mpc8260 ppmc8260
1656 1656
1657 Rattler8248_config \ 1657 Rattler8248_config \
1658 Rattler_config: unconfig 1658 Rattler_config: unconfig
1659 @mkdir -p $(obj)include 1659 @mkdir -p $(obj)include
1660 $(if $(findstring 8248,$@), \ 1660 $(if $(findstring 8248,$@), \
1661 @echo "#define CONFIG_MPC8248" > $(obj)include/config.h) 1661 @echo "#define CONFIG_MPC8248" > $(obj)include/config.h)
1662 @$(MKCONFIG) -a Rattler ppc mpc8260 rattler 1662 @$(MKCONFIG) -a Rattler ppc mpc8260 rattler
1663 1663
1664 RPXsuper_config: unconfig 1664 RPXsuper_config: unconfig
1665 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rpxsuper 1665 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rpxsuper
1666 1666
1667 rsdproto_config: unconfig 1667 rsdproto_config: unconfig
1668 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rsdproto 1668 @$(MKCONFIG) $(@:_config=) ppc mpc8260 rsdproto
1669 1669
1670 sacsng_config: unconfig 1670 sacsng_config: unconfig
1671 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sacsng 1671 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sacsng
1672 1672
1673 sbc8260_config: unconfig 1673 sbc8260_config: unconfig
1674 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sbc8260 1674 @$(MKCONFIG) $(@:_config=) ppc mpc8260 sbc8260
1675 1675
1676 SCM_config: unconfig 1676 SCM_config: unconfig
1677 @$(MKCONFIG) $(@:_config=) ppc mpc8260 SCM siemens 1677 @$(MKCONFIG) $(@:_config=) ppc mpc8260 SCM siemens
1678 1678
1679 TQM8255_AA_config \ 1679 TQM8255_AA_config \
1680 TQM8260_AA_config \ 1680 TQM8260_AA_config \
1681 TQM8260_AB_config \ 1681 TQM8260_AB_config \
1682 TQM8260_AC_config \ 1682 TQM8260_AC_config \
1683 TQM8260_AD_config \ 1683 TQM8260_AD_config \
1684 TQM8260_AE_config \ 1684 TQM8260_AE_config \
1685 TQM8260_AF_config \ 1685 TQM8260_AF_config \
1686 TQM8260_AG_config \ 1686 TQM8260_AG_config \
1687 TQM8260_AH_config \ 1687 TQM8260_AH_config \
1688 TQM8260_AI_config \ 1688 TQM8260_AI_config \
1689 TQM8265_AA_config: unconfig 1689 TQM8265_AA_config: unconfig
1690 @mkdir -p $(obj)include 1690 @mkdir -p $(obj)include
1691 @case "$@" in \ 1691 @case "$@" in \
1692 TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \ 1692 TQM8255_AA_config) CTYPE=MPC8255; CFREQ=300; CACHE=no; BMODE=8260;; \
1693 TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \ 1693 TQM8260_AA_config) CTYPE=MPC8260; CFREQ=200; CACHE=no; BMODE=8260;; \
1694 TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 1694 TQM8260_AB_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1695 TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \ 1695 TQM8260_AC_config) CTYPE=MPC8260; CFREQ=200; CACHE=yes; BMODE=60x;; \
1696 TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 1696 TQM8260_AD_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1697 TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \ 1697 TQM8260_AE_config) CTYPE=MPC8260; CFREQ=266; CACHE=no; BMODE=8260;; \
1698 TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 1698 TQM8260_AF_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1699 TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \ 1699 TQM8260_AG_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=8260;; \
1700 TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \ 1700 TQM8260_AH_config) CTYPE=MPC8260; CFREQ=300; CACHE=yes; BMODE=60x;; \
1701 TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \ 1701 TQM8260_AI_config) CTYPE=MPC8260; CFREQ=300; CACHE=no; BMODE=60x;; \
1702 TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \ 1702 TQM8265_AA_config) CTYPE=MPC8265; CFREQ=300; CACHE=no; BMODE=60x;; \
1703 esac; \ 1703 esac; \
1704 >$(obj)include/config.h ; \ 1704 >$(obj)include/config.h ; \
1705 if [ "$${CTYPE}" != "MPC8260" ] ; then \ 1705 if [ "$${CTYPE}" != "MPC8260" ] ; then \
1706 echo "#define CONFIG_$${CTYPE}" >>$(obj)include/config.h ; \ 1706 echo "#define CONFIG_$${CTYPE}" >>$(obj)include/config.h ; \
1707 fi; \ 1707 fi; \
1708 echo "#define CONFIG_$${CFREQ}MHz" >>$(obj)include/config.h ; \ 1708 echo "#define CONFIG_$${CFREQ}MHz" >>$(obj)include/config.h ; \
1709 echo "... with $${CFREQ}MHz system clock" ; \ 1709 echo "... with $${CFREQ}MHz system clock" ; \
1710 if [ "$${CACHE}" = "yes" ] ; then \ 1710 if [ "$${CACHE}" = "yes" ] ; then \
1711 echo "#define CONFIG_L2_CACHE" >>$(obj)include/config.h ; \ 1711 echo "#define CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1712 $(XECHO) "... with L2 Cache support" ; \ 1712 $(XECHO) "... with L2 Cache support" ; \
1713 else \ 1713 else \
1714 echo "#undef CONFIG_L2_CACHE" >>$(obj)include/config.h ; \ 1714 echo "#undef CONFIG_L2_CACHE" >>$(obj)include/config.h ; \
1715 $(XECHO) "... without L2 Cache support" ; \ 1715 $(XECHO) "... without L2 Cache support" ; \
1716 fi; \ 1716 fi; \
1717 if [ "$${BMODE}" = "60x" ] ; then \ 1717 if [ "$${BMODE}" = "60x" ] ; then \
1718 echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \ 1718 echo "#define CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1719 $(XECHO) "... with 60x Bus Mode" ; \ 1719 $(XECHO) "... with 60x Bus Mode" ; \
1720 else \ 1720 else \
1721 echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \ 1721 echo "#undef CONFIG_BUSMODE_60x" >>$(obj)include/config.h ; \
1722 $(XECHO) "... without 60x Bus Mode" ; \ 1722 $(XECHO) "... without 60x Bus Mode" ; \
1723 fi 1723 fi
1724 @$(MKCONFIG) -a TQM8260 ppc mpc8260 tqm8260 1724 @$(MKCONFIG) -a TQM8260 ppc mpc8260 tqm8260
1725 1725
1726 TQM8272_config: unconfig 1726 TQM8272_config: unconfig
1727 @$(MKCONFIG) -a TQM8272 ppc mpc8260 tqm8272 1727 @$(MKCONFIG) -a TQM8272 ppc mpc8260 tqm8272
1728 1728
1729 VoVPN-GW_66MHz_config \ 1729 VoVPN-GW_66MHz_config \
1730 VoVPN-GW_100MHz_config: unconfig 1730 VoVPN-GW_100MHz_config: unconfig
1731 @mkdir -p $(obj)include 1731 @mkdir -p $(obj)include
1732 @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h 1732 @echo "#define CONFIG_CLKIN_$(word 2,$(subst _, ,$@))" > $(obj)include/config.h
1733 @$(MKCONFIG) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk 1733 @$(MKCONFIG) -a VoVPN-GW ppc mpc8260 vovpn-gw funkwerk
1734 1734
1735 ZPC1900_config: unconfig 1735 ZPC1900_config: unconfig
1736 @$(MKCONFIG) $(@:_config=) ppc mpc8260 zpc1900 1736 @$(MKCONFIG) $(@:_config=) ppc mpc8260 zpc1900
1737 1737
1738 ######################################################################### 1738 #########################################################################
1739 ## Coldfire 1739 ## Coldfire
1740 ######################################################################### 1740 #########################################################################
1741 1741
1742 M5235EVB_config \ 1742 M5235EVB_config \
1743 M5235EVB_Flash16_config \ 1743 M5235EVB_Flash16_config \
1744 M5235EVB_Flash32_config: unconfig 1744 M5235EVB_Flash32_config: unconfig
1745 @case "$@" in \ 1745 @case "$@" in \
1746 M5235EVB_config) FLASH=16;; \ 1746 M5235EVB_config) FLASH=16;; \
1747 M5235EVB_Flash16_config) FLASH=16;; \ 1747 M5235EVB_Flash16_config) FLASH=16;; \
1748 M5235EVB_Flash32_config) FLASH=32;; \ 1748 M5235EVB_Flash32_config) FLASH=32;; \
1749 esac; \ 1749 esac; \
1750 >$(obj)include/config.h ; \ 1750 >$(obj)include/config.h ; \
1751 if [ "$${FLASH}" != "16" ] ; then \ 1751 if [ "$${FLASH}" != "16" ] ; then \
1752 echo "#define NORFLASH_PS32BIT 1" >> $(obj)include/config.h ; \ 1752 echo "#define NORFLASH_PS32BIT 1" >> $(obj)include/config.h ; \
1753 echo "TEXT_BASE = 0xFFC00000" > $(obj)board/freescale/m5235evb/config.tmp ; \ 1753 echo "TEXT_BASE = 0xFFC00000" > $(obj)board/freescale/m5235evb/config.tmp ; \
1754 cp $(obj)board/freescale/m5235evb/u-boot.32 $(obj)board/freescale/m5235evb/u-boot.lds ; \ 1754 cp $(obj)board/freescale/m5235evb/u-boot.32 $(obj)board/freescale/m5235evb/u-boot.lds ; \
1755 else \ 1755 else \
1756 echo "TEXT_BASE = 0xFFE00000" > $(obj)board/freescale/m5235evb/config.tmp ; \ 1756 echo "TEXT_BASE = 0xFFE00000" > $(obj)board/freescale/m5235evb/config.tmp ; \
1757 cp $(obj)board/freescale/m5235evb/u-boot.16 $(obj)board/freescale/m5235evb/u-boot.lds ; \ 1757 cp $(obj)board/freescale/m5235evb/u-boot.16 $(obj)board/freescale/m5235evb/u-boot.lds ; \
1758 fi 1758 fi
1759 @$(MKCONFIG) -a M5235EVB m68k mcf523x m5235evb freescale 1759 @$(MKCONFIG) -a M5235EVB m68k mcf523x m5235evb freescale
1760 1760
1761 M5249EVB_config : unconfig 1761 M5249EVB_config : unconfig
1762 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5249evb freescale 1762 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5249evb freescale
1763 1763
1764 M5253EVBE_config : unconfig 1764 M5253EVBE_config : unconfig
1765 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5253evbe freescale 1765 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5253evbe freescale
1766 1766
1767 cobra5272_config : unconfig 1767 cobra5272_config : unconfig
1768 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra5272 1768 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 cobra5272
1769 1769
1770 EB+MCF-EV123_config : unconfig 1770 EB+MCF-EV123_config : unconfig
1771 @mkdir -p $(obj)include 1771 @mkdir -p $(obj)include
1772 @mkdir -p $(obj)board/BuS/EB+MCF-EV123 1772 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1773 @ >$(obj)include/config.h 1773 @ >$(obj)include/config.h
1774 @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk 1774 @echo "TEXT_BASE = 0xFFE00000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1775 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS 1775 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1776 1776
1777 EB+MCF-EV123_internal_config : unconfig 1777 EB+MCF-EV123_internal_config : unconfig
1778 @mkdir -p $(obj)include 1778 @mkdir -p $(obj)include
1779 @mkdir -p $(obj)board/BuS/EB+MCF-EV123 1779 @mkdir -p $(obj)board/BuS/EB+MCF-EV123
1780 @ >$(obj)include/config.h 1780 @ >$(obj)include/config.h
1781 @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk 1781 @echo "TEXT_BASE = 0xF0000000"|tee $(obj)board/BuS/EB+MCF-EV123/textbase.mk
1782 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS 1782 @$(MKCONFIG) EB+MCF-EV123 m68k mcf52x2 EB+MCF-EV123 BuS
1783 1783
1784 idmr_config : unconfig 1784 idmr_config : unconfig
1785 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 idmr 1785 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 idmr
1786 1786
1787 M5271EVB_config : unconfig 1787 M5271EVB_config : unconfig
1788 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5271evb 1788 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5271evb
1789 1789
1790 M5272C3_config : unconfig 1790 M5272C3_config : unconfig
1791 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5272c3 1791 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5272c3
1792 1792
1793 M5282EVB_config : unconfig 1793 M5282EVB_config : unconfig
1794 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5282evb 1794 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 m5282evb
1795 1795
1796 TASREG_config : unconfig 1796 TASREG_config : unconfig
1797 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 tasreg esd 1797 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 tasreg esd
1798 1798
1799 r5200_config : unconfig 1799 r5200_config : unconfig
1800 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 r5200 1800 @$(MKCONFIG) $(@:_config=) m68k mcf52x2 r5200
1801 1801
1802 M5329AFEE_config \ 1802 M5329AFEE_config \
1803 M5329BFEE_config : unconfig 1803 M5329BFEE_config : unconfig
1804 @case "$@" in \ 1804 @case "$@" in \
1805 M5329AFEE_config) NAND=0;; \ 1805 M5329AFEE_config) NAND=0;; \
1806 M5329BFEE_config) NAND=16;; \ 1806 M5329BFEE_config) NAND=16;; \
1807 esac; \ 1807 esac; \
1808 >$(obj)include/config.h ; \ 1808 >$(obj)include/config.h ; \
1809 if [ "$${NAND}" != "0" ] ; then \ 1809 if [ "$${NAND}" != "0" ] ; then \
1810 echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \ 1810 echo "#define NANDFLASH_SIZE $${NAND}" > $(obj)include/config.h ; \
1811 fi 1811 fi
1812 @$(MKCONFIG) -a M5329EVB m68k mcf532x m5329evb freescale 1812 @$(MKCONFIG) -a M5329EVB m68k mcf532x m5329evb freescale
1813 1813
1814 M54455EVB_config \ 1814 M54455EVB_config \
1815 M54455EVB_atmel_config \ 1815 M54455EVB_atmel_config \
1816 M54455EVB_intel_config \ 1816 M54455EVB_intel_config \
1817 M54455EVB_a33_config \ 1817 M54455EVB_a33_config \
1818 M54455EVB_a66_config \ 1818 M54455EVB_a66_config \
1819 M54455EVB_i33_config \ 1819 M54455EVB_i33_config \
1820 M54455EVB_i66_config : unconfig 1820 M54455EVB_i66_config : unconfig
1821 @case "$@" in \ 1821 @case "$@" in \
1822 M54455EVB_config) FLASH=ATMEL; FREQ=33333333;; \ 1822 M54455EVB_config) FLASH=ATMEL; FREQ=33333333;; \
1823 M54455EVB_atmel_config) FLASH=ATMEL; FREQ=33333333;; \ 1823 M54455EVB_atmel_config) FLASH=ATMEL; FREQ=33333333;; \
1824 M54455EVB_intel_config) FLASH=INTEL; FREQ=33333333;; \ 1824 M54455EVB_intel_config) FLASH=INTEL; FREQ=33333333;; \
1825 M54455EVB_a33_config) FLASH=ATMEL; FREQ=33333333;; \ 1825 M54455EVB_a33_config) FLASH=ATMEL; FREQ=33333333;; \
1826 M54455EVB_a66_config) FLASH=ATMEL; FREQ=66666666;; \ 1826 M54455EVB_a66_config) FLASH=ATMEL; FREQ=66666666;; \
1827 M54455EVB_i33_config) FLASH=INTEL; FREQ=33333333;; \ 1827 M54455EVB_i33_config) FLASH=INTEL; FREQ=33333333;; \
1828 M54455EVB_i66_config) FLASH=INTEL; FREQ=66666666;; \ 1828 M54455EVB_i66_config) FLASH=INTEL; FREQ=66666666;; \
1829 esac; \ 1829 esac; \
1830 >$(obj)include/config.h ; \ 1830 >$(obj)include/config.h ; \
1831 if [ "$${FLASH}" = "INTEL" ] ; then \ 1831 if [ "$${FLASH}" = "INTEL" ] ; then \
1832 echo "#undef CFG_ATMEL_BOOT" >> $(obj)include/config.h ; \ 1832 echo "#undef CFG_ATMEL_BOOT" >> $(obj)include/config.h ; \
1833 echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m54455evb/config.tmp ; \ 1833 echo "TEXT_BASE = 0x00000000" > $(obj)board/freescale/m54455evb/config.tmp ; \
1834 cp $(obj)board/freescale/m54455evb/u-boot.int $(obj)board/freescale/m54455evb/u-boot.lds ; \ 1834 cp $(obj)board/freescale/m54455evb/u-boot.int $(obj)board/freescale/m54455evb/u-boot.lds ; \
1835 $(XECHO) "... with INTEL boot..." ; \ 1835 $(XECHO) "... with INTEL boot..." ; \
1836 else \ 1836 else \
1837 echo "#define CFG_ATMEL_BOOT" >> $(obj)include/config.h ; \ 1837 echo "#define CFG_ATMEL_BOOT" >> $(obj)include/config.h ; \
1838 echo "TEXT_BASE = 0x04000000" > $(obj)board/freescale/m54455evb/config.tmp ; \ 1838 echo "TEXT_BASE = 0x04000000" > $(obj)board/freescale/m54455evb/config.tmp ; \
1839 cp $(obj)board/freescale/m54455evb/u-boot.atm $(obj)board/freescale/m54455evb/u-boot.lds ; \ 1839 cp $(obj)board/freescale/m54455evb/u-boot.atm $(obj)board/freescale/m54455evb/u-boot.lds ; \
1840 $(XECHO) "... with ATMEL boot..." ; \ 1840 $(XECHO) "... with ATMEL boot..." ; \
1841 fi; \ 1841 fi; \
1842 echo "#define CFG_INPUT_CLKSRC $${FREQ}" >> $(obj)include/config.h ; \ 1842 echo "#define CFG_INPUT_CLKSRC $${FREQ}" >> $(obj)include/config.h ; \
1843 $(XECHO) "... with $${FREQ}Hz input clock" 1843 $(XECHO) "... with $${FREQ}Hz input clock"
1844 @$(MKCONFIG) -a M54455EVB m68k mcf5445x m54455evb freescale 1844 @$(MKCONFIG) -a M54455EVB m68k mcf5445x m54455evb freescale
1845 1845
1846 ######################################################################### 1846 #########################################################################
1847 ## MPC83xx Systems 1847 ## MPC83xx Systems
1848 ######################################################################### 1848 #########################################################################
1849 1849
1850 MPC8313ERDB_33_config \ 1850 MPC8313ERDB_33_config \
1851 MPC8313ERDB_66_config: unconfig 1851 MPC8313ERDB_66_config: unconfig
1852 @mkdir -p $(obj)include 1852 @mkdir -p $(obj)include
1853 @echo "" >$(obj)include/config.h ; \ 1853 @echo "" >$(obj)include/config.h ; \
1854 if [ "$(findstring _33_,$@)" ] ; then \ 1854 if [ "$(findstring _33_,$@)" ] ; then \
1855 $(XECHO) -n "...33M ..." ; \ 1855 $(XECHO) -n "...33M ..." ; \
1856 echo "#define CFG_33MHZ" >>$(obj)include/config.h ; \ 1856 echo "#define CFG_33MHZ" >>$(obj)include/config.h ; \
1857 fi ; \ 1857 fi ; \
1858 if [ "$(findstring _66_,$@)" ] ; then \ 1858 if [ "$(findstring _66_,$@)" ] ; then \
1859 $(XECHO) -n "...66M..." ; \ 1859 $(XECHO) -n "...66M..." ; \
1860 echo "#define CFG_66MHZ" >>$(obj)include/config.h ; \ 1860 echo "#define CFG_66MHZ" >>$(obj)include/config.h ; \
1861 fi ; 1861 fi ;
1862 @$(MKCONFIG) -a MPC8313ERDB ppc mpc83xx mpc8313erdb freescale 1862 @$(MKCONFIG) -a MPC8313ERDB ppc mpc83xx mpc8313erdb freescale
1863 1863
1864 MPC8315ERDB_config: unconfig
1865 @$(MKCONFIG) -a MPC8315ERDB ppc mpc83xx mpc8315erdb freescale
1866
1864 MPC8323ERDB_config: unconfig 1867 MPC8323ERDB_config: unconfig
1865 @$(MKCONFIG) -a MPC8323ERDB ppc mpc83xx mpc8323erdb freescale 1868 @$(MKCONFIG) -a MPC8323ERDB ppc mpc83xx mpc8323erdb freescale
1866 1869
1867 MPC832XEMDS_config \ 1870 MPC832XEMDS_config \
1868 MPC832XEMDS_HOST_33_config \ 1871 MPC832XEMDS_HOST_33_config \
1869 MPC832XEMDS_HOST_66_config \ 1872 MPC832XEMDS_HOST_66_config \
1870 MPC832XEMDS_SLAVE_config \ 1873 MPC832XEMDS_SLAVE_config \
1871 MPC832XEMDS_ATM_config: unconfig 1874 MPC832XEMDS_ATM_config: unconfig
1872 @mkdir -p $(obj)include 1875 @mkdir -p $(obj)include
1873 @echo "" >$(obj)include/config.h ; \ 1876 @echo "" >$(obj)include/config.h ; \
1874 if [ "$(findstring _HOST_,$@)" ] ; then \ 1877 if [ "$(findstring _HOST_,$@)" ] ; then \
1875 $(XECHO) -n "... PCI HOST " ; \ 1878 $(XECHO) -n "... PCI HOST " ; \
1876 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 1879 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1877 fi ; \ 1880 fi ; \
1878 if [ "$(findstring _SLAVE_,$@)" ] ; then \ 1881 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1879 $(XECHO) "...PCI SLAVE 66M" ; \ 1882 $(XECHO) "...PCI SLAVE 66M" ; \
1880 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 1883 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1881 echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \ 1884 echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \
1882 fi ; \ 1885 fi ; \
1883 if [ "$(findstring _33_,$@)" ] ; then \ 1886 if [ "$(findstring _33_,$@)" ] ; then \
1884 $(XECHO) -n "...33M ..." ; \ 1887 $(XECHO) -n "...33M ..." ; \
1885 echo "#define PCI_33M" >>$(obj)include/config.h ; \ 1888 echo "#define PCI_33M" >>$(obj)include/config.h ; \
1886 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 1889 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
1887 fi ; \ 1890 fi ; \
1888 if [ "$(findstring _66_,$@)" ] ; then \ 1891 if [ "$(findstring _66_,$@)" ] ; then \
1889 $(XECHO) -n "...66M..." ; \ 1892 $(XECHO) -n "...66M..." ; \
1890 echo "#define PCI_66M" >>$(obj)include/config.h ; \ 1893 echo "#define PCI_66M" >>$(obj)include/config.h ; \
1891 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 1894 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
1892 fi ; \ 1895 fi ; \
1893 if [ "$(findstring _ATM_,$@)" ] ; then \ 1896 if [ "$(findstring _ATM_,$@)" ] ; then \
1894 $(XECHO) -n "...ATM..." ; \ 1897 $(XECHO) -n "...ATM..." ; \
1895 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 1898 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
1896 echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \ 1899 echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \
1897 fi ; 1900 fi ;
1898 @$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds freescale 1901 @$(MKCONFIG) -a MPC832XEMDS ppc mpc83xx mpc832xemds freescale
1899 1902
1900 MPC8349EMDS_config: unconfig 1903 MPC8349EMDS_config: unconfig
1901 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds freescale 1904 @$(MKCONFIG) $(@:_config=) ppc mpc83xx mpc8349emds freescale
1902 1905
1903 MPC8349ITX_config \ 1906 MPC8349ITX_config \
1904 MPC8349ITX_LOWBOOT_config \ 1907 MPC8349ITX_LOWBOOT_config \
1905 MPC8349ITXGP_config: unconfig 1908 MPC8349ITXGP_config: unconfig
1906 @mkdir -p $(obj)include 1909 @mkdir -p $(obj)include
1907 @mkdir -p $(obj)board/freescale/mpc8349itx 1910 @mkdir -p $(obj)board/freescale/mpc8349itx
1908 @echo "#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj)include/config.h 1911 @echo "#define CONFIG_$(subst _LOWBOOT,,$(@:_config=))" >> $(obj)include/config.h
1909 @if [ "$(findstring GP,$@)" ] ; then \ 1912 @if [ "$(findstring GP,$@)" ] ; then \
1910 echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \ 1913 echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \
1911 fi 1914 fi
1912 @if [ "$(findstring LOWBOOT,$@)" ] ; then \ 1915 @if [ "$(findstring LOWBOOT,$@)" ] ; then \
1913 echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \ 1916 echo "TEXT_BASE = 0xFE000000" >$(obj)board/freescale/mpc8349itx/config.tmp ; \
1914 fi 1917 fi
1915 @$(MKCONFIG) -a -n $(@:_config=) MPC8349ITX ppc mpc83xx mpc8349itx freescale 1918 @$(MKCONFIG) -a -n $(@:_config=) MPC8349ITX ppc mpc83xx mpc8349itx freescale
1916 1919
1917 MPC8360EMDS_config \ 1920 MPC8360EMDS_config \
1918 MPC8360EMDS_HOST_33_config \ 1921 MPC8360EMDS_HOST_33_config \
1919 MPC8360EMDS_HOST_66_config \ 1922 MPC8360EMDS_HOST_66_config \
1920 MPC8360EMDS_SLAVE_config \ 1923 MPC8360EMDS_SLAVE_config \
1921 MPC8360EMDS_ATM_config: unconfig 1924 MPC8360EMDS_ATM_config: unconfig
1922 @mkdir -p $(obj)include 1925 @mkdir -p $(obj)include
1923 @echo "" >$(obj)include/config.h ; \ 1926 @echo "" >$(obj)include/config.h ; \
1924 if [ "$(findstring _HOST_,$@)" ] ; then \ 1927 if [ "$(findstring _HOST_,$@)" ] ; then \
1925 $(XECHO) -n "... PCI HOST " ; \ 1928 $(XECHO) -n "... PCI HOST " ; \
1926 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 1929 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1927 fi ; \ 1930 fi ; \
1928 if [ "$(findstring _SLAVE_,$@)" ] ; then \ 1931 if [ "$(findstring _SLAVE_,$@)" ] ; then \
1929 $(XECHO) "...PCI SLAVE 66M" ; \ 1932 $(XECHO) "...PCI SLAVE 66M" ; \
1930 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 1933 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1931 echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \ 1934 echo "#define CONFIG_PCISLAVE" >>$(obj)include/config.h ; \
1932 fi ; \ 1935 fi ; \
1933 if [ "$(findstring _33_,$@)" ] ; then \ 1936 if [ "$(findstring _33_,$@)" ] ; then \
1934 $(XECHO) -n "...33M ..." ; \ 1937 $(XECHO) -n "...33M ..." ; \
1935 echo "#define PCI_33M" >>$(obj)include/config.h ; \ 1938 echo "#define PCI_33M" >>$(obj)include/config.h ; \
1936 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 1939 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
1937 fi ; \ 1940 fi ; \
1938 if [ "$(findstring _66_,$@)" ] ; then \ 1941 if [ "$(findstring _66_,$@)" ] ; then \
1939 $(XECHO) -n "...66M..." ; \ 1942 $(XECHO) -n "...66M..." ; \
1940 echo "#define PCI_66M" >>$(obj)include/config.h ; \ 1943 echo "#define PCI_66M" >>$(obj)include/config.h ; \
1941 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 1944 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
1942 fi ; \ 1945 fi ; \
1943 if [ "$(findstring _ATM_,$@)" ] ; then \ 1946 if [ "$(findstring _ATM_,$@)" ] ; then \
1944 $(XECHO) -n "...ATM..." ; \ 1947 $(XECHO) -n "...ATM..." ; \
1945 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \ 1948 echo "#define CONFIG_PQ_MDS_PIB 1" >>$(obj)include/config.h ; \
1946 echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \ 1949 echo "#define CONFIG_PQ_MDS_PIB_ATM 1" >>$(obj)include/config.h ; \
1947 fi ; 1950 fi ;
1948 @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds freescale 1951 @$(MKCONFIG) -a MPC8360EMDS ppc mpc83xx mpc8360emds freescale
1949 1952
1950 MPC8360ERDK_33_config \ 1953 MPC8360ERDK_33_config \
1951 MPC8360ERDK_66_config \ 1954 MPC8360ERDK_66_config \
1952 MPC8360ERDK_config: 1955 MPC8360ERDK_config:
1953 @mkdir -p $(obj)include 1956 @mkdir -p $(obj)include
1954 @echo "" >$(obj)include/config.h ; \ 1957 @echo "" >$(obj)include/config.h ; \
1955 if [ "$(findstring _33_,$@)" ] ; then \ 1958 if [ "$(findstring _33_,$@)" ] ; then \
1956 $(XECHO) -n "... CLKIN 33MHz " ; \ 1959 $(XECHO) -n "... CLKIN 33MHz " ; \
1957 echo "#define CONFIG_CLKIN_33MHZ" >>$(obj)include/config.h ;\ 1960 echo "#define CONFIG_CLKIN_33MHZ" >>$(obj)include/config.h ;\
1958 fi ; 1961 fi ;
1959 @$(MKCONFIG) -a MPC8360ERDK ppc mpc83xx mpc8360erdk freescale 1962 @$(MKCONFIG) -a MPC8360ERDK ppc mpc83xx mpc8360erdk freescale
1960 1963
1961 MPC837XEMDS_config \ 1964 MPC837XEMDS_config \
1962 MPC837XEMDS_HOST_config: unconfig 1965 MPC837XEMDS_HOST_config: unconfig
1963 @mkdir -p $(obj)include 1966 @mkdir -p $(obj)include
1964 @echo "" >$(obj)include/config.h ; \ 1967 @echo "" >$(obj)include/config.h ; \
1965 if [ "$(findstring _HOST_,$@)" ] ; then \ 1968 if [ "$(findstring _HOST_,$@)" ] ; then \
1966 $(XECHO) -n "... PCI HOST " ; \ 1969 $(XECHO) -n "... PCI HOST " ; \
1967 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \ 1970 echo "#define CONFIG_PCI" >>$(obj)include/config.h ; \
1968 fi ; 1971 fi ;
1969 @$(MKCONFIG) -a MPC837XEMDS ppc mpc83xx mpc837xemds freescale 1972 @$(MKCONFIG) -a MPC837XEMDS ppc mpc83xx mpc837xemds freescale
1970 1973
1971 sbc8349_config: unconfig 1974 sbc8349_config: unconfig
1972 @$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349 1975 @$(MKCONFIG) $(@:_config=) ppc mpc83xx sbc8349
1973 1976
1974 TQM834x_config: unconfig 1977 TQM834x_config: unconfig
1975 @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x 1978 @$(MKCONFIG) $(@:_config=) ppc mpc83xx tqm834x
1976 1979
1977 1980
1978 ######################################################################### 1981 #########################################################################
1979 ## MPC85xx Systems 1982 ## MPC85xx Systems
1980 ######################################################################### 1983 #########################################################################
1981 1984
1982 ATUM8548_config: unconfig 1985 ATUM8548_config: unconfig
1983 @$(MKCONFIG) $(@:_config=) ppc mpc85xx atum8548 1986 @$(MKCONFIG) $(@:_config=) ppc mpc85xx atum8548
1984 1987
1985 MPC8540ADS_config: unconfig 1988 MPC8540ADS_config: unconfig
1986 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads freescale 1989 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8540ads freescale
1987 1990
1988 MPC8540EVAL_config \ 1991 MPC8540EVAL_config \
1989 MPC8540EVAL_33_config \ 1992 MPC8540EVAL_33_config \
1990 MPC8540EVAL_66_config \ 1993 MPC8540EVAL_66_config \
1991 MPC8540EVAL_33_slave_config \ 1994 MPC8540EVAL_33_slave_config \
1992 MPC8540EVAL_66_slave_config: unconfig 1995 MPC8540EVAL_66_slave_config: unconfig
1993 @mkdir -p $(obj)include 1996 @mkdir -p $(obj)include
1994 @echo "" >$(obj)include/config.h ; \ 1997 @echo "" >$(obj)include/config.h ; \
1995 if [ "$(findstring _33_,$@)" ] ; then \ 1998 if [ "$(findstring _33_,$@)" ] ; then \
1996 $(XECHO) "... 33 MHz PCI" ; \ 1999 $(XECHO) "... 33 MHz PCI" ; \
1997 else \ 2000 else \
1998 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \ 2001 echo "#define CONFIG_SYSCLK_66M" >>$(obj)include/config.h ; \
1999 $(XECHO) "... 66 MHz PCI" ; \ 2002 $(XECHO) "... 66 MHz PCI" ; \
2000 fi ; \ 2003 fi ; \
2001 if [ "$(findstring _slave_,$@)" ] ; then \ 2004 if [ "$(findstring _slave_,$@)" ] ; then \
2002 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \ 2005 echo "#define CONFIG_PCI_SLAVE" >>$(obj)include/config.h ; \
2003 $(XECHO) " slave" ; \ 2006 $(XECHO) " slave" ; \
2004 else \ 2007 else \
2005 $(XECHO) " host" ; \ 2008 $(XECHO) " host" ; \
2006 fi 2009 fi
2007 @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval 2010 @$(MKCONFIG) -a MPC8540EVAL ppc mpc85xx mpc8540eval
2008 2011
2009 MPC8560ADS_config: unconfig 2012 MPC8560ADS_config: unconfig
2010 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads freescale 2013 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8560ads freescale
2011 2014
2012 MPC8541CDS_legacy_config \ 2015 MPC8541CDS_legacy_config \
2013 MPC8541CDS_config: unconfig 2016 MPC8541CDS_config: unconfig
2014 @mkdir -p $(obj)include 2017 @mkdir -p $(obj)include
2015 @echo "" >$(obj)include/config.h ; \ 2018 @echo "" >$(obj)include/config.h ; \
2016 if [ "$(findstring _legacy_,$@)" ] ; then \ 2019 if [ "$(findstring _legacy_,$@)" ] ; then \
2017 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \ 2020 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2018 $(XECHO) "... legacy" ; \ 2021 $(XECHO) "... legacy" ; \
2019 fi 2022 fi
2020 @$(MKCONFIG) -a MPC8541CDS ppc mpc85xx mpc8541cds freescale 2023 @$(MKCONFIG) -a MPC8541CDS ppc mpc85xx mpc8541cds freescale
2021 2024
2022 MPC8544DS_config: unconfig 2025 MPC8544DS_config: unconfig
2023 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8544ds freescale 2026 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8544ds freescale
2024 2027
2025 MPC8548CDS_legacy_config \ 2028 MPC8548CDS_legacy_config \
2026 MPC8548CDS_config: unconfig 2029 MPC8548CDS_config: unconfig
2027 @mkdir -p $(obj)include 2030 @mkdir -p $(obj)include
2028 @echo "" >$(obj)include/config.h ; \ 2031 @echo "" >$(obj)include/config.h ; \
2029 if [ "$(findstring _legacy_,$@)" ] ; then \ 2032 if [ "$(findstring _legacy_,$@)" ] ; then \
2030 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \ 2033 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2031 $(XECHO) "... legacy" ; \ 2034 $(XECHO) "... legacy" ; \
2032 fi 2035 fi
2033 @$(MKCONFIG) -a MPC8548CDS ppc mpc85xx mpc8548cds freescale 2036 @$(MKCONFIG) -a MPC8548CDS ppc mpc85xx mpc8548cds freescale
2034 2037
2035 MPC8555CDS_legacy_config \ 2038 MPC8555CDS_legacy_config \
2036 MPC8555CDS_config: unconfig 2039 MPC8555CDS_config: unconfig
2037 @mkdir -p $(obj)include 2040 @mkdir -p $(obj)include
2038 @echo "" >$(obj)include/config.h ; \ 2041 @echo "" >$(obj)include/config.h ; \
2039 if [ "$(findstring _legacy_,$@)" ] ; then \ 2042 if [ "$(findstring _legacy_,$@)" ] ; then \
2040 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \ 2043 echo "#define CONFIG_LEGACY" >>$(obj)include/config.h ; \
2041 $(XECHO) "... legacy" ; \ 2044 $(XECHO) "... legacy" ; \
2042 fi 2045 fi
2043 @$(MKCONFIG) -a MPC8555CDS ppc mpc85xx mpc8555cds freescale 2046 @$(MKCONFIG) -a MPC8555CDS ppc mpc85xx mpc8555cds freescale
2044 2047
2045 MPC8568MDS_config: unconfig 2048 MPC8568MDS_config: unconfig
2046 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8568mds freescale 2049 @$(MKCONFIG) $(@:_config=) ppc mpc85xx mpc8568mds freescale
2047 2050
2048 PM854_config: unconfig 2051 PM854_config: unconfig
2049 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854 2052 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm854
2050 2053
2051 PM856_config: unconfig 2054 PM856_config: unconfig
2052 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm856 2055 @$(MKCONFIG) $(@:_config=) ppc mpc85xx pm856
2053 2056
2054 sbc8540_config \ 2057 sbc8540_config \
2055 sbc8540_33_config \ 2058 sbc8540_33_config \
2056 sbc8540_66_config: unconfig 2059 sbc8540_66_config: unconfig
2057 @mkdir -p $(obj)include 2060 @mkdir -p $(obj)include
2058 @if [ "$(findstring _66_,$@)" ] ; then \ 2061 @if [ "$(findstring _66_,$@)" ] ; then \
2059 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \ 2062 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
2060 $(XECHO) "... 66 MHz PCI" ; \ 2063 $(XECHO) "... 66 MHz PCI" ; \
2061 else \ 2064 else \
2062 >$(obj)include/config.h ; \ 2065 >$(obj)include/config.h ; \
2063 $(XECHO) "... 33 MHz PCI" ; \ 2066 $(XECHO) "... 33 MHz PCI" ; \
2064 fi 2067 fi
2065 @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560 2068 @$(MKCONFIG) -a SBC8540 ppc mpc85xx sbc8560
2066 2069
2067 sbc8548_config: unconfig 2070 sbc8548_config: unconfig
2068 @$(MKCONFIG) $(@:_config=) ppc mpc85xx sbc8548 2071 @$(MKCONFIG) $(@:_config=) ppc mpc85xx sbc8548
2069 2072
2070 sbc8560_config \ 2073 sbc8560_config \
2071 sbc8560_33_config \ 2074 sbc8560_33_config \
2072 sbc8560_66_config: unconfig 2075 sbc8560_66_config: unconfig
2073 @mkdir -p $(obj)include 2076 @mkdir -p $(obj)include
2074 @if [ "$(findstring _66_,$@)" ] ; then \ 2077 @if [ "$(findstring _66_,$@)" ] ; then \
2075 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \ 2078 echo "#define CONFIG_PCI_66" >>$(obj)include/config.h ; \
2076 $(XECHO) "... 66 MHz PCI" ; \ 2079 $(XECHO) "... 66 MHz PCI" ; \
2077 else \ 2080 else \
2078 >$(obj)include/config.h ; \ 2081 >$(obj)include/config.h ; \
2079 $(XECHO) "... 33 MHz PCI" ; \ 2082 $(XECHO) "... 33 MHz PCI" ; \
2080 fi 2083 fi
2081 @$(MKCONFIG) -a sbc8560 ppc mpc85xx sbc8560 2084 @$(MKCONFIG) -a sbc8560 ppc mpc85xx sbc8560
2082 2085
2083 stxgp3_config: unconfig 2086 stxgp3_config: unconfig
2084 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3 2087 @$(MKCONFIG) $(@:_config=) ppc mpc85xx stxgp3
2085 2088
2086 stxssa_config \ 2089 stxssa_config \
2087 stxssa_4M_config: unconfig 2090 stxssa_4M_config: unconfig
2088 @mkdir -p $(obj)include 2091 @mkdir -p $(obj)include
2089 @if [ "$(findstring _4M_,$@)" ] ; then \ 2092 @if [ "$(findstring _4M_,$@)" ] ; then \
2090 echo "#define CONFIG_STXSSA_4M" >>$(obj)include/config.h ; \ 2093 echo "#define CONFIG_STXSSA_4M" >>$(obj)include/config.h ; \
2091 $(XECHO) "... with 4 MiB flash memory" ; \ 2094 $(XECHO) "... with 4 MiB flash memory" ; \
2092 else \ 2095 else \
2093 >$(obj)include/config.h ; \ 2096 >$(obj)include/config.h ; \
2094 fi 2097 fi
2095 @$(MKCONFIG) -a stxssa ppc mpc85xx stxssa 2098 @$(MKCONFIG) -a stxssa ppc mpc85xx stxssa
2096 2099
2097 TQM8540_config \ 2100 TQM8540_config \
2098 TQM8541_config \ 2101 TQM8541_config \
2099 TQM8555_config \ 2102 TQM8555_config \
2100 TQM8560_config: unconfig 2103 TQM8560_config: unconfig
2101 @mkdir -p $(obj)include 2104 @mkdir -p $(obj)include
2102 @CTYPE=$(subst TQM,,$(@:_config=)); \ 2105 @CTYPE=$(subst TQM,,$(@:_config=)); \
2103 >$(obj)include/config.h ; \ 2106 >$(obj)include/config.h ; \
2104 $(XECHO) "... TQM"$${CTYPE}; \ 2107 $(XECHO) "... TQM"$${CTYPE}; \
2105 echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \ 2108 echo "#define CONFIG_MPC$${CTYPE}">>$(obj)include/config.h; \
2106 echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \ 2109 echo "#define CONFIG_TQM$${CTYPE}">>$(obj)include/config.h; \
2107 echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \ 2110 echo "#define CONFIG_HOSTNAME tqm$${CTYPE}">>$(obj)include/config.h; \
2108 echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h; \ 2111 echo "#define CONFIG_BOARDNAME \"TQM$${CTYPE}\"">>$(obj)include/config.h; \
2109 echo "#define CFG_BOOTFILE_PATH \"/tftpboot/tqm$${CTYPE}/uImage\"">>$(obj)include/config.h 2112 echo "#define CFG_BOOTFILE_PATH \"/tftpboot/tqm$${CTYPE}/uImage\"">>$(obj)include/config.h
2110 @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx 2113 @$(MKCONFIG) -a TQM85xx ppc mpc85xx tqm85xx
2111 2114
2112 ######################################################################### 2115 #########################################################################
2113 ## MPC86xx Systems 2116 ## MPC86xx Systems
2114 ######################################################################### 2117 #########################################################################
2115 2118
2116 MPC8610HPCD_config: unconfig 2119 MPC8610HPCD_config: unconfig
2117 @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8610hpcd freescale 2120 @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8610hpcd freescale
2118 2121
2119 MPC8641HPCN_config: unconfig 2122 MPC8641HPCN_config: unconfig
2120 @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8641hpcn freescale 2123 @$(MKCONFIG) $(@:_config=) ppc mpc86xx mpc8641hpcn freescale
2121 2124
2122 sbc8641d_config: unconfig 2125 sbc8641d_config: unconfig
2123 @./mkconfig $(@:_config=) ppc mpc86xx sbc8641d 2126 @./mkconfig $(@:_config=) ppc mpc86xx sbc8641d
2124 2127
2125 ######################################################################### 2128 #########################################################################
2126 ## 74xx/7xx Systems 2129 ## 74xx/7xx Systems
2127 ######################################################################### 2130 #########################################################################
2128 2131
2129 AmigaOneG3SE_config: unconfig 2132 AmigaOneG3SE_config: unconfig
2130 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI 2133 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx AmigaOneG3SE MAI
2131 2134
2132 BAB7xx_config: unconfig 2135 BAB7xx_config: unconfig
2133 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec 2136 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx bab7xx eltec
2134 2137
2135 CPCI750_config: unconfig 2138 CPCI750_config: unconfig
2136 @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd 2139 @$(MKCONFIG) CPCI750 ppc 74xx_7xx cpci750 esd
2137 2140
2138 DB64360_config: unconfig 2141 DB64360_config: unconfig
2139 @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell 2142 @$(MKCONFIG) DB64360 ppc 74xx_7xx db64360 Marvell
2140 2143
2141 DB64460_config: unconfig 2144 DB64460_config: unconfig
2142 @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell 2145 @$(MKCONFIG) DB64460 ppc 74xx_7xx db64460 Marvell
2143 2146
2144 ELPPC_config: unconfig 2147 ELPPC_config: unconfig
2145 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec 2148 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx elppc eltec
2146 2149
2147 EVB64260_config \ 2150 EVB64260_config \
2148 EVB64260_750CX_config: unconfig 2151 EVB64260_750CX_config: unconfig
2149 @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260 2152 @$(MKCONFIG) EVB64260 ppc 74xx_7xx evb64260
2150 2153
2151 mpc7448hpc2_config: unconfig 2154 mpc7448hpc2_config: unconfig
2152 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx mpc7448hpc2 2155 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx mpc7448hpc2
2153 2156
2154 P3G4_config: unconfig 2157 P3G4_config: unconfig
2155 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260 2158 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
2156 2159
2157 p3m750_config \ 2160 p3m750_config \
2158 p3m7448_config: unconfig 2161 p3m7448_config: unconfig
2159 @mkdir -p $(obj)include 2162 @mkdir -p $(obj)include
2160 @if [ "$(findstring 750_,$@)" ] ; then \ 2163 @if [ "$(findstring 750_,$@)" ] ; then \
2161 echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \ 2164 echo "#define CONFIG_P3M750" >>$(obj)include/config.h ; \
2162 else \ 2165 else \
2163 echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \ 2166 echo "#define CONFIG_P3M7448" >>$(obj)include/config.h ; \
2164 fi 2167 fi
2165 @$(MKCONFIG) -a p3mx ppc 74xx_7xx p3mx prodrive 2168 @$(MKCONFIG) -a p3mx ppc 74xx_7xx p3mx prodrive
2166 2169
2167 PCIPPC2_config \ 2170 PCIPPC2_config \
2168 PCIPPC6_config: unconfig 2171 PCIPPC6_config: unconfig
2169 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc2 2172 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx pcippc2
2170 2173
2171 ZUMA_config: unconfig 2174 ZUMA_config: unconfig
2172 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260 2175 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx evb64260
2173 2176
2174 ppmc7xx_config: unconfig 2177 ppmc7xx_config: unconfig
2175 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx 2178 @$(MKCONFIG) $(@:_config=) ppc 74xx_7xx ppmc7xx
2176 2179
2177 #======================================================================== 2180 #========================================================================
2178 # ARM 2181 # ARM
2179 #======================================================================== 2182 #========================================================================
2180 ######################################################################### 2183 #########################################################################
2181 ## StrongARM Systems 2184 ## StrongARM Systems
2182 ######################################################################### 2185 #########################################################################
2183 2186
2184 assabet_config : unconfig 2187 assabet_config : unconfig
2185 @$(MKCONFIG) $(@:_config=) arm sa1100 assabet 2188 @$(MKCONFIG) $(@:_config=) arm sa1100 assabet
2186 2189
2187 dnp1110_config : unconfig 2190 dnp1110_config : unconfig
2188 @$(MKCONFIG) $(@:_config=) arm sa1100 dnp1110 2191 @$(MKCONFIG) $(@:_config=) arm sa1100 dnp1110
2189 2192
2190 gcplus_config : unconfig 2193 gcplus_config : unconfig
2191 @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus 2194 @$(MKCONFIG) $(@:_config=) arm sa1100 gcplus
2192 2195
2193 lart_config : unconfig 2196 lart_config : unconfig
2194 @$(MKCONFIG) $(@:_config=) arm sa1100 lart 2197 @$(MKCONFIG) $(@:_config=) arm sa1100 lart
2195 2198
2196 shannon_config : unconfig 2199 shannon_config : unconfig
2197 @$(MKCONFIG) $(@:_config=) arm sa1100 shannon 2200 @$(MKCONFIG) $(@:_config=) arm sa1100 shannon
2198 2201
2199 ######################################################################### 2202 #########################################################################
2200 ## ARM92xT Systems 2203 ## ARM92xT Systems
2201 ######################################################################### 2204 #########################################################################
2202 2205
2203 xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1)))) 2206 xtract_trab = $(subst _bigram,,$(subst _bigflash,,$(subst _old,,$(subst _config,,$1))))
2204 2207
2205 xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1)))) 2208 xtract_omap1610xxx = $(subst _cs0boot,,$(subst _cs3boot,,$(subst _cs_autoboot,,$(subst _config,,$1))))
2206 2209
2207 xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1))) 2210 xtract_omap730p2 = $(subst _cs0boot,,$(subst _cs3boot,, $(subst _config,,$1)))
2208 2211
2209 at91rm9200dk_config : unconfig 2212 at91rm9200dk_config : unconfig
2210 @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200 2213 @$(MKCONFIG) $(@:_config=) arm arm920t at91rm9200dk NULL at91rm9200
2211 2214
2212 cmc_pu2_config : unconfig 2215 cmc_pu2_config : unconfig
2213 @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200 2216 @$(MKCONFIG) $(@:_config=) arm arm920t cmc_pu2 NULL at91rm9200
2214 2217
2215 csb637_config : unconfig 2218 csb637_config : unconfig
2216 @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200 2219 @$(MKCONFIG) $(@:_config=) arm arm920t csb637 NULL at91rm9200
2217 2220
2218 mp2usb_config : unconfig 2221 mp2usb_config : unconfig
2219 @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200 2222 @$(MKCONFIG) $(@:_config=) arm arm920t mp2usb NULL at91rm9200
2220 2223
2221 2224
2222 ######################################################################## 2225 ########################################################################
2223 ## ARM Integrator boards - see doc/README-integrator for more info. 2226 ## ARM Integrator boards - see doc/README-integrator for more info.
2224 integratorap_config \ 2227 integratorap_config \
2225 ap_config \ 2228 ap_config \
2226 ap966_config \ 2229 ap966_config \
2227 ap922_config \ 2230 ap922_config \
2228 ap922_XA10_config \ 2231 ap922_XA10_config \
2229 ap7_config \ 2232 ap7_config \
2230 ap720t_config \ 2233 ap720t_config \
2231 ap920t_config \ 2234 ap920t_config \
2232 ap926ejs_config \ 2235 ap926ejs_config \
2233 ap946es_config: unconfig 2236 ap946es_config: unconfig
2234 @board/integratorap/split_by_variant.sh $@ 2237 @board/integratorap/split_by_variant.sh $@
2235 2238
2236 integratorcp_config \ 2239 integratorcp_config \
2237 cp_config \ 2240 cp_config \
2238 cp920t_config \ 2241 cp920t_config \
2239 cp926ejs_config \ 2242 cp926ejs_config \
2240 cp946es_config \ 2243 cp946es_config \
2241 cp1136_config \ 2244 cp1136_config \
2242 cp966_config \ 2245 cp966_config \
2243 cp922_config \ 2246 cp922_config \
2244 cp922_XA10_config \ 2247 cp922_XA10_config \
2245 cp1026_config: unconfig 2248 cp1026_config: unconfig
2246 @board/integratorcp/split_by_variant.sh $@ 2249 @board/integratorcp/split_by_variant.sh $@
2247 2250
2248 kb9202_config : unconfig 2251 kb9202_config : unconfig
2249 @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm9200 2252 @$(MKCONFIG) $(@:_config=) arm arm920t kb9202 NULL at91rm9200
2250 2253
2251 lpd7a400_config \ 2254 lpd7a400_config \
2252 lpd7a404_config: unconfig 2255 lpd7a404_config: unconfig
2253 @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x 2256 @$(MKCONFIG) $(@:_config=) arm lh7a40x lpd7a40x
2254 2257
2255 mx1ads_config : unconfig 2258 mx1ads_config : unconfig
2256 @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx 2259 @$(MKCONFIG) $(@:_config=) arm arm920t mx1ads NULL imx
2257 2260
2258 mx1fs2_config : unconfig 2261 mx1fs2_config : unconfig
2259 @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx 2262 @$(MKCONFIG) $(@:_config=) arm arm920t mx1fs2 NULL imx
2260 2263
2261 netstar_32_config \ 2264 netstar_32_config \
2262 netstar_config: unconfig 2265 netstar_config: unconfig
2263 @mkdir -p $(obj)include 2266 @mkdir -p $(obj)include
2264 @if [ "$(findstring _32_,$@)" ] ; then \ 2267 @if [ "$(findstring _32_,$@)" ] ; then \
2265 $(XECHO) "... 32MB SDRAM" ; \ 2268 $(XECHO) "... 32MB SDRAM" ; \
2266 echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>$(obj)include/config.h ; \ 2269 echo "#define PHYS_SDRAM_1_SIZE SZ_32M" >>$(obj)include/config.h ; \
2267 else \ 2270 else \
2268 $(XECHO) "... 64MB SDRAM" ; \ 2271 $(XECHO) "... 64MB SDRAM" ; \
2269 echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>$(obj)include/config.h ; \ 2272 echo "#define PHYS_SDRAM_1_SIZE SZ_64M" >>$(obj)include/config.h ; \
2270 fi 2273 fi
2271 @$(MKCONFIG) -a netstar arm arm925t netstar 2274 @$(MKCONFIG) -a netstar arm arm925t netstar
2272 2275
2273 omap1510inn_config : unconfig 2276 omap1510inn_config : unconfig
2274 @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn 2277 @$(MKCONFIG) $(@:_config=) arm arm925t omap1510inn
2275 2278
2276 omap5912osk_config : unconfig 2279 omap5912osk_config : unconfig
2277 @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap 2280 @$(MKCONFIG) $(@:_config=) arm arm926ejs omap5912osk NULL omap
2278 2281
2279 davinci_dvevm_config : unconfig 2282 davinci_dvevm_config : unconfig
2280 @$(MKCONFIG) $(@:_config=) arm arm926ejs dv-evm davinci davinci 2283 @$(MKCONFIG) $(@:_config=) arm arm926ejs dv-evm davinci davinci
2281 2284
2282 davinci_schmoogie_config : unconfig 2285 davinci_schmoogie_config : unconfig
2283 @$(MKCONFIG) $(@:_config=) arm arm926ejs schmoogie davinci davinci 2286 @$(MKCONFIG) $(@:_config=) arm arm926ejs schmoogie davinci davinci
2284 2287
2285 davinci_sonata_config : unconfig 2288 davinci_sonata_config : unconfig
2286 @$(MKCONFIG) $(@:_config=) arm arm926ejs sonata davinci davinci 2289 @$(MKCONFIG) $(@:_config=) arm arm926ejs sonata davinci davinci
2287 2290
2288 omap1610inn_config \ 2291 omap1610inn_config \
2289 omap1610inn_cs0boot_config \ 2292 omap1610inn_cs0boot_config \
2290 omap1610inn_cs3boot_config \ 2293 omap1610inn_cs3boot_config \
2291 omap1610inn_cs_autoboot_config \ 2294 omap1610inn_cs_autoboot_config \
2292 omap1610h2_config \ 2295 omap1610h2_config \
2293 omap1610h2_cs0boot_config \ 2296 omap1610h2_cs0boot_config \
2294 omap1610h2_cs3boot_config \ 2297 omap1610h2_cs3boot_config \
2295 omap1610h2_cs_autoboot_config: unconfig 2298 omap1610h2_cs_autoboot_config: unconfig
2296 @mkdir -p $(obj)include 2299 @mkdir -p $(obj)include
2297 @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 2300 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
2298 echo "#define CONFIG_CS0_BOOT" >> .$(obj)include/config.h ; \ 2301 echo "#define CONFIG_CS0_BOOT" >> .$(obj)include/config.h ; \
2299 $(XECHO) "... configured for CS0 boot"; \ 2302 $(XECHO) "... configured for CS0 boot"; \
2300 elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \ 2303 elif [ "$(findstring _cs_autoboot_, $@)" ] ; then \
2301 echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)include/config.h ; \ 2304 echo "#define CONFIG_CS_AUTOBOOT" >> $(obj)include/config.h ; \
2302 $(XECHO) "... configured for CS_AUTO boot"; \ 2305 $(XECHO) "... configured for CS_AUTO boot"; \
2303 else \ 2306 else \
2304 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \ 2307 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
2305 $(XECHO) "... configured for CS3 boot"; \ 2308 $(XECHO) "... configured for CS3 boot"; \
2306 fi; 2309 fi;
2307 @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap 2310 @$(MKCONFIG) -a $(call xtract_omap1610xxx,$@) arm arm926ejs omap1610inn NULL omap
2308 2311
2309 omap730p2_config \ 2312 omap730p2_config \
2310 omap730p2_cs0boot_config \ 2313 omap730p2_cs0boot_config \
2311 omap730p2_cs3boot_config : unconfig 2314 omap730p2_cs3boot_config : unconfig
2312 @mkdir -p $(obj)include 2315 @mkdir -p $(obj)include
2313 @if [ "$(findstring _cs0boot_, $@)" ] ; then \ 2316 @if [ "$(findstring _cs0boot_, $@)" ] ; then \
2314 echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \ 2317 echo "#define CONFIG_CS0_BOOT" >> $(obj)include/config.h ; \
2315 $(XECHO) "... configured for CS0 boot"; \ 2318 $(XECHO) "... configured for CS0 boot"; \
2316 else \ 2319 else \
2317 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \ 2320 echo "#define CONFIG_CS3_BOOT" >> $(obj)include/config.h ; \
2318 $(XECHO) "... configured for CS3 boot"; \ 2321 $(XECHO) "... configured for CS3 boot"; \
2319 fi; 2322 fi;
2320 @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap 2323 @$(MKCONFIG) -a $(call xtract_omap730p2,$@) arm arm926ejs omap730p2 NULL omap
2321 2324
2322 sbc2410x_config: unconfig 2325 sbc2410x_config: unconfig
2323 @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0 2326 @$(MKCONFIG) $(@:_config=) arm arm920t sbc2410x NULL s3c24x0
2324 2327
2325 scb9328_config : unconfig 2328 scb9328_config : unconfig
2326 @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx 2329 @$(MKCONFIG) $(@:_config=) arm arm920t scb9328 NULL imx
2327 2330
2328 smdk2400_config : unconfig 2331 smdk2400_config : unconfig
2329 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 NULL s3c24x0 2332 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2400 NULL s3c24x0
2330 2333
2331 smdk2410_config : unconfig 2334 smdk2410_config : unconfig
2332 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0 2335 @$(MKCONFIG) $(@:_config=) arm arm920t smdk2410 NULL s3c24x0
2333 2336
2334 SX1_config : unconfig 2337 SX1_config : unconfig
2335 @$(MKCONFIG) $(@:_config=) arm arm925t sx1 2338 @$(MKCONFIG) $(@:_config=) arm arm925t sx1
2336 2339
2337 # TRAB default configuration: 8 MB Flash, 32 MB RAM 2340 # TRAB default configuration: 8 MB Flash, 32 MB RAM
2338 trab_config \ 2341 trab_config \
2339 trab_bigram_config \ 2342 trab_bigram_config \
2340 trab_bigflash_config \ 2343 trab_bigflash_config \
2341 trab_old_config: unconfig 2344 trab_old_config: unconfig
2342 @mkdir -p $(obj)include 2345 @mkdir -p $(obj)include
2343 @mkdir -p $(obj)board/trab 2346 @mkdir -p $(obj)board/trab
2344 @ >$(obj)include/config.h 2347 @ >$(obj)include/config.h
2345 @[ -z "$(findstring _bigram,$@)" ] || \ 2348 @[ -z "$(findstring _bigram,$@)" ] || \
2346 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \ 2349 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2347 echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \ 2350 echo "#define CONFIG_RAM_32MB" >>$(obj)include/config.h ; \
2348 $(XECHO) "... with 8 MB Flash, 32 MB RAM" ; \ 2351 $(XECHO) "... with 8 MB Flash, 32 MB RAM" ; \
2349 } 2352 }
2350 @[ -z "$(findstring _bigflash,$@)" ] || \ 2353 @[ -z "$(findstring _bigflash,$@)" ] || \
2351 { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \ 2354 { echo "#define CONFIG_FLASH_16MB" >>$(obj)include/config.h ; \
2352 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \ 2355 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2353 $(XECHO) "... with 16 MB Flash, 16 MB RAM" ; \ 2356 $(XECHO) "... with 16 MB Flash, 16 MB RAM" ; \
2354 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \ 2357 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2355 } 2358 }
2356 @[ -z "$(findstring _old,$@)" ] || \ 2359 @[ -z "$(findstring _old,$@)" ] || \
2357 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \ 2360 { echo "#define CONFIG_FLASH_8MB" >>$(obj)include/config.h ; \
2358 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \ 2361 echo "#define CONFIG_RAM_16MB" >>$(obj)include/config.h ; \
2359 $(XECHO) "... with 8 MB Flash, 16 MB RAM" ; \ 2362 $(XECHO) "... with 8 MB Flash, 16 MB RAM" ; \
2360 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \ 2363 echo "TEXT_BASE = 0x0CF40000" >$(obj)board/trab/config.tmp ; \
2361 } 2364 }
2362 @$(MKCONFIG) -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0 2365 @$(MKCONFIG) -a $(call xtract_trab,$@) arm arm920t trab NULL s3c24x0
2363 2366
2364 VCMA9_config : unconfig 2367 VCMA9_config : unconfig
2365 @$(MKCONFIG) $(@:_config=) arm arm920t vcma9 mpl s3c24x0 2368 @$(MKCONFIG) $(@:_config=) arm arm920t vcma9 mpl s3c24x0
2366 2369
2367 #======================================================================== 2370 #========================================================================
2368 # ARM supplied Versatile development boards 2371 # ARM supplied Versatile development boards
2369 #======================================================================== 2372 #========================================================================
2370 versatile_config \ 2373 versatile_config \
2371 versatileab_config \ 2374 versatileab_config \
2372 versatilepb_config : unconfig 2375 versatilepb_config : unconfig
2373 @board/versatile/split_by_variant.sh $@ 2376 @board/versatile/split_by_variant.sh $@
2374 2377
2375 voiceblue_smallflash_config \ 2378 voiceblue_smallflash_config \
2376 voiceblue_config: unconfig 2379 voiceblue_config: unconfig
2377 @mkdir -p $(obj)include 2380 @mkdir -p $(obj)include
2378 @mkdir -p $(obj)board/voiceblue 2381 @mkdir -p $(obj)board/voiceblue
2379 @if [ "$(findstring _smallflash_,$@)" ] ; then \ 2382 @if [ "$(findstring _smallflash_,$@)" ] ; then \
2380 $(XECHO) "... boot from lower flash bank" ; \ 2383 $(XECHO) "... boot from lower flash bank" ; \
2381 echo "#define VOICEBLUE_SMALL_FLASH" >>$(obj)include/config.h ; \ 2384 echo "#define VOICEBLUE_SMALL_FLASH" >>$(obj)include/config.h ; \
2382 echo "VOICEBLUE_SMALL_FLASH=y" >$(obj)board/voiceblue/config.tmp ; \ 2385 echo "VOICEBLUE_SMALL_FLASH=y" >$(obj)board/voiceblue/config.tmp ; \
2383 else \ 2386 else \
2384 $(XECHO) "... boot from upper flash bank" ; \ 2387 $(XECHO) "... boot from upper flash bank" ; \
2385 >$(obj)include/config.h ; \ 2388 >$(obj)include/config.h ; \
2386 echo "VOICEBLUE_SMALL_FLASH=n" >$(obj)board/voiceblue/config.tmp ; \ 2389 echo "VOICEBLUE_SMALL_FLASH=n" >$(obj)board/voiceblue/config.tmp ; \
2387 fi 2390 fi
2388 @$(MKCONFIG) -a voiceblue arm arm925t voiceblue 2391 @$(MKCONFIG) -a voiceblue arm arm925t voiceblue
2389 2392
2390 cm4008_config : unconfig 2393 cm4008_config : unconfig
2391 @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695 2394 @$(MKCONFIG) $(@:_config=) arm arm920t cm4008 NULL ks8695
2392 2395
2393 cm41xx_config : unconfig 2396 cm41xx_config : unconfig
2394 @$(MKCONFIG) $(@:_config=) arm arm920t cm41xx NULL ks8695 2397 @$(MKCONFIG) $(@:_config=) arm arm920t cm41xx NULL ks8695
2395 2398
2396 gth2_config : unconfig 2399 gth2_config : unconfig
2397 @mkdir -p $(obj)include 2400 @mkdir -p $(obj)include
2398 @ >$(obj)include/config.h 2401 @ >$(obj)include/config.h
2399 @echo "#define CONFIG_GTH2 1" >>$(obj)include/config.h 2402 @echo "#define CONFIG_GTH2 1" >>$(obj)include/config.h
2400 @$(MKCONFIG) -a gth2 mips mips gth2 2403 @$(MKCONFIG) -a gth2 mips mips gth2
2401 2404
2402 ######################################################################### 2405 #########################################################################
2403 ## S3C44B0 Systems 2406 ## S3C44B0 Systems
2404 ######################################################################### 2407 #########################################################################
2405 2408
2406 B2_config : unconfig 2409 B2_config : unconfig
2407 @$(MKCONFIG) $(@:_config=) arm s3c44b0 B2 dave 2410 @$(MKCONFIG) $(@:_config=) arm s3c44b0 B2 dave
2408 2411
2409 ######################################################################### 2412 #########################################################################
2410 ## ARM720T Systems 2413 ## ARM720T Systems
2411 ######################################################################### 2414 #########################################################################
2412 2415
2413 armadillo_config: unconfig 2416 armadillo_config: unconfig
2414 @$(MKCONFIG) $(@:_config=) arm arm720t armadillo 2417 @$(MKCONFIG) $(@:_config=) arm arm720t armadillo
2415 2418
2416 ep7312_config : unconfig 2419 ep7312_config : unconfig
2417 @$(MKCONFIG) $(@:_config=) arm arm720t ep7312 2420 @$(MKCONFIG) $(@:_config=) arm arm720t ep7312
2418 2421
2419 impa7_config : unconfig 2422 impa7_config : unconfig
2420 @$(MKCONFIG) $(@:_config=) arm arm720t impa7 2423 @$(MKCONFIG) $(@:_config=) arm arm720t impa7
2421 2424
2422 modnet50_config : unconfig 2425 modnet50_config : unconfig
2423 @$(MKCONFIG) $(@:_config=) arm arm720t modnet50 2426 @$(MKCONFIG) $(@:_config=) arm arm720t modnet50
2424 2427
2425 evb4510_config : unconfig 2428 evb4510_config : unconfig
2426 @$(MKCONFIG) $(@:_config=) arm arm720t evb4510 2429 @$(MKCONFIG) $(@:_config=) arm arm720t evb4510
2427 2430
2428 lpc2292sodimm_config: unconfig 2431 lpc2292sodimm_config: unconfig
2429 @$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm NULL lpc2292 2432 @$(MKCONFIG) $(@:_config=) arm arm720t lpc2292sodimm NULL lpc2292
2430 2433
2431 SMN42_config : unconfig 2434 SMN42_config : unconfig
2432 @$(MKCONFIG) $(@:_config=) arm arm720t SMN42 siemens lpc2292 2435 @$(MKCONFIG) $(@:_config=) arm arm720t SMN42 siemens lpc2292
2433 2436
2434 ######################################################################### 2437 #########################################################################
2435 ## XScale Systems 2438 ## XScale Systems
2436 ######################################################################### 2439 #########################################################################
2437 2440
2438 adsvix_config : unconfig 2441 adsvix_config : unconfig
2439 @$(MKCONFIG) $(@:_config=) arm pxa adsvix 2442 @$(MKCONFIG) $(@:_config=) arm pxa adsvix
2440 2443
2441 cerf250_config : unconfig 2444 cerf250_config : unconfig
2442 @$(MKCONFIG) $(@:_config=) arm pxa cerf250 2445 @$(MKCONFIG) $(@:_config=) arm pxa cerf250
2443 2446
2444 cradle_config : unconfig 2447 cradle_config : unconfig
2445 @$(MKCONFIG) $(@:_config=) arm pxa cradle 2448 @$(MKCONFIG) $(@:_config=) arm pxa cradle
2446 2449
2447 csb226_config : unconfig 2450 csb226_config : unconfig
2448 @$(MKCONFIG) $(@:_config=) arm pxa csb226 2451 @$(MKCONFIG) $(@:_config=) arm pxa csb226
2449 2452
2450 delta_config : 2453 delta_config :
2451 @$(MKCONFIG) $(@:_config=) arm pxa delta 2454 @$(MKCONFIG) $(@:_config=) arm pxa delta
2452 2455
2453 innokom_config : unconfig 2456 innokom_config : unconfig
2454 @$(MKCONFIG) $(@:_config=) arm pxa innokom 2457 @$(MKCONFIG) $(@:_config=) arm pxa innokom
2455 2458
2456 ixdp425_config : unconfig 2459 ixdp425_config : unconfig
2457 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425 2460 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2458 2461
2459 ixdpg425_config : unconfig 2462 ixdpg425_config : unconfig
2460 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425 2463 @$(MKCONFIG) $(@:_config=) arm ixp ixdp425
2461 2464
2462 lubbock_config : unconfig 2465 lubbock_config : unconfig
2463 @$(MKCONFIG) $(@:_config=) arm pxa lubbock 2466 @$(MKCONFIG) $(@:_config=) arm pxa lubbock
2464 2467
2465 pleb2_config : unconfig 2468 pleb2_config : unconfig
2466 @$(MKCONFIG) $(@:_config=) arm pxa pleb2 2469 @$(MKCONFIG) $(@:_config=) arm pxa pleb2
2467 2470
2468 logodl_config : unconfig 2471 logodl_config : unconfig
2469 @$(MKCONFIG) $(@:_config=) arm pxa logodl 2472 @$(MKCONFIG) $(@:_config=) arm pxa logodl
2470 2473
2471 pdnb3_config \ 2474 pdnb3_config \
2472 scpu_config: unconfig 2475 scpu_config: unconfig
2473 @mkdir -p $(obj)include 2476 @mkdir -p $(obj)include
2474 @if [ "$(findstring scpu_,$@)" ] ; then \ 2477 @if [ "$(findstring scpu_,$@)" ] ; then \
2475 echo "#define CONFIG_SCPU" >>$(obj)include/config.h ; \ 2478 echo "#define CONFIG_SCPU" >>$(obj)include/config.h ; \
2476 $(XECHO) "... on SCPU board variant" ; \ 2479 $(XECHO) "... on SCPU board variant" ; \
2477 else \ 2480 else \
2478 >$(obj)include/config.h ; \ 2481 >$(obj)include/config.h ; \
2479 fi 2482 fi
2480 @$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive 2483 @$(MKCONFIG) -a pdnb3 arm ixp pdnb3 prodrive
2481 2484
2482 pxa255_idp_config: unconfig 2485 pxa255_idp_config: unconfig
2483 @$(MKCONFIG) $(@:_config=) arm pxa pxa255_idp 2486 @$(MKCONFIG) $(@:_config=) arm pxa pxa255_idp
2484 2487
2485 trizepsiv_config : unconfig 2488 trizepsiv_config : unconfig
2486 @$(MKCONFIG) $(@:_config=) arm pxa trizepsiv 2489 @$(MKCONFIG) $(@:_config=) arm pxa trizepsiv
2487 2490
2488 wepep250_config : unconfig 2491 wepep250_config : unconfig
2489 @$(MKCONFIG) $(@:_config=) arm pxa wepep250 2492 @$(MKCONFIG) $(@:_config=) arm pxa wepep250
2490 2493
2491 xaeniax_config : unconfig 2494 xaeniax_config : unconfig
2492 @$(MKCONFIG) $(@:_config=) arm pxa xaeniax 2495 @$(MKCONFIG) $(@:_config=) arm pxa xaeniax
2493 2496
2494 xm250_config : unconfig 2497 xm250_config : unconfig
2495 @$(MKCONFIG) $(@:_config=) arm pxa xm250 2498 @$(MKCONFIG) $(@:_config=) arm pxa xm250
2496 2499
2497 xsengine_config : unconfig 2500 xsengine_config : unconfig
2498 @$(MKCONFIG) $(@:_config=) arm pxa xsengine 2501 @$(MKCONFIG) $(@:_config=) arm pxa xsengine
2499 2502
2500 zylonite_config : 2503 zylonite_config :
2501 @$(MKCONFIG) $(@:_config=) arm pxa zylonite 2504 @$(MKCONFIG) $(@:_config=) arm pxa zylonite
2502 2505
2503 ######################################################################### 2506 #########################################################################
2504 ## ARM1136 Systems 2507 ## ARM1136 Systems
2505 ######################################################################### 2508 #########################################################################
2506 omap2420h4_config : unconfig 2509 omap2420h4_config : unconfig
2507 @$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4 2510 @$(MKCONFIG) $(@:_config=) arm arm1136 omap2420h4
2508 2511
2509 apollon_config : unconfig 2512 apollon_config : unconfig
2510 @$(MKCONFIG) $(@:_config=) arm arm1136 apollon 2513 @$(MKCONFIG) $(@:_config=) arm arm1136 apollon
2511 2514
2512 #======================================================================== 2515 #========================================================================
2513 # i386 2516 # i386
2514 #======================================================================== 2517 #========================================================================
2515 ######################################################################### 2518 #########################################################################
2516 ## AMD SC520 CDP 2519 ## AMD SC520 CDP
2517 ######################################################################### 2520 #########################################################################
2518 sc520_cdp_config : unconfig 2521 sc520_cdp_config : unconfig
2519 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_cdp 2522 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_cdp
2520 2523
2521 sc520_spunk_config : unconfig 2524 sc520_spunk_config : unconfig
2522 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk 2525 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2523 2526
2524 sc520_spunk_rel_config : unconfig 2527 sc520_spunk_rel_config : unconfig
2525 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk 2528 @$(MKCONFIG) $(@:_config=) i386 i386 sc520_spunk
2526 2529
2527 #======================================================================== 2530 #========================================================================
2528 # MIPS 2531 # MIPS
2529 #======================================================================== 2532 #========================================================================
2530 ######################################################################### 2533 #########################################################################
2531 ## MIPS32 4Kc 2534 ## MIPS32 4Kc
2532 ######################################################################### 2535 #########################################################################
2533 2536
2534 xtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1)))) 2537 xtract_incaip = $(subst _100MHz,,$(subst _133MHz,,$(subst _150MHz,,$(subst _config,,$1))))
2535 2538
2536 incaip_100MHz_config \ 2539 incaip_100MHz_config \
2537 incaip_133MHz_config \ 2540 incaip_133MHz_config \
2538 incaip_150MHz_config \ 2541 incaip_150MHz_config \
2539 incaip_config: unconfig 2542 incaip_config: unconfig
2540 @mkdir -p $(obj)include 2543 @mkdir -p $(obj)include
2541 @ >$(obj)include/config.h 2544 @ >$(obj)include/config.h
2542 @[ -z "$(findstring _100MHz,$@)" ] || \ 2545 @[ -z "$(findstring _100MHz,$@)" ] || \
2543 { echo "#define CPU_CLOCK_RATE 100000000" >>$(obj)include/config.h ; \ 2546 { echo "#define CPU_CLOCK_RATE 100000000" >>$(obj)include/config.h ; \
2544 $(XECHO) "... with 100MHz system clock" ; \ 2547 $(XECHO) "... with 100MHz system clock" ; \
2545 } 2548 }
2546 @[ -z "$(findstring _133MHz,$@)" ] || \ 2549 @[ -z "$(findstring _133MHz,$@)" ] || \
2547 { echo "#define CPU_CLOCK_RATE 133000000" >>$(obj)include/config.h ; \ 2550 { echo "#define CPU_CLOCK_RATE 133000000" >>$(obj)include/config.h ; \
2548 $(XECHO) "... with 133MHz system clock" ; \ 2551 $(XECHO) "... with 133MHz system clock" ; \
2549 } 2552 }
2550 @[ -z "$(findstring _150MHz,$@)" ] || \ 2553 @[ -z "$(findstring _150MHz,$@)" ] || \
2551 { echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h ; \ 2554 { echo "#define CPU_CLOCK_RATE 150000000" >>$(obj)include/config.h ; \
2552 $(XECHO) "... with 150MHz system clock" ; \ 2555 $(XECHO) "... with 150MHz system clock" ; \
2553 } 2556 }
2554 @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip 2557 @$(MKCONFIG) -a $(call xtract_incaip,$@) mips mips incaip
2555 2558
2556 tb0229_config: unconfig 2559 tb0229_config: unconfig
2557 @$(MKCONFIG) $(@:_config=) mips mips tb0229 2560 @$(MKCONFIG) $(@:_config=) mips mips tb0229
2558 2561
2559 ######################################################################### 2562 #########################################################################
2560 ## MIPS32 AU1X00 2563 ## MIPS32 AU1X00
2561 ######################################################################### 2564 #########################################################################
2562 dbau1000_config : unconfig 2565 dbau1000_config : unconfig
2563 @mkdir -p $(obj)include 2566 @mkdir -p $(obj)include
2564 @ >$(obj)include/config.h 2567 @ >$(obj)include/config.h
2565 @echo "#define CONFIG_DBAU1000 1" >>$(obj)include/config.h 2568 @echo "#define CONFIG_DBAU1000 1" >>$(obj)include/config.h
2566 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 2569 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2567 2570
2568 dbau1100_config : unconfig 2571 dbau1100_config : unconfig
2569 @mkdir -p $(obj)include 2572 @mkdir -p $(obj)include
2570 @ >$(obj)include/config.h 2573 @ >$(obj)include/config.h
2571 @echo "#define CONFIG_DBAU1100 1" >>$(obj)include/config.h 2574 @echo "#define CONFIG_DBAU1100 1" >>$(obj)include/config.h
2572 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 2575 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2573 2576
2574 dbau1500_config : unconfig 2577 dbau1500_config : unconfig
2575 @mkdir -p $(obj)include 2578 @mkdir -p $(obj)include
2576 @ >$(obj)include/config.h 2579 @ >$(obj)include/config.h
2577 @echo "#define CONFIG_DBAU1500 1" >>$(obj)include/config.h 2580 @echo "#define CONFIG_DBAU1500 1" >>$(obj)include/config.h
2578 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 2581 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2579 2582
2580 dbau1550_config : unconfig 2583 dbau1550_config : unconfig
2581 @mkdir -p $(obj)include 2584 @mkdir -p $(obj)include
2582 @ >$(obj)include/config.h 2585 @ >$(obj)include/config.h
2583 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h 2586 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h
2584 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 2587 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2585 2588
2586 dbau1550_el_config : unconfig 2589 dbau1550_el_config : unconfig
2587 @mkdir -p $(obj)include 2590 @mkdir -p $(obj)include
2588 @ >$(obj)include/config.h 2591 @ >$(obj)include/config.h
2589 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h 2592 @echo "#define CONFIG_DBAU1550 1" >>$(obj)include/config.h
2590 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00 2593 @$(MKCONFIG) -a dbau1x00 mips mips dbau1x00
2591 2594
2592 pb1000_config : unconfig 2595 pb1000_config : unconfig
2593 @mkdir -p $(obj)include 2596 @mkdir -p $(obj)include
2594 @ >$(obj)include/config.h 2597 @ >$(obj)include/config.h
2595 @echo "#define CONFIG_PB1000 1" >>$(obj)include/config.h 2598 @echo "#define CONFIG_PB1000 1" >>$(obj)include/config.h
2596 @$(MKCONFIG) -a pb1x00 mips mips pb1x00 2599 @$(MKCONFIG) -a pb1x00 mips mips pb1x00
2597 2600
2598 ######################################################################### 2601 #########################################################################
2599 ## MIPS64 5Kc 2602 ## MIPS64 5Kc
2600 ######################################################################### 2603 #########################################################################
2601 2604
2602 purple_config : unconfig 2605 purple_config : unconfig
2603 @$(MKCONFIG) $(@:_config=) mips mips purple 2606 @$(MKCONFIG) $(@:_config=) mips mips purple
2604 2607
2605 #======================================================================== 2608 #========================================================================
2606 # Nios 2609 # Nios
2607 #======================================================================== 2610 #========================================================================
2608 ######################################################################### 2611 #########################################################################
2609 ## Nios32 2612 ## Nios32
2610 ######################################################################### 2613 #########################################################################
2611 2614
2612 DK1C20_safe_32_config \ 2615 DK1C20_safe_32_config \
2613 DK1C20_standard_32_config \ 2616 DK1C20_standard_32_config \
2614 DK1C20_config: unconfig 2617 DK1C20_config: unconfig
2615 @mkdir -p $(obj)include 2618 @mkdir -p $(obj)include
2616 @ >$(obj)include/config.h 2619 @ >$(obj)include/config.h
2617 @[ -z "$(findstring _safe_32,$@)" ] || \ 2620 @[ -z "$(findstring _safe_32,$@)" ] || \
2618 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \ 2621 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2619 $(XECHO) "... NIOS 'safe_32' configuration" ; \ 2622 $(XECHO) "... NIOS 'safe_32' configuration" ; \
2620 } 2623 }
2621 @[ -z "$(findstring _standard_32,$@)" ] || \ 2624 @[ -z "$(findstring _standard_32,$@)" ] || \
2622 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \ 2625 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2623 $(XECHO) "... NIOS 'standard_32' configuration" ; \ 2626 $(XECHO) "... NIOS 'standard_32' configuration" ; \
2624 } 2627 }
2625 @[ -z "$(findstring DK1C20_config,$@)" ] || \ 2628 @[ -z "$(findstring DK1C20_config,$@)" ] || \
2626 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \ 2629 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2627 $(XECHO) "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 2630 $(XECHO) "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2628 } 2631 }
2629 @$(MKCONFIG) -a DK1C20 nios nios dk1c20 altera 2632 @$(MKCONFIG) -a DK1C20 nios nios dk1c20 altera
2630 2633
2631 DK1S10_safe_32_config \ 2634 DK1S10_safe_32_config \
2632 DK1S10_standard_32_config \ 2635 DK1S10_standard_32_config \
2633 DK1S10_mtx_ldk_20_config \ 2636 DK1S10_mtx_ldk_20_config \
2634 DK1S10_config: unconfig 2637 DK1S10_config: unconfig
2635 @mkdir -p $(obj)include 2638 @mkdir -p $(obj)include
2636 @ >$(obj)include/config.h 2639 @ >$(obj)include/config.h
2637 @[ -z "$(findstring _safe_32,$@)" ] || \ 2640 @[ -z "$(findstring _safe_32,$@)" ] || \
2638 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \ 2641 { echo "#define CONFIG_NIOS_SAFE_32 1" >>$(obj)include/config.h ; \
2639 $(XECHO) "... NIOS 'safe_32' configuration" ; \ 2642 $(XECHO) "... NIOS 'safe_32' configuration" ; \
2640 } 2643 }
2641 @[ -z "$(findstring _standard_32,$@)" ] || \ 2644 @[ -z "$(findstring _standard_32,$@)" ] || \
2642 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \ 2645 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2643 $(XECHO) "... NIOS 'standard_32' configuration" ; \ 2646 $(XECHO) "... NIOS 'standard_32' configuration" ; \
2644 } 2647 }
2645 @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \ 2648 @[ -z "$(findstring _mtx_ldk_20,$@)" ] || \
2646 { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>$(obj)include/config.h ; \ 2649 { echo "#define CONFIG_NIOS_MTX_LDK_20 1" >>$(obj)include/config.h ; \
2647 $(XECHO) "... NIOS 'mtx_ldk_20' configuration" ; \ 2650 $(XECHO) "... NIOS 'mtx_ldk_20' configuration" ; \
2648 } 2651 }
2649 @[ -z "$(findstring DK1S10_config,$@)" ] || \ 2652 @[ -z "$(findstring DK1S10_config,$@)" ] || \
2650 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \ 2653 { echo "#define CONFIG_NIOS_STANDARD_32 1" >>$(obj)include/config.h ; \
2651 $(XECHO) "... NIOS 'standard_32' configuration (DEFAULT)" ; \ 2654 $(XECHO) "... NIOS 'standard_32' configuration (DEFAULT)" ; \
2652 } 2655 }
2653 @$(MKCONFIG) -a DK1S10 nios nios dk1s10 altera 2656 @$(MKCONFIG) -a DK1S10 nios nios dk1s10 altera
2654 2657
2655 ADNPESC1_DNPEVA2_base_32_config \ 2658 ADNPESC1_DNPEVA2_base_32_config \
2656 ADNPESC1_base_32_config \ 2659 ADNPESC1_base_32_config \
2657 ADNPESC1_config: unconfig 2660 ADNPESC1_config: unconfig
2658 @mkdir -p $(obj)include 2661 @mkdir -p $(obj)include
2659 @ >$(obj)include/config.h 2662 @ >$(obj)include/config.h
2660 @[ -z "$(findstring _DNPEVA2,$@)" ] || \ 2663 @[ -z "$(findstring _DNPEVA2,$@)" ] || \
2661 { echo "#define CONFIG_DNPEVA2 1" >>$(obj)include/config.h ; \ 2664 { echo "#define CONFIG_DNPEVA2 1" >>$(obj)include/config.h ; \
2662 $(XECHO) "... DNP/EVA2 configuration" ; \ 2665 $(XECHO) "... DNP/EVA2 configuration" ; \
2663 } 2666 }
2664 @[ -z "$(findstring _base_32,$@)" ] || \ 2667 @[ -z "$(findstring _base_32,$@)" ] || \
2665 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \ 2668 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2666 $(XECHO) "... NIOS 'base_32' configuration" ; \ 2669 $(XECHO) "... NIOS 'base_32' configuration" ; \
2667 } 2670 }
2668 @[ -z "$(findstring ADNPESC1_config,$@)" ] || \ 2671 @[ -z "$(findstring ADNPESC1_config,$@)" ] || \
2669 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \ 2672 { echo "#define CONFIG_NIOS_BASE_32 1" >>$(obj)include/config.h ; \
2670 $(XECHO) "... NIOS 'base_32' configuration (DEFAULT)" ; \ 2673 $(XECHO) "... NIOS 'base_32' configuration (DEFAULT)" ; \
2671 } 2674 }
2672 @$(MKCONFIG) -a ADNPESC1 nios nios adnpesc1 ssv 2675 @$(MKCONFIG) -a ADNPESC1 nios nios adnpesc1 ssv
2673 2676
2674 ######################################################################### 2677 #########################################################################
2675 ## Nios-II 2678 ## Nios-II
2676 ######################################################################### 2679 #########################################################################
2677 2680
2678 EP1C20_config : unconfig 2681 EP1C20_config : unconfig
2679 @$(MKCONFIG) EP1C20 nios2 nios2 ep1c20 altera 2682 @$(MKCONFIG) EP1C20 nios2 nios2 ep1c20 altera
2680 2683
2681 EP1S10_config : unconfig 2684 EP1S10_config : unconfig
2682 @$(MKCONFIG) EP1S10 nios2 nios2 ep1s10 altera 2685 @$(MKCONFIG) EP1S10 nios2 nios2 ep1s10 altera
2683 2686
2684 EP1S40_config : unconfig 2687 EP1S40_config : unconfig
2685 @$(MKCONFIG) EP1S40 nios2 nios2 ep1s40 altera 2688 @$(MKCONFIG) EP1S40 nios2 nios2 ep1s40 altera
2686 2689
2687 PK1C20_config : unconfig 2690 PK1C20_config : unconfig
2688 @$(MKCONFIG) PK1C20 nios2 nios2 pk1c20 psyent 2691 @$(MKCONFIG) PK1C20 nios2 nios2 pk1c20 psyent
2689 2692
2690 PCI5441_config : unconfig 2693 PCI5441_config : unconfig
2691 @$(MKCONFIG) PCI5441 nios2 nios2 pci5441 psyent 2694 @$(MKCONFIG) PCI5441 nios2 nios2 pci5441 psyent
2692 2695
2693 #======================================================================== 2696 #========================================================================
2694 # MicroBlaze 2697 # MicroBlaze
2695 #======================================================================== 2698 #========================================================================
2696 ######################################################################### 2699 #########################################################################
2697 ## Microblaze 2700 ## Microblaze
2698 ######################################################################### 2701 #########################################################################
2699 suzaku_config: unconfig 2702 suzaku_config: unconfig
2700 @mkdir -p $(obj)include 2703 @mkdir -p $(obj)include
2701 @ >$(obj)include/config.h 2704 @ >$(obj)include/config.h
2702 @echo "#define CONFIG_SUZAKU 1" >> $(obj)include/config.h 2705 @echo "#define CONFIG_SUZAKU 1" >> $(obj)include/config.h
2703 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno 2706 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze suzaku AtmarkTechno
2704 2707
2705 ml401_config: unconfig 2708 ml401_config: unconfig
2706 @mkdir -p $(obj)include 2709 @mkdir -p $(obj)include
2707 @ >$(obj)include/config.h 2710 @ >$(obj)include/config.h
2708 @echo "#define CONFIG_ML401 1" >> $(obj)include/config.h 2711 @echo "#define CONFIG_ML401 1" >> $(obj)include/config.h
2709 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze ml401 xilinx 2712 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze ml401 xilinx
2710 2713
2711 xupv2p_config: unconfig 2714 xupv2p_config: unconfig
2712 @mkdir -p $(obj)include 2715 @mkdir -p $(obj)include
2713 @ >$(obj)include/config.h 2716 @ >$(obj)include/config.h
2714 @echo "#define CONFIG_XUPV2P 1" >> $(obj)include/config.h 2717 @echo "#define CONFIG_XUPV2P 1" >> $(obj)include/config.h
2715 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze xupv2p xilinx 2718 @$(MKCONFIG) -a $(@:_config=) microblaze microblaze xupv2p xilinx
2716 2719
2717 ######################################################################### 2720 #########################################################################
2718 ## Blackfin 2721 ## Blackfin
2719 ######################################################################### 2722 #########################################################################
2720 bf533-ezkit_config: unconfig 2723 bf533-ezkit_config: unconfig
2721 @$(MKCONFIG) $(@:_config=) blackfin bf533 bf533-ezkit 2724 @$(MKCONFIG) $(@:_config=) blackfin bf533 bf533-ezkit
2722 2725
2723 bf533-stamp_config: unconfig 2726 bf533-stamp_config: unconfig
2724 @$(MKCONFIG) $(@:_config=) blackfin bf533 bf533-stamp 2727 @$(MKCONFIG) $(@:_config=) blackfin bf533 bf533-stamp
2725 2728
2726 bf537-stamp_config: unconfig 2729 bf537-stamp_config: unconfig
2727 @$(MKCONFIG) $(@:_config=) blackfin bf537 bf537-stamp 2730 @$(MKCONFIG) $(@:_config=) blackfin bf537 bf537-stamp
2728 2731
2729 bf561-ezkit_config: unconfig 2732 bf561-ezkit_config: unconfig
2730 @$(MKCONFIG) $(@:_config=) blackfin bf561 bf561-ezkit 2733 @$(MKCONFIG) $(@:_config=) blackfin bf561 bf561-ezkit
2731 2734
2732 #======================================================================== 2735 #========================================================================
2733 # AVR32 2736 # AVR32
2734 #======================================================================== 2737 #========================================================================
2735 ######################################################################### 2738 #########################################################################
2736 ## AT32AP7xxx 2739 ## AT32AP7xxx
2737 ######################################################################### 2740 #########################################################################
2738 2741
2739 atstk1002_config : unconfig 2742 atstk1002_config : unconfig
2740 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x 2743 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
2741 2744
2742 atstk1003_config : unconfig 2745 atstk1003_config : unconfig
2743 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x 2746 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
2744 2747
2745 atstk1004_config : unconfig 2748 atstk1004_config : unconfig
2746 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x 2749 @$(MKCONFIG) $(@:_config=) avr32 at32ap atstk1000 atmel at32ap700x
2747 2750
2748 ######################################################################### 2751 #########################################################################
2749 ######################################################################### 2752 #########################################################################
2750 ######################################################################### 2753 #########################################################################
2751 2754
2752 ######################################################################### 2755 #########################################################################
2753 ## sh4 (Renesas SuperH) 2756 ## sh4 (Renesas SuperH)
2754 ######################################################################### 2757 #########################################################################
2755 ms7750se_config: unconfig 2758 ms7750se_config: unconfig
2756 @ >$(obj)include/config.h 2759 @ >$(obj)include/config.h
2757 @echo "#define CONFIG_MS7750SE 1" >> $(obj)include/config.h 2760 @echo "#define CONFIG_MS7750SE 1" >> $(obj)include/config.h
2758 @./mkconfig -a $(@:_config=) sh sh4 ms7750se 2761 @./mkconfig -a $(@:_config=) sh sh4 ms7750se
2759 2762
2760 ms7722se_config : unconfig 2763 ms7722se_config : unconfig
2761 @ >$(obj)include/config.h 2764 @ >$(obj)include/config.h
2762 @echo "#define CONFIG_MS7722SE 1" >> $(obj)include/config.h 2765 @echo "#define CONFIG_MS7722SE 1" >> $(obj)include/config.h
2763 @./mkconfig -a $(@:_config=) sh sh4 ms7722se 2766 @./mkconfig -a $(@:_config=) sh sh4 ms7722se
2764 2767
2765 ######################################################################### 2768 #########################################################################
2766 ######################################################################### 2769 #########################################################################
2767 ######################################################################### 2770 #########################################################################
2768 2771
2769 clean: 2772 clean:
2770 @find $(OBJTREE) -type f \ 2773 @find $(OBJTREE) -type f \
2771 \( -name 'core' -o -name '*.bak' -o -name '*~' \ 2774 \( -name 'core' -o -name '*.bak' -o -name '*~' \
2772 -o -name '*.o' -o -name '*.a' \) -print \ 2775 -o -name '*.o' -o -name '*.a' \) -print \
2773 | xargs rm -f 2776 | xargs rm -f
2774 @rm -f $(obj)examples/hello_world $(obj)examples/timer \ 2777 @rm -f $(obj)examples/hello_world $(obj)examples/timer \
2775 $(obj)examples/eepro100_eeprom $(obj)examples/sched \ 2778 $(obj)examples/eepro100_eeprom $(obj)examples/sched \
2776 $(obj)examples/mem_to_mem_idma2intr $(obj)examples/82559_eeprom \ 2779 $(obj)examples/mem_to_mem_idma2intr $(obj)examples/82559_eeprom \
2777 $(obj)examples/smc91111_eeprom $(obj)examples/interrupt \ 2780 $(obj)examples/smc91111_eeprom $(obj)examples/interrupt \
2778 $(obj)examples/test_burst 2781 $(obj)examples/test_burst
2779 @rm -f $(obj)tools/img2srec $(obj)tools/mkimage $(obj)tools/envcrc \ 2782 @rm -f $(obj)tools/img2srec $(obj)tools/mkimage $(obj)tools/envcrc \
2780 $(obj)tools/gen_eth_addr $(obj)tools/ubsha1 2783 $(obj)tools/gen_eth_addr $(obj)tools/ubsha1
2781 @rm -f $(obj)tools/mpc86x_clk $(obj)tools/ncb 2784 @rm -f $(obj)tools/mpc86x_clk $(obj)tools/ncb
2782 @rm -f $(obj)tools/easylogo/easylogo $(obj)tools/bmp_logo 2785 @rm -f $(obj)tools/easylogo/easylogo $(obj)tools/bmp_logo
2783 @rm -f $(obj)tools/gdb/astest $(obj)tools/gdb/gdbcont $(obj)tools/gdb/gdbsend 2786 @rm -f $(obj)tools/gdb/astest $(obj)tools/gdb/gdbcont $(obj)tools/gdb/gdbsend
2784 @rm -f $(obj)tools/env/fw_printenv $(obj)tools/env/fw_setenv 2787 @rm -f $(obj)tools/env/fw_printenv $(obj)tools/env/fw_setenv
2785 @rm -f $(obj)board/cray/L1/bootscript.c $(obj)board/cray/L1/bootscript.image 2788 @rm -f $(obj)board/cray/L1/bootscript.c $(obj)board/cray/L1/bootscript.image
2786 @rm -f $(obj)board/netstar/eeprom $(obj)board/netstar/crcek $(obj)board/netstar/crcit 2789 @rm -f $(obj)board/netstar/eeprom $(obj)board/netstar/crcek $(obj)board/netstar/crcit
2787 @rm -f $(obj)board/netstar/*.srec $(obj)board/netstar/*.bin 2790 @rm -f $(obj)board/netstar/*.srec $(obj)board/netstar/*.bin
2788 @rm -f $(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom 2791 @rm -f $(obj)board/trab/trab_fkt $(obj)board/voiceblue/eeprom
2789 @rm -f $(obj)board/integratorap/u-boot.lds $(obj)board/integratorcp/u-boot.lds 2792 @rm -f $(obj)board/integratorap/u-boot.lds $(obj)board/integratorcp/u-boot.lds
2790 @rm -f $(obj)board/bf533-ezkit/u-boot.lds $(obj)board/bf533-stamp/u-boot.lds 2793 @rm -f $(obj)board/bf533-ezkit/u-boot.lds $(obj)board/bf533-stamp/u-boot.lds
2791 @rm -f $(obj)board/bf537-stamp/u-boot.lds $(obj)board/bf561-ezkit/u-boot.lds 2794 @rm -f $(obj)board/bf537-stamp/u-boot.lds $(obj)board/bf561-ezkit/u-boot.lds
2792 @rm -f $(obj)include/bmp_logo.h 2795 @rm -f $(obj)include/bmp_logo.h
2793 @rm -f $(obj)nand_spl/u-boot-spl $(obj)nand_spl/u-boot-spl.map 2796 @rm -f $(obj)nand_spl/u-boot-spl $(obj)nand_spl/u-boot-spl.map
2794 @rm -f $(obj)api_examples/demo $(VERSION_FILE) 2797 @rm -f $(obj)api_examples/demo $(VERSION_FILE)
2795 2798
2796 clobber: clean 2799 clobber: clean
2797 @find $(OBJTREE) -type f \( -name .depend \ 2800 @find $(OBJTREE) -type f \( -name .depend \
2798 -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \ 2801 -o -name '*.srec' -o -name '*.bin' -o -name u-boot.img \) \
2799 -print0 \ 2802 -print0 \
2800 | xargs -0 rm -f 2803 | xargs -0 rm -f
2801 @rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS 2804 @rm -f $(OBJS) $(obj)*.bak $(obj)ctags $(obj)etags $(obj)TAGS
2802 @rm -fr $(obj)*.*~ 2805 @rm -fr $(obj)*.*~
2803 @rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL) 2806 @rm -f $(obj)u-boot $(obj)u-boot.map $(obj)u-boot.hex $(ALL)
2804 @rm -f $(obj)tools/crc32.c $(obj)tools/environment.c $(obj)tools/env/crc32.c $(obj)tools/sha1.c 2807 @rm -f $(obj)tools/crc32.c $(obj)tools/environment.c $(obj)tools/env/crc32.c $(obj)tools/sha1.c
2805 @rm -f $(obj)tools/inca-swap-bytes $(obj)cpu/mpc824x/bedbug_603e.c 2808 @rm -f $(obj)tools/inca-swap-bytes $(obj)cpu/mpc824x/bedbug_603e.c
2806 @rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm 2809 @rm -f $(obj)include/asm/proc $(obj)include/asm/arch $(obj)include/asm
2807 @[ ! -d $(obj)nand_spl ] || find $(obj)nand_spl -lname "*" -print | xargs rm -f 2810 @[ ! -d $(obj)nand_spl ] || find $(obj)nand_spl -lname "*" -print | xargs rm -f
2808 @[ ! -d $(obj)api_examples ] || find $(obj)api_examples -lname "*" -print | xargs rm -f 2811 @[ ! -d $(obj)api_examples ] || find $(obj)api_examples -lname "*" -print | xargs rm -f
2809 2812
2810 ifeq ($(OBJTREE),$(SRCTREE)) 2813 ifeq ($(OBJTREE),$(SRCTREE))
2811 mrproper \ 2814 mrproper \
2812 distclean: clobber unconfig 2815 distclean: clobber unconfig
2813 else 2816 else
2814 mrproper \ 2817 mrproper \
2815 distclean: clobber unconfig 2818 distclean: clobber unconfig
2816 rm -rf $(obj)* 2819 rm -rf $(obj)*
2817 endif 2820 endif
2818 2821
2819 backup: 2822 backup:
2820 F=`basename $(TOPDIR)` ; cd .. ; \ 2823 F=`basename $(TOPDIR)` ; cd .. ; \
2821 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F 2824 gtar --force-local -zcvf `date "+$$F-%Y-%m-%d-%T.tar.gz"` $$F
2822 2825
2823 ######################################################################### 2826 #########################################################################
2824 2827
board/freescale/mpc8315erdb/Makefile
File was created 1 #
2 # (C) Copyright 2006
3 # Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4 #
5 # See file CREDITS for list of people who contributed to this
6 # project.
7 #
8 # This program is free software; you can redistribute it and/or
9 # modify it under the terms of the GNU General Public License as
10 # published by the Free Software Foundation; either version 2 of
11 # the License, or (at your option) any later version.
12 #
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
17 #
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
21 # MA 02111-1307 USA
22 #
23
24 include $(TOPDIR)/config.mk
25
26 LIB = $(obj)lib$(BOARD).a
27
28 COBJS := $(BOARD).o sdram.o
29
30 SRCS := $(SOBJS:.o=.S) $(COBJS:.o=.c)
31 OBJS := $(addprefix $(obj),$(COBJS))
32 SOBJS := $(addprefix $(obj),$(SOBJS))
33
34 $(LIB): $(obj).depend $(OBJS)
35 $(AR) crv $@ $(OBJS)
36
37 clean:
38 rm -f $(SOBJS) $(OBJS)
39
40 distclean: clean
41 rm -f $(LIB) core *.bak .depend
42
43 #########################################################################
44
45 # defines $(obj).depend target
46 include $(SRCTREE)/rules.mk
47
48 sinclude $(obj).depend
49
50 #########################################################################
51
board/freescale/mpc8315erdb/config.mk
File was created 1 TEXT_BASE = 0xFE000000
2
board/freescale/mpc8315erdb/mpc8315erdb.c
File was created 1 /*
2 * Copyright (C) 2007 Freescale Semiconductor, Inc.
3 *
4 * Author: Scott Wood <scottwood@freescale.com>
5 * Dave Liu <daveliu@freescale.com>
6 *
7 * See file CREDITS for list of people who contributed to this
8 * project.
9 *
10 * This program is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU General Public License as
12 * published by the Free Software Foundation; either version 2 of
13 * the License, or (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS for A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program; if not, write to the Free Software
22 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
23 * MA 02111-1307 USA
24 */
25
26 #include <common.h>
27 #include <i2c.h>
28 #if defined(CONFIG_OF_LIBFDT)
29 #include <libfdt.h>
30 #endif
31 #include <pci.h>
32 #include <mpc83xx.h>
33
34 DECLARE_GLOBAL_DATA_PTR;
35
36 int board_early_init_f(void)
37 {
38 volatile immap_t *im = (immap_t *)CFG_IMMR;
39
40 if (im->pmc.pmccr1 & PMCCR1_POWER_OFF)
41 gd->flags |= GD_FLG_SILENT;
42
43 return 0;
44 }
45
46 static u8 read_board_info(void)
47 {
48 u8 val8;
49 i2c_set_bus_num(0);
50
51 if (i2c_read(CFG_I2C_PCF8574A_ADDR, 0, 0, &val8, 1) == 0)
52 return val8;
53 else
54 return 0;
55 }
56
57 int checkboard(void)
58 {
59 static const char * const rev_str[] = {
60 "0.0",
61 "0.1",
62 "1.0",
63 "1.1",
64 "<unknown>",
65 };
66 u8 info;
67 int i;
68
69 info = read_board_info();
70 i = (!info) ? 4: info & 0x03;
71
72 printf("Board: Freescale MPC8315ERDB Rev %s\n", rev_str[i]);
73
74 return 0;
75 }
76
77 static struct pci_region pci_regions[] = {
78 {
79 bus_start: CFG_PCI_MEM_BASE,
80 phys_start: CFG_PCI_MEM_PHYS,
81 size: CFG_PCI_MEM_SIZE,
82 flags: PCI_REGION_MEM | PCI_REGION_PREFETCH
83 },
84 {
85 bus_start: CFG_PCI_MMIO_BASE,
86 phys_start: CFG_PCI_MMIO_PHYS,
87 size: CFG_PCI_MMIO_SIZE,
88 flags: PCI_REGION_MEM
89 },
90 {
91 bus_start: CFG_PCI_IO_BASE,
92 phys_start: CFG_PCI_IO_PHYS,
93 size: CFG_PCI_IO_SIZE,
94 flags: PCI_REGION_IO
95 }
96 };
97
98 void pci_init_board(void)
99 {
100 volatile immap_t *immr = (volatile immap_t *)CFG_IMMR;
101 volatile clk83xx_t *clk = (volatile clk83xx_t *)&immr->clk;
102 volatile law83xx_t *pci_law = immr->sysconf.pcilaw;
103 struct pci_region *reg[] = { pci_regions };
104 int warmboot;
105
106 /* Enable all 3 PCI_CLK_OUTPUTs. */
107 clk->occr |= 0xe0000000;
108
109 /*
110 * Configure PCI Local Access Windows
111 */
112 pci_law[0].bar = CFG_PCI_MEM_PHYS & LAWBAR_BAR;
113 pci_law[0].ar = LBLAWAR_EN | LBLAWAR_512MB;
114
115 pci_law[1].bar = CFG_PCI_IO_PHYS & LAWBAR_BAR;
116 pci_law[1].ar = LBLAWAR_EN | LBLAWAR_1MB;
117
118 warmboot = gd->bd->bi_bootflags & BOOTFLAG_WARM;
119 warmboot |= immr->pmc.pmccr1 & PMCCR1_POWER_OFF;
120
121 mpc83xx_pci_init(1, reg, warmboot);
122 }
123
124 #if defined(CONFIG_OF_BOARD_SETUP)
125 void ft_board_setup(void *blob, bd_t *bd)
126 {
127 ft_cpu_setup(blob, bd);
128 #ifdef CONFIG_PCI
129 ft_pci_setup(blob, bd);
130 #endif
131 }
132 #endif
133
board/freescale/mpc8315erdb/sdram.c
File was created 1 /*
2 * Copyright (C) 2007 Freescale Semiconductor, Inc.
3 *
4 * Authors: Nick.Spence@freescale.com
5 * Wilson.Lo@freescale.com
6 * scottwood@freescale.com
7 *
8 * See file CREDITS for list of people who contributed to this
9 * project.
10 *
11 * This program is free software; you can redistribute it and/or
12 * modify it under the terms of the GNU General Public License as
13 * published by the Free Software Foundation; either version 2 of
14 * the License, or (at your option) any later version.
15 *
16 * This program is distributed in the hope that it will be useful,
17 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18 * MERCHANTABILITY or FITNESS for A PARTICULAR PURPOSE. See the
19 * GNU General Public License for more details.
20 *
21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
24 * MA 02111-1307 USA
25 */
26
27 #include <common.h>
28 #include <mpc83xx.h>
29 #include <spd_sdram.h>
30
31 #include <asm/bitops.h>
32 #include <asm/io.h>
33
34 #include <asm/processor.h>
35
36 DECLARE_GLOBAL_DATA_PTR;
37
38 static void resume_from_sleep(void)
39 {
40 u32 magic = *(u32 *)0;
41
42 typedef void (*func_t)(void);
43 func_t resume = *(func_t *)4;
44
45 if (magic == 0xf5153ae5)
46 resume();
47
48 gd->flags &= ~GD_FLG_SILENT;
49 puts("\nResume from sleep failed: bad magic word\n");
50 }
51
52 /* Fixed sdram init -- doesn't use serial presence detect.
53 *
54 * This is useful for faster booting in configs where the RAM is unlikely
55 * to be changed, or for things like NAND booting where space is tight.
56 */
57 static long fixed_sdram(void)
58 {
59 volatile immap_t *im = (volatile immap_t *)CFG_IMMR;
60 u32 msize = CFG_DDR_SIZE * 1024 * 1024;
61 u32 msize_log2 = __ilog2(msize);
62
63 im->sysconf.ddrlaw[0].bar = CFG_DDR_SDRAM_BASE >> 12;
64 im->sysconf.ddrlaw[0].ar = LBLAWAR_EN | (msize_log2 - 1);
65 im->sysconf.ddrcdr = CFG_DDRCDR_VALUE;
66
67 /*
68 * Erratum DDR3 requires a 50ms delay after clearing DDRCDR[DDR_cfg],
69 * or the DDR2 controller may fail to initialize correctly.
70 */
71 udelay(50000);
72
73 im->ddr.csbnds[0].csbnds = (msize - 1) >> 24;
74 im->ddr.cs_config[0] = CFG_DDR_CS0_CONFIG;
75
76 /* Currently we use only one CS, so disable the other bank. */
77 im->ddr.cs_config[1] = 0;
78
79 im->ddr.sdram_clk_cntl = CFG_DDR_SDRAM_CLK_CNTL;
80 im->ddr.timing_cfg_3 = CFG_DDR_TIMING_3;
81 im->ddr.timing_cfg_1 = CFG_DDR_TIMING_1;
82 im->ddr.timing_cfg_2 = CFG_DDR_TIMING_2;
83 im->ddr.timing_cfg_0 = CFG_DDR_TIMING_0;
84
85 if (im->pmc.pmccr1 & PMCCR1_POWER_OFF)
86 im->ddr.sdram_cfg = CFG_DDR_SDRAM_CFG | SDRAM_CFG_BI;
87 else
88 im->ddr.sdram_cfg = CFG_DDR_SDRAM_CFG;
89
90 im->ddr.sdram_cfg2 = CFG_DDR_SDRAM_CFG2;
91 im->ddr.sdram_mode = CFG_DDR_MODE;
92 im->ddr.sdram_mode2 = CFG_DDR_MODE2;
93
94 im->ddr.sdram_interval = CFG_DDR_INTERVAL;
95 sync();
96
97 /* enable DDR controller */
98 im->ddr.sdram_cfg |= SDRAM_CFG_MEM_EN;
99 sync();
100
101 return msize;
102 }
103
104 long int initdram(int board_type)
105 {
106 volatile immap_t *im = (volatile immap_t *)CFG_IMMR;
107 u32 msize;
108
109 if ((im->sysconf.immrbar & IMMRBAR_BASE_ADDR) != (u32)im)
110 return -1;
111
112 /* DDR SDRAM */
113 msize = fixed_sdram();
114
115 if (im->pmc.pmccr1 & PMCCR1_POWER_OFF)
116 resume_from_sleep();
117
118 /* return total bus SDRAM size(bytes) -- DDR */
119 return msize;
120 }
121
doc/README.mpc8315erdb
File was created 1 Freescale MPC8315ERDB Board
2 -----------------------------------------
3
4 1. Board Switches and Jumpers
5
6 S3 is used to set CFG_RESET_SOURCE.
7
8 To boot the image at 0xFE000000 in NOR flash, use these DIP
9 switche settings for S3 S4:
10
11 +------+ +------+
12 | | | **** |
13 | **** | | |
14 +------+ ON +------+ ON
15 4321 4321
16 (where the '*' indicates the position of the tab of the switch.)
17
18 2. Memory Map
19 The memory map looks like this:
20
21 0x0000_0000 0x07ff_ffff DDR 128M
22 0x8000_0000 0x8fff_ffff PCI MEM 256M
23 0x9000_0000 0x9fff_ffff PCI_MMIO 256M
24 0xe000_0000 0xe00f_ffff IMMR 1M
25 0xe030_0000 0xe03f_ffff PCI IO 1M
26 0xe060_0000 0xe060_7fff NAND FLASH (CS1) 32K
27 0xfe00_0000 0xfe7f_ffff NOR FLASH (CS0) 8M
28
29 3. Definitions
30
31 3.1 Explanation of NEW definitions in:
32
33 include/configs/MPC8315ERDB.h
34
35 CONFIG_MPC83xx MPC83xx family
36 CONFIG_MPC831x MPC831x specific
37 CONFIG_MPC8315 MPC8315 specific
38 CONFIG_MPC8315ERDB MPC8315ERDB board specific
39
40 4. Compilation
41
42 Assuming you're using BASH (or similar) as your shell:
43
44 export CROSS_COMPILE=your-cross-compiler-prefix-
45 make distclean
46 make MPC8315ERDB_config
47 make all
48
49 5. Downloading and Flashing Images
50
51 5.1 Reflash U-boot Image using U-boot
52
53 tftp 40000 u-boot.bin
54 protect off all
55 erase fe000000 fe1fffff
56
57 cp.b 40000 fe000000 xxxx
58 protect on all
59
60 You have to supply the correct byte count with 'xxxx'
61 from the TFTP result log.
62
63 5.2 Downloading and Booting Linux Kernel
64
65 Ensure that all networking-related environment variables are set
66 properly (including ipaddr, serverip, gatewayip (if needed),
67 netmask, ethaddr, eth1addr, rootpath (if using NFS root),
68 fdtfile, and bootfile).
69
70 Then, do one of the following, depending on whether you
71 want an NFS root or a ramdisk root:
72
73 =>run nfsboot
74 or
75 =>run ramboot
76
77 6 Notes
78
79 Booting from NAND flash is not yet supported.
80 The console baudrate for MPC8315ERDB is 115200bps.
81
include/configs/MPC8315ERDB.h
File was created 1 /*
2 * Copyright (C) 2007 Freescale Semiconductor, Inc.
3 *
4 * Dave Liu <daveliu@freescale.com>
5 *
6 * See file CREDITS for list of people who contributed to this
7 * project.
8 *
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License as
11 * published by the Free Software Foundation; either version 2 of
12 * the License, or (at your option) any later version.
13 *
14 * This program is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 * GNU General Public License for more details.
18 *
19 * You should have received a copy of the GNU General Public License
20 * along with this program; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
22 * MA 02111-1307 USA
23 */
24
25 #ifndef __CONFIG_H
26 #define __CONFIG_H
27
28 #undef DEBUG
29
30 /*
31 * High Level Configuration Options
32 */
33 #define CONFIG_E300 1 /* E300 family */
34 #define CONFIG_MPC83XX 1 /* MPC83xx family */
35 #define CONFIG_MPC831X 1 /* MPC831x CPU family */
36 #define CONFIG_MPC8315 1 /* MPC8315 CPU specific */
37 #define CONFIG_MPC8315ERDB 1 /* MPC8315ERDB board specific */
38
39 /*
40 * System Clock Setup
41 */
42 #define CONFIG_83XX_CLKIN 66666667 /* in Hz */
43 #define CONFIG_SYS_CLK_FREQ CONFIG_83XX_CLKIN
44
45 /*
46 * Hardware Reset Configuration Word
47 * if CLKIN is 66.66MHz, then
48 * CSB = 133MHz, CORE = 400MHz, DDRC = 266MHz, LBC = 133MHz
49 */
50 #define CFG_HRCW_LOW (\
51 HRCWL_LCL_BUS_TO_SCB_CLK_1X1 |\
52 HRCWL_DDR_TO_SCB_CLK_2X1 |\
53 HRCWL_SVCOD_DIV_2 |\
54 HRCWL_CSB_TO_CLKIN_2X1 |\
55 HRCWL_CORE_TO_CSB_3X1)
56 #define CFG_HRCW_HIGH (\
57 HRCWH_PCI_HOST |\
58 HRCWH_PCI1_ARBITER_ENABLE |\
59 HRCWH_CORE_ENABLE |\
60 HRCWH_FROM_0X00000100 |\
61 HRCWH_BOOTSEQ_DISABLE |\
62 HRCWH_SW_WATCHDOG_DISABLE |\
63 HRCWH_ROM_LOC_LOCAL_16BIT |\
64 HRCWH_RL_EXT_LEGACY |\
65 HRCWH_TSEC1M_IN_RGMII |\
66 HRCWH_TSEC2M_IN_RGMII |\
67 HRCWH_BIG_ENDIAN |\
68 HRCWH_LALE_NORMAL)
69
70 /*
71 * System IO Config
72 */
73 #define CFG_SICRH 0x00000000
74 #define CFG_SICRL 0x00000000 /* 3.3V, no delay */
75
76 #define CONFIG_BOARD_EARLY_INIT_F /* call board_pre_init */
77
78 /*
79 * IMMR new address
80 */
81 #define CFG_IMMR 0xE0000000
82
83 /*
84 * Arbiter Setup
85 */
86 #define CFG_ACR_PIPE_DEP 3 /* Arbiter pipeline depth is 4 */
87 #define CFG_ACR_RPTCNT 3 /* Arbiter repeat count is 4 */
88 #define CFG_SPCR_TSECEP 3 /* eTSEC emergency priority is highest */
89
90 /*
91 * DDR Setup
92 */
93 #define CFG_DDR_BASE 0x00000000 /* DDR is system memory */
94 #define CFG_SDRAM_BASE CFG_DDR_BASE
95 #define CFG_DDR_SDRAM_BASE CFG_DDR_BASE
96 #define CFG_DDR_SDRAM_CLK_CNTL DDR_SDRAM_CLK_CNTL_CLK_ADJUST_05
97 #define CFG_DDRCDR_VALUE ( DDRCDR_EN \
98 | DDRCDR_PZ_LOZ \
99 | DDRCDR_NZ_LOZ \
100 | DDRCDR_ODT \
101 | DDRCDR_Q_DRN )
102 /* 0x7b880001 */
103 /*
104 * Manually set up DDR parameters
105 * consist of two chips HY5PS12621BFP-C4 from HYNIX
106 */
107 #define CFG_DDR_SIZE 128 /* MB */
108 #define CFG_DDR_CS0_BNDS 0x00000007
109 #define CFG_DDR_CS0_CONFIG ( CSCONFIG_EN \
110 | 0x00010000 /* ODT_WR to CSn */ \
111 | CSCONFIG_ROW_BIT_13 | CSCONFIG_COL_BIT_10 )
112 /* 0x80010102 */
113 #define CFG_DDR_TIMING_3 0x00000000
114 #define CFG_DDR_TIMING_0 ( ( 0 << TIMING_CFG0_RWT_SHIFT ) \
115 | ( 0 << TIMING_CFG0_WRT_SHIFT ) \
116 | ( 0 << TIMING_CFG0_RRT_SHIFT ) \
117 | ( 0 << TIMING_CFG0_WWT_SHIFT ) \
118 | ( 2 << TIMING_CFG0_ACT_PD_EXIT_SHIFT ) \
119 | ( 2 << TIMING_CFG0_PRE_PD_EXIT_SHIFT ) \
120 | ( 8 << TIMING_CFG0_ODT_PD_EXIT_SHIFT ) \
121 | ( 2 << TIMING_CFG0_MRS_CYC_SHIFT ) )
122 /* 0x00220802 */
123 #define CFG_DDR_TIMING_1 ( ( 3 << TIMING_CFG1_PRETOACT_SHIFT ) \
124 | ( 9 << TIMING_CFG1_ACTTOPRE_SHIFT ) \
125 | ( 3 << TIMING_CFG1_ACTTORW_SHIFT ) \
126 | ( 5 << TIMING_CFG1_CASLAT_SHIFT ) \
127 | ( 6 << TIMING_CFG1_REFREC_SHIFT ) \
128 | ( 2 << TIMING_CFG1_WRREC_SHIFT ) \
129 | ( 2 << TIMING_CFG1_ACTTOACT_SHIFT ) \
130 | ( 2 << TIMING_CFG1_WRTORD_SHIFT ) )
131 /* 0x39356222 */
132 #define CFG_DDR_TIMING_2 ( ( 1 << TIMING_CFG2_ADD_LAT_SHIFT ) \
133 | ( 4 << TIMING_CFG2_CPO_SHIFT ) \
134 | ( 2 << TIMING_CFG2_WR_LAT_DELAY_SHIFT ) \
135 | ( 2 << TIMING_CFG2_RD_TO_PRE_SHIFT ) \
136 | ( 2 << TIMING_CFG2_WR_DATA_DELAY_SHIFT ) \
137 | ( 3 << TIMING_CFG2_CKE_PLS_SHIFT ) \
138 | ( 7 << TIMING_CFG2_FOUR_ACT_SHIFT) )
139 /* 0x121048c7 */
140 #define CFG_DDR_INTERVAL ( ( 0x0360 << SDRAM_INTERVAL_REFINT_SHIFT ) \
141 | ( 0x0100 << SDRAM_INTERVAL_BSTOPRE_SHIFT ) )
142 /* 0x03600100 */
143 #define CFG_DDR_SDRAM_CFG ( SDRAM_CFG_SREN \
144 | SDRAM_CFG_SDRAM_TYPE_DDR2 \
145 | SDRAM_CFG_32_BE )
146 /* 0x43080000 */
147 #define CFG_DDR_SDRAM_CFG2 0x00401000 /* 1 posted refresh */
148 #define CFG_DDR_MODE ( ( 0x0448 << SDRAM_MODE_ESD_SHIFT ) \
149 | ( 0x0232 << SDRAM_MODE_SD_SHIFT ) )
150 /* ODT 150ohm CL=3, AL=1 on SDRAM */
151 #define CFG_DDR_MODE2 0x00000000
152
153 /*
154 * Memory test
155 */
156 #undef CFG_DRAM_TEST /* memory test, takes time */
157 #define CFG_MEMTEST_START 0x00040000 /* memtest region */
158 #define CFG_MEMTEST_END 0x00140000
159
160 /*
161 * The reserved memory
162 */
163 #define CFG_MONITOR_BASE TEXT_BASE /* start of monitor */
164
165 #if (CFG_MONITOR_BASE < CFG_FLASH_BASE)
166 #define CFG_RAMBOOT
167 #else
168 #undef CFG_RAMBOOT
169 #endif
170
171 #define CFG_MONITOR_LEN (256 * 1024) /* Reserve 256 kB for Mon */
172 #define CFG_MALLOC_LEN (512 * 1024) /* Reserved for malloc */
173
174 /*
175 * Initial RAM Base Address Setup
176 */
177 #define CFG_INIT_RAM_LOCK 1
178 #define CFG_INIT_RAM_ADDR 0xE6000000 /* Initial RAM address */
179 #define CFG_INIT_RAM_END 0x1000 /* End of used area in RAM */
180 #define CFG_GBL_DATA_SIZE 0x100 /* num bytes initial data */
181 #define CFG_GBL_DATA_OFFSET (CFG_INIT_RAM_END - CFG_GBL_DATA_SIZE)
182
183 /*
184 * Local Bus Configuration & Clock Setup
185 */
186 #define CFG_LCRR (LCRR_DBYP | LCRR_CLKDIV_2)
187 #define CFG_LBC_LBCR 0x00040000
188
189 /*
190 * FLASH on the Local Bus
191 */
192 #define CFG_FLASH_CFI /* use the Common Flash Interface */
193 #define CFG_FLASH_CFI_DRIVER /* use the CFI driver */
194 #define CFG_FLASH_CFI_WIDTH FLASH_CFI_16BIT
195
196 #define CFG_FLASH_BASE 0xFE000000 /* FLASH base address */
197 #define CFG_FLASH_SIZE 8 /* FLASH size is 8M */
198
199 #define CFG_LBLAWBAR0_PRELIM CFG_FLASH_BASE /* Window base at flash base */
200 #define CFG_LBLAWAR0_PRELIM 0x80000016 /* 8MB window size */
201
202 #define CFG_BR0_PRELIM ( CFG_FLASH_BASE /* Flash Base address */ \
203 | (2 << BR_PS_SHIFT) /* 16 bit port size */ \
204 | BR_V ) /* valid */
205 #define CFG_OR0_PRELIM ( (~(CFG_FLASH_SIZE - 1) << 20) \
206 | OR_UPM_XAM \
207 | OR_GPCM_CSNT \
208 | OR_GPCM_ACS_0b11 \
209 | OR_GPCM_XACS \
210 | OR_GPCM_SCY_15 \
211 | OR_GPCM_TRLX \
212 | OR_GPCM_EHTR \
213 | OR_GPCM_EAD )
214
215 #define CFG_MAX_FLASH_BANKS 1 /* number of banks */
216 #define CFG_MAX_FLASH_SECT 135 /* 127 64KB sectors and 8 8KB top sectors per device */
217
218 #undef CFG_FLASH_CHECKSUM
219 #define CFG_FLASH_ERASE_TOUT 60000 /* Flash Erase Timeout (ms) */
220 #define CFG_FLASH_WRITE_TOUT 500 /* Flash Write Timeout (ms) */
221
222 /*
223 * NAND Flash on the Local Bus
224 */
225 #define CFG_NAND_BASE 0xE0600000 /* 0xE0600000 */
226 #define CFG_MAX_NAND_DEVICE 1
227 #define NAND_MAX_CHIPS 1
228 #define CONFIG_MTD_NAND_VERIFY_WRITE
229
230 #define CFG_BR1_PRELIM ( CFG_NAND_BASE \
231 | (2<<BR_DECC_SHIFT) /* Use HW ECC */ \
232 | BR_PS_8 /* Port Size = 8 bit */ \
233 | BR_MS_FCM /* MSEL = FCM */ \
234 | BR_V ) /* valid */
235 #define CFG_OR1_PRELIM ( 0xFFFF8000 /* length 32K */ \
236 | OR_FCM_CSCT \
237 | OR_FCM_CST \
238 | OR_FCM_CHT \
239 | OR_FCM_SCY_1 \
240 | OR_FCM_TRLX \
241 | OR_FCM_EHTR )
242 /* 0xFFFF8396 */
243
244 #define CFG_LBLAWBAR1_PRELIM CFG_NAND_BASE
245 #define CFG_LBLAWAR1_PRELIM 0x8000000E /* 32KB */
246
247 /*
248 * Serial Port
249 */
250 #define CONFIG_CONS_INDEX 1
251 #undef CONFIG_SERIAL_SOFTWARE_FIFO
252 #define CFG_NS16550
253 #define CFG_NS16550_SERIAL
254 #define CFG_NS16550_REG_SIZE 1
255 #define CFG_NS16550_CLK get_bus_freq(0)
256
257 #define CFG_BAUDRATE_TABLE \
258 {300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200}
259
260 #define CFG_NS16550_COM1 (CFG_IMMR+0x4500)
261 #define CFG_NS16550_COM2 (CFG_IMMR+0x4600)
262
263 /* Use the HUSH parser */
264 #define CFG_HUSH_PARSER
265 #ifdef CFG_HUSH_PARSER
266 #define CFG_PROMPT_HUSH_PS2 "> "
267 #endif
268
269 /* Pass open firmware flat tree */
270 #define CONFIG_OF_LIBFDT 1
271 #define CONFIG_OF_BOARD_SETUP 1
272 #define CONFIG_OF_STDOUT_VIA_ALIAS 1
273
274 /* I2C */
275 #define CONFIG_HARD_I2C /* I2C with hardware support */
276 #define CONFIG_FSL_I2C
277 #define CFG_I2C_SPEED 400000 /* I2C speed and slave address */
278 #define CFG_I2C_SLAVE 0x7F
279 #define CFG_I2C_NOPROBES {0x51} /* Don't probe these addrs */
280 #define CFG_I2C_OFFSET 0x3000
281 #define CFG_I2C2_OFFSET 0x3100
282
283 /*
284 * Board info - revision and where boot from
285 */
286 #define CFG_I2C_PCF8574A_ADDR 0x39
287
288 /*
289 * Config on-board RTC
290 */
291 #define CONFIG_RTC_DS1337 /* ds1339 on board, use ds1337 rtc via i2c */
292 #define CFG_I2C_RTC_ADDR 0x68 /* at address 0x68 */
293
294 /*
295 * General PCI
296 * Addresses are mapped 1-1.
297 */
298 #define CFG_PCI_MEM_BASE 0x80000000
299 #define CFG_PCI_MEM_PHYS CFG_PCI_MEM_BASE
300 #define CFG_PCI_MEM_SIZE 0x10000000 /* 256M */
301 #define CFG_PCI_MMIO_BASE 0x90000000
302 #define CFG_PCI_MMIO_PHYS CFG_PCI_MMIO_BASE
303 #define CFG_PCI_MMIO_SIZE 0x10000000 /* 256M */
304 #define CFG_PCI_IO_BASE 0xE0300000
305 #define CFG_PCI_IO_PHYS 0xE0300000
306 #define CFG_PCI_IO_SIZE 0x100000 /* 1M */
307
308 #define CFG_PCI_SLV_MEM_LOCAL CFG_SDRAM_BASE
309 #define CFG_PCI_SLV_MEM_BUS 0x00000000
310 #define CFG_PCI_SLV_MEM_SIZE 0x80000000
311
312 #define CONFIG_PCI
313 #define CONFIG_83XX_GENERIC_PCI 1 /* Use generic PCI setup */
314
315 #define CONFIG_NET_MULTI
316 #define CONFIG_PCI_PNP /* do pci plug-and-play */
317
318 #define CONFIG_EEPRO100
319 #undef CONFIG_PCI_SCAN_SHOW /* show pci devices on startup */
320 #define CFG_PCI_SUBSYS_VENDORID 0x1957 /* Freescale */
321
322 #ifndef CONFIG_NET_MULTI
323 #define CONFIG_NET_MULTI 1
324 #endif
325
326 /*
327 * TSEC
328 */
329 #define CONFIG_TSEC_ENET /* TSEC ethernet support */
330 #define CFG_TSEC1_OFFSET 0x24000
331 #define CFG_TSEC1 (CFG_IMMR+CFG_TSEC1_OFFSET)
332 #define CFG_TSEC2_OFFSET 0x25000
333 #define CFG_TSEC2 (CFG_IMMR+CFG_TSEC2_OFFSET)
334
335 /*
336 * TSEC ethernet configuration
337 */
338 #define CONFIG_MII 1 /* MII PHY management */
339 #define CONFIG_TSEC1 1
340 #define CONFIG_TSEC1_NAME "eTSEC0"
341 #define CONFIG_TSEC2 1
342 #define CONFIG_TSEC2_NAME "eTSEC1"
343 #define TSEC1_PHY_ADDR 0
344 #define TSEC2_PHY_ADDR 1
345 #define TSEC1_PHYIDX 0
346 #define TSEC2_PHYIDX 0
347 #define TSEC1_FLAGS TSEC_GIGABIT
348 #define TSEC2_FLAGS TSEC_GIGABIT
349
350 /* Options are: eTSEC[0-1] */
351 #define CONFIG_ETHPRIME "eTSEC1"
352
353 /*
354 * Environment
355 */
356 #ifndef CFG_RAMBOOT
357 #define CFG_ENV_IS_IN_FLASH 1
358 #define CFG_ENV_ADDR (CFG_MONITOR_BASE + CFG_MONITOR_LEN)
359 #define CFG_ENV_SECT_SIZE 0x10000 /* 64K(one sector) for env */
360 #define CFG_ENV_SIZE 0x2000
361 #else
362 #define CFG_NO_FLASH 1 /* Flash is not usable now */
363 #define CFG_ENV_IS_NOWHERE 1 /* Store ENV in memory only */
364 #define CFG_ENV_ADDR (CFG_MONITOR_BASE - 0x1000)
365 #define CFG_ENV_SIZE 0x2000
366 #endif
367
368 #define CONFIG_LOADS_ECHO 1 /* echo on for serial download */
369 #define CFG_LOADS_BAUD_CHANGE 1 /* allow baudrate change */
370
371 /*
372 * BOOTP options
373 */
374 #define CONFIG_BOOTP_BOOTFILESIZE
375 #define CONFIG_BOOTP_BOOTPATH
376 #define CONFIG_BOOTP_GATEWAY
377 #define CONFIG_BOOTP_HOSTNAME
378
379 /*
380 * Command line configuration.
381 */
382 #include <config_cmd_default.h>
383
384 #define CONFIG_CMD_PING
385 #define CONFIG_CMD_I2C
386 #define CONFIG_CMD_MII
387 #define CONFIG_CMD_DATE
388 #define CONFIG_CMD_PCI
389
390 #if defined(CFG_RAMBOOT)
391 #undef CONFIG_CMD_ENV
392 #undef CONFIG_CMD_LOADS
393 #endif
394
395 #define CONFIG_CMDLINE_EDITING 1 /* add command line history */
396
397 #undef CONFIG_WATCHDOG /* watchdog disabled */
398
399 /*
400 * Miscellaneous configurable options
401 */
402 #define CFG_LONGHELP /* undef to save memory */
403 #define CFG_LOAD_ADDR 0x2000000 /* default load address */
404 #define CFG_PROMPT "=> " /* Monitor Command Prompt */
405
406 #if defined(CONFIG_CMD_KGDB)
407 #define CFG_CBSIZE 1024 /* Console I/O Buffer Size */
408 #else
409 #define CFG_CBSIZE 256 /* Console I/O Buffer Size */
410 #endif
411
412 #define CFG_PBSIZE (CFG_CBSIZE+sizeof(CFG_PROMPT)+16) /* Print Buffer Size */
413 #define CFG_MAXARGS 16 /* max number of command args */
414 #define CFG_BARGSIZE CFG_CBSIZE /* Boot Argument Buffer Size */
415 #define CFG_HZ 1000 /* decrementer freq: 1ms ticks */
416
417 /*
418 * For booting Linux, the board info and command line data
419 * have to be in the first 8 MB of memory, since this is
420 * the maximum mapped by the Linux kernel during initialization.
421 */
422 #define CFG_BOOTMAPSZ (8 << 20) /* Initial Memory map for Linux */
423
424 /*
425 * Core HID Setup
426 */
427 #define CFG_HID0_INIT 0x000000000
428 #define CFG_HID0_FINAL (HID0_ENABLE_MACHINE_CHECK | \
429 HID0_ENABLE_DYNAMIC_POWER_MANAGMENT)
430 #define CFG_HID2 HID2_HBE
431
432 /*
433 * MMU Setup
434 */
435
436 /* DDR: cache cacheable */
437 #define CFG_IBAT0L (CFG_SDRAM_BASE | BATL_PP_10 | BATL_MEMCOHERENCE)
438 #define CFG_IBAT0U (CFG_SDRAM_BASE | BATU_BL_128M | BATU_VS | BATU_VP)
439 #define CFG_DBAT0L CFG_IBAT0L
440 #define CFG_DBAT0U CFG_IBAT0U
441
442 /* IMMRBAR, PCI IO and NAND: cache-inhibit and guarded */
443 #define CFG_IBAT1L (CFG_IMMR | BATL_PP_10 | \
444 BATL_CACHEINHIBIT | BATL_GUARDEDSTORAGE)
445 #define CFG_IBAT1U (CFG_IMMR | BATU_BL_8M | BATU_VS | BATU_VP)
446 #define CFG_DBAT1L CFG_IBAT1L
447 #define CFG_DBAT1U CFG_IBAT1U
448
449 /* FLASH: icache cacheable, but dcache-inhibit and guarded */
450 #define CFG_IBAT2L (CFG_FLASH_BASE | BATL_PP_10 | BATL_MEMCOHERENCE)
451 #define CFG_IBAT2U (CFG_FLASH_BASE | BATU_BL_8M | BATU_VS | BATU_VP)
452 #define CFG_DBAT2L (CFG_FLASH_BASE | BATL_PP_10 | \
453 BATL_CACHEINHIBIT | BATL_GUARDEDSTORAGE)
454 #define CFG_DBAT2U CFG_IBAT2U
455
456 /* Stack in dcache: cacheable, no memory coherence */
457 #define CFG_IBAT3L (CFG_INIT_RAM_ADDR | BATL_PP_10)
458 #define CFG_IBAT3U (CFG_INIT_RAM_ADDR | BATU_BL_128K | BATU_VS | BATU_VP)
459 #define CFG_DBAT3L CFG_IBAT3L
460 #define CFG_DBAT3U CFG_IBAT3U
461
462 /* PCI MEM space: cacheable */
463 #define CFG_IBAT4L (CFG_PCI_MEM_PHYS | BATL_PP_10 | BATL_MEMCOHERENCE)
464 #define CFG_IBAT4U (CFG_PCI_MEM_PHYS | BATU_BL_256M | BATU_VS | BATU_VP)
465 #define CFG_DBAT4L CFG_IBAT4L
466 #define CFG_DBAT4U CFG_IBAT4U
467
468 /* PCI MMIO space: cache-inhibit and guarded */
469 #define CFG_IBAT5L (CFG_PCI_MMIO_PHYS | BATL_PP_10 | \
470 BATL_CACHEINHIBIT | BATL_GUARDEDSTORAGE)
471 #define CFG_IBAT5U (CFG_PCI_MMIO_PHYS | BATU_BL_256M | BATU_VS | BATU_VP)
472 #define CFG_DBAT5L CFG_IBAT5L
473 #define CFG_DBAT5U CFG_IBAT5U
474
475 #define CFG_IBAT6L 0
476 #define CFG_IBAT6U 0
477 #define CFG_DBAT6L CFG_IBAT6L
478 #define CFG_DBAT6U CFG_IBAT6U
479
480 #define CFG_IBAT7L 0
481 #define CFG_IBAT7U 0
482 #define CFG_DBAT7L CFG_IBAT7L
483 #define CFG_DBAT7U CFG_IBAT7U
484
485 /*
486 * Internal Definitions
487 *
488 * Boot Flags
489 */
490 #define BOOTFLAG_COLD 0x01 /* Normal Power-On: Boot from FLASH */
491 #define BOOTFLAG_WARM 0x02 /* Software reboot */
492
493 #if defined(CONFIG_CMD_KGDB)
494 #define CONFIG_KGDB_BAUDRATE 230400 /* speed of kgdb serial port */
495 #define CONFIG_KGDB_SER_INDEX 2 /* which serial port to use */
496 #endif
497
498 /*
499 * Environment Configuration
500 */
501
502 #define CONFIG_ENV_OVERWRITE
503
504 #if defined(CONFIG_TSEC_ENET)
505 #define CONFIG_HAS_ETH0
506 #define CONFIG_ETHADDR 04:00:00:00:00:0A
507 #define CONFIG_HAS_ETH1
508 #define CONFIG_ETH1ADDR 04:00:00:00:00:0B
509 #endif
510
511 #define CONFIG_BAUDRATE 115200
512
513 #define CONFIG_LOADADDR 200000 /* default location for tftp and bootm */
514
515 #define CONFIG_BOOTDELAY 6 /* -1 disables auto-boot */
516 #undef CONFIG_BOOTARGS /* the boot command will set bootargs */
517
518 #define CONFIG_EXTRA_ENV_SETTINGS \
519 "netdev=eth0\0" \
520 "consoledev=ttyS0\0" \
521 "ramdiskaddr=1000000\0" \
522 "ramdiskfile=ramfs.83xx\0" \
523 "fdtaddr=400000\0" \
524 "fdtfile=mpc8315erdb.dtb\0" \
525 ""
526
527 #define CONFIG_NFSBOOTCOMMAND \
528 "setenv bootargs root=/dev/nfs rw " \
529 "nfsroot=$serverip:$rootpath " \
530 "ip=$ipaddr:$serverip:$gatewayip:$netmask:$hostname:$netdev:off " \
531 "console=$consoledev,$baudrate $othbootargs;" \
532 "tftp $loadaddr $bootfile;" \
533 "tftp $fdtaddr $fdtfile;" \
534 "bootm $loadaddr - $fdtaddr"
535
536 #define CONFIG_RAMBOOTCOMMAND \
537 "setenv bootargs root=/dev/ram rw " \
538 "console=$consoledev,$baudrate $othbootargs;" \
539 "tftp $ramdiskaddr $ramdiskfile;" \
540 "tftp $loadaddr $bootfile;" \
541 "tftp $fdtaddr $fdtfile;" \
542 "bootm $loadaddr $ramdiskaddr $fdtaddr"
543
544
545 #define CONFIG_BOOTCOMMAND CONFIG_NFSBOOTCOMMAND
546
547 #endif /* __CONFIG_H */
548