blob: 71cfbf0f375e52499380fb241735bbb6fc2da62d [file] [log] [blame]
Andy Fleming67431052007-04-23 02:54:25 -05001/*
Kumar Gala6525d512010-07-08 22:37:44 -05002 * Copyright 2007,2009-2010 Freescale Semiconductor, Inc.
Andy Fleming67431052007-04-23 02:54:25 -05003 *
4 * (C) Copyright 2002 Scott McNutt <smcnutt@artesyncp.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#include <common.h>
26#include <pci.h>
27#include <asm/processor.h>
Jon Loeligere6f5b352008-03-18 13:51:05 -050028#include <asm/mmu.h>
Andy Fleming67431052007-04-23 02:54:25 -050029#include <asm/immap_85xx.h>
Kumar Galac8514622009-04-02 13:22:48 -050030#include <asm/fsl_pci.h>
Jon Loeligere6f5b352008-03-18 13:51:05 -050031#include <asm/fsl_ddr_sdram.h>
Kumar Gala5d27e022010-12-15 04:55:20 -060032#include <asm/fsl_serdes.h>
Jon Loeligera30a5492008-03-04 10:03:03 -060033#include <spd_sdram.h>
Haiying Wangc59e4092007-06-19 14:18:34 -040034#include <i2c.h>
Andy Flemingda9d4612007-08-14 00:14:25 -050035#include <ioports.h>
Kumar Galac4808612007-11-29 01:06:19 -060036#include <libfdt.h>
37#include <fdt_support.h>
Haiying Wang1563f562007-11-14 15:52:06 -050038
Andy Fleming67431052007-04-23 02:54:25 -050039#include "bcsr.h"
40
Andy Flemingda9d4612007-08-14 00:14:25 -050041const qe_iop_conf_t qe_iop_conf_tab[] = {
42 /* GETH1 */
43 {4, 10, 1, 0, 2}, /* TxD0 */
44 {4, 9, 1, 0, 2}, /* TxD1 */
45 {4, 8, 1, 0, 2}, /* TxD2 */
46 {4, 7, 1, 0, 2}, /* TxD3 */
47 {4, 23, 1, 0, 2}, /* TxD4 */
48 {4, 22, 1, 0, 2}, /* TxD5 */
49 {4, 21, 1, 0, 2}, /* TxD6 */
50 {4, 20, 1, 0, 2}, /* TxD7 */
51 {4, 15, 2, 0, 2}, /* RxD0 */
52 {4, 14, 2, 0, 2}, /* RxD1 */
53 {4, 13, 2, 0, 2}, /* RxD2 */
54 {4, 12, 2, 0, 2}, /* RxD3 */
55 {4, 29, 2, 0, 2}, /* RxD4 */
56 {4, 28, 2, 0, 2}, /* RxD5 */
57 {4, 27, 2, 0, 2}, /* RxD6 */
58 {4, 26, 2, 0, 2}, /* RxD7 */
59 {4, 11, 1, 0, 2}, /* TX_EN */
60 {4, 24, 1, 0, 2}, /* TX_ER */
61 {4, 16, 2, 0, 2}, /* RX_DV */
62 {4, 30, 2, 0, 2}, /* RX_ER */
63 {4, 17, 2, 0, 2}, /* RX_CLK */
64 {4, 19, 1, 0, 2}, /* GTX_CLK */
65 {1, 31, 2, 0, 3}, /* GTX125 */
66
67 /* GETH2 */
68 {5, 10, 1, 0, 2}, /* TxD0 */
69 {5, 9, 1, 0, 2}, /* TxD1 */
70 {5, 8, 1, 0, 2}, /* TxD2 */
71 {5, 7, 1, 0, 2}, /* TxD3 */
72 {5, 23, 1, 0, 2}, /* TxD4 */
73 {5, 22, 1, 0, 2}, /* TxD5 */
74 {5, 21, 1, 0, 2}, /* TxD6 */
75 {5, 20, 1, 0, 2}, /* TxD7 */
76 {5, 15, 2, 0, 2}, /* RxD0 */
77 {5, 14, 2, 0, 2}, /* RxD1 */
78 {5, 13, 2, 0, 2}, /* RxD2 */
79 {5, 12, 2, 0, 2}, /* RxD3 */
80 {5, 29, 2, 0, 2}, /* RxD4 */
81 {5, 28, 2, 0, 2}, /* RxD5 */
82 {5, 27, 2, 0, 3}, /* RxD6 */
83 {5, 26, 2, 0, 2}, /* RxD7 */
84 {5, 11, 1, 0, 2}, /* TX_EN */
85 {5, 24, 1, 0, 2}, /* TX_ER */
86 {5, 16, 2, 0, 2}, /* RX_DV */
87 {5, 30, 2, 0, 2}, /* RX_ER */
88 {5, 17, 2, 0, 2}, /* RX_CLK */
89 {5, 19, 1, 0, 2}, /* GTX_CLK */
90 {1, 31, 2, 0, 3}, /* GTX125 */
91 {4, 6, 3, 0, 2}, /* MDIO */
92 {4, 5, 1, 0, 2}, /* MDC */
Anton Vorontsov64d4bcb2007-10-22 19:58:19 +040093
94 /* UART1 */
95 {2, 0, 1, 0, 2}, /* UART_SOUT1 */
96 {2, 1, 1, 0, 2}, /* UART_RTS1 */
97 {2, 2, 2, 0, 2}, /* UART_CTS1 */
98 {2, 3, 2, 0, 2}, /* UART_SIN1 */
99
Andy Flemingda9d4612007-08-14 00:14:25 -0500100 {0, 0, 0, 0, QE_IOP_TAB_END}, /* END of table */
101};
102
Andy Fleming67431052007-04-23 02:54:25 -0500103void local_bus_init(void);
104void sdram_init(void);
105
106int board_early_init_f (void)
107{
108 /*
109 * Initialize local bus.
110 */
111 local_bus_init ();
112
113 enable_8568mds_duart();
114 enable_8568mds_flash_write();
Anton Vorontsovad162242007-10-22 18:12:46 +0400115#if defined(CONFIG_UEC_ETH1) || defined(CONFIG_UEC_ETH2)
116 reset_8568mds_uccs();
117#endif
Andy Flemingda9d4612007-08-14 00:14:25 -0500118#if defined(CONFIG_QE) && !defined(CONFIG_eTSEC_MDIO_BUS)
119 enable_8568mds_qe_mdio();
120#endif
Andy Fleming67431052007-04-23 02:54:25 -0500121
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200122#ifdef CONFIG_SYS_I2C2_OFFSET
Haiying Wangc59e4092007-06-19 14:18:34 -0400123 /* Enable I2C2_SCL and I2C2_SDA */
124 volatile struct par_io *port_c;
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200125 port_c = (struct par_io*)(CONFIG_SYS_IMMR + 0xe0140);
Haiying Wangc59e4092007-06-19 14:18:34 -0400126 port_c->cpdir2 |= 0x0f000000;
127 port_c->cppar2 &= ~0x0f000000;
128 port_c->cppar2 |= 0x0a000000;
129#endif
130
Andy Fleming67431052007-04-23 02:54:25 -0500131 return 0;
132}
133
134int checkboard (void)
135{
136 printf ("Board: 8568 MDS\n");
137
138 return 0;
139}
140
Becky Bruce9973e3c2008-06-09 16:03:40 -0500141phys_size_t
Andy Fleming67431052007-04-23 02:54:25 -0500142initdram(int board_type)
143{
144 long dram_size = 0;
Andy Fleming67431052007-04-23 02:54:25 -0500145
146 puts("Initializing\n");
147
148#if defined(CONFIG_DDR_DLL)
149 {
150 /*
151 * Work around to stabilize DDR DLL MSYNC_IN.
152 * Errata DDR9 seems to have been fixed.
153 * This is now the workaround for Errata DDR11:
154 * Override DLL = 1, Course Adj = 1, Tap Select = 0
155 */
156
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200157 volatile ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);
Andy Fleming67431052007-04-23 02:54:25 -0500158
159 gur->ddrdllcr = 0x81000000;
160 asm("sync;isync;msync");
161 udelay(200);
162 }
163#endif
Jon Loeligere6f5b352008-03-18 13:51:05 -0500164
165 dram_size = fsl_ddr_sdram();
166 dram_size = setup_ddr_tlbs(dram_size / 0x100000);
167 dram_size *= 0x100000;
Andy Fleming67431052007-04-23 02:54:25 -0500168
Andy Fleming67431052007-04-23 02:54:25 -0500169 /*
170 * SDRAM Initialization
171 */
172 sdram_init();
173
174 puts(" DDR: ");
175 return dram_size;
176}
177
178/*
179 * Initialize Local Bus
180 */
181void
182local_bus_init(void)
183{
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200184 volatile ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);
Becky Brucef51cdaf2010-06-17 11:37:20 -0500185 volatile fsl_lbc_t *lbc = LBC_BASE_ADDR;
Andy Fleming67431052007-04-23 02:54:25 -0500186
187 uint clkdiv;
188 uint lbc_hz;
189 sys_info_t sysinfo;
190
191 get_sys_info(&sysinfo);
Trent Piephoa5d212a2008-12-03 15:16:34 -0800192 clkdiv = (lbc->lcrr & LCRR_CLKDIV) * 2;
Andy Fleming67431052007-04-23 02:54:25 -0500193 lbc_hz = sysinfo.freqSystemBus / 1000000 / clkdiv;
194
195 gur->lbiuiplldcr1 = 0x00078080;
196 if (clkdiv == 16) {
197 gur->lbiuiplldcr0 = 0x7c0f1bf0;
198 } else if (clkdiv == 8) {
199 gur->lbiuiplldcr0 = 0x6c0f1bf0;
200 } else if (clkdiv == 4) {
201 gur->lbiuiplldcr0 = 0x5c0f1bf0;
202 }
203
204 lbc->lcrr |= 0x00030000;
205
206 asm("sync;isync;msync");
207}
208
209/*
210 * Initialize SDRAM memory on the Local Bus.
211 */
212void
213sdram_init(void)
214{
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200215#if defined(CONFIG_SYS_OR2_PRELIM) && defined(CONFIG_SYS_BR2_PRELIM)
Andy Fleming67431052007-04-23 02:54:25 -0500216
217 uint idx;
Becky Brucef51cdaf2010-06-17 11:37:20 -0500218 volatile fsl_lbc_t *lbc = LBC_BASE_ADDR;
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200219 uint *sdram_addr = (uint *)CONFIG_SYS_LBC_SDRAM_BASE;
Andy Fleming67431052007-04-23 02:54:25 -0500220 uint lsdmr_common;
221
222 puts(" SDRAM: ");
223
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200224 print_size (CONFIG_SYS_LBC_SDRAM_SIZE * 1024 * 1024, "\n");
Andy Fleming67431052007-04-23 02:54:25 -0500225
226 /*
227 * Setup SDRAM Base and Option Registers
228 */
Becky Brucef51cdaf2010-06-17 11:37:20 -0500229 set_lbc_or(2, CONFIG_SYS_OR2_PRELIM);
230 set_lbc_br(2, CONFIG_SYS_BR2_PRELIM);
Andy Fleming67431052007-04-23 02:54:25 -0500231 asm("msync");
232
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200233 lbc->lbcr = CONFIG_SYS_LBC_LBCR;
Andy Fleming67431052007-04-23 02:54:25 -0500234 asm("msync");
235
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200236 lbc->lsrt = CONFIG_SYS_LBC_LSRT;
237 lbc->mrtpr = CONFIG_SYS_LBC_MRTPR;
Andy Fleming67431052007-04-23 02:54:25 -0500238 asm("msync");
239
240 /*
241 * MPC8568 uses "new" 15-16 style addressing.
242 */
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200243 lsdmr_common = CONFIG_SYS_LBC_LSDMR_COMMON;
Kumar Galab0fe93ed2009-03-26 01:34:38 -0500244 lsdmr_common |= LSDMR_BSMA1516;
Andy Fleming67431052007-04-23 02:54:25 -0500245
246 /*
247 * Issue PRECHARGE ALL command.
248 */
Kumar Galab0fe93ed2009-03-26 01:34:38 -0500249 lbc->lsdmr = lsdmr_common | LSDMR_OP_PCHALL;
Andy Fleming67431052007-04-23 02:54:25 -0500250 asm("sync;msync");
251 *sdram_addr = 0xff;
252 ppcDcbf((unsigned long) sdram_addr);
253 udelay(100);
254
255 /*
256 * Issue 8 AUTO REFRESH commands.
257 */
258 for (idx = 0; idx < 8; idx++) {
Kumar Galab0fe93ed2009-03-26 01:34:38 -0500259 lbc->lsdmr = lsdmr_common | LSDMR_OP_ARFRSH;
Andy Fleming67431052007-04-23 02:54:25 -0500260 asm("sync;msync");
261 *sdram_addr = 0xff;
262 ppcDcbf((unsigned long) sdram_addr);
263 udelay(100);
264 }
265
266 /*
267 * Issue 8 MODE-set command.
268 */
Kumar Galab0fe93ed2009-03-26 01:34:38 -0500269 lbc->lsdmr = lsdmr_common | LSDMR_OP_MRW;
Andy Fleming67431052007-04-23 02:54:25 -0500270 asm("sync;msync");
271 *sdram_addr = 0xff;
272 ppcDcbf((unsigned long) sdram_addr);
273 udelay(100);
274
275 /*
276 * Issue NORMAL OP command.
277 */
Kumar Galab0fe93ed2009-03-26 01:34:38 -0500278 lbc->lsdmr = lsdmr_common | LSDMR_OP_NORMAL;
Andy Fleming67431052007-04-23 02:54:25 -0500279 asm("sync;msync");
280 *sdram_addr = 0xff;
281 ppcDcbf((unsigned long) sdram_addr);
282 udelay(200); /* Overkill. Must wait > 200 bus cycles */
283
284#endif /* enable SDRAM init */
285}
286
Andy Fleming67431052007-04-23 02:54:25 -0500287#if defined(CONFIG_PCI)
288#ifndef CONFIG_PCI_PNP
289static struct pci_config_table pci_mpc8568mds_config_table[] = {
290 {
291 PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID, PCI_ANY_ID,
292 pci_cfgfunc_config_device,
293 {PCI_ENET0_IOADDR,
294 PCI_ENET0_MEMADDR,
295 PCI_COMMON_MEMORY | PCI_COMMAND_MASTER}
296 },
297 {}
298};
299#endif
300
Haiying Wang1563f562007-11-14 15:52:06 -0500301static struct pci_controller pci1_hose = {
Andy Fleming67431052007-04-23 02:54:25 -0500302#ifndef CONFIG_PCI_PNP
Haiying Wangc59e4092007-06-19 14:18:34 -0400303 config_table: pci_mpc8568mds_config_table,
Andy Fleming67431052007-04-23 02:54:25 -0500304#endif
Andy Fleming67431052007-04-23 02:54:25 -0500305};
Andy Fleming67431052007-04-23 02:54:25 -0500306#endif /* CONFIG_PCI */
307
Haiying Wang1563f562007-11-14 15:52:06 -0500308#ifdef CONFIG_PCIE1
309static struct pci_controller pcie1_hose;
310#endif /* CONFIG_PCIE1 */
311
Haiying Wangc59e4092007-06-19 14:18:34 -0400312/*
313 * pib_init() -- Initialize the PCA9555 IO expander on the PIB board
314 */
315void
316pib_init(void)
317{
318 u8 val8, orig_i2c_bus;
319 /*
320 * Assign PIB PMC2/3 to PCI bus
321 */
322
323 /*switch temporarily to I2C bus #2 */
324 orig_i2c_bus = i2c_get_bus_num();
325 i2c_set_bus_num(1);
326
327 val8 = 0x00;
328 i2c_write(0x23, 0x6, 1, &val8, 1);
329 i2c_write(0x23, 0x7, 1, &val8, 1);
330 val8 = 0xff;
331 i2c_write(0x23, 0x2, 1, &val8, 1);
332 i2c_write(0x23, 0x3, 1, &val8, 1);
333
334 val8 = 0x00;
335 i2c_write(0x26, 0x6, 1, &val8, 1);
336 val8 = 0x34;
337 i2c_write(0x26, 0x7, 1, &val8, 1);
338 val8 = 0xf9;
339 i2c_write(0x26, 0x2, 1, &val8, 1);
340 val8 = 0xff;
341 i2c_write(0x26, 0x3, 1, &val8, 1);
342
343 val8 = 0x00;
344 i2c_write(0x27, 0x6, 1, &val8, 1);
345 i2c_write(0x27, 0x7, 1, &val8, 1);
346 val8 = 0xff;
347 i2c_write(0x27, 0x2, 1, &val8, 1);
348 val8 = 0xef;
349 i2c_write(0x27, 0x3, 1, &val8, 1);
350
351 asm("eieio");
352}
353
Haiying Wang1563f562007-11-14 15:52:06 -0500354#ifdef CONFIG_PCI
Kumar Gala46814572009-11-04 10:31:53 -0600355void pci_init_board(void)
Andy Fleming67431052007-04-23 02:54:25 -0500356{
Jean-Christophe PLAGNIOL-VILLARD6d0f6bc2008-10-16 15:01:15 +0200357 volatile ccsr_gur_t *gur = (void *)(CONFIG_SYS_MPC85xx_GUTS_ADDR);
Kumar Gala46814572009-11-04 10:31:53 -0600358 struct fsl_pci_info pci_info[2];
359 u32 devdisr, pordevsr, io_sel;
360 u32 porpllsr, pci_agent, pci_speed, pci_32, pci_arb, pci_clk_sel;
361 int first_free_busno = 0;
362 int num = 0;
363
364 int pcie_ep, pcie_configured;
365
366 devdisr = in_be32(&gur->devdisr);
367 pordevsr = in_be32(&gur->pordevsr);
368 porpllsr = in_be32(&gur->porpllsr);
369 io_sel = (pordevsr & MPC85xx_PORDEVSR_IO_SEL) >> 19;
370
371 debug (" pci_init_board: devdisr=%x, io_sel=%x\n", devdisr, io_sel);
Haiying Wang1563f562007-11-14 15:52:06 -0500372
373#ifdef CONFIG_PCI1
Kumar Gala46814572009-11-04 10:31:53 -0600374 pci_speed = 66666000;
375 pci_32 = 1;
376 pci_arb = pordevsr & MPC85xx_PORDEVSR_PCI1_ARB;
377 pci_clk_sel = porpllsr & MPC85xx_PORDEVSR_PCI1_SPD;
Haiying Wang1563f562007-11-14 15:52:06 -0500378
Kumar Gala46814572009-11-04 10:31:53 -0600379 if (!(devdisr & MPC85xx_DEVDISR_PCI1)) {
380 SET_STD_PCI_INFO(pci_info[num], 1);
381 pci_agent = fsl_setup_hose(&pci1_hose, pci_info[num].regs);
Peter Tyser8ca78f22010-10-29 17:59:24 -0500382 printf("PCI: %d bit, %s MHz, %s, %s, %s (base address %lx)\n",
Haiying Wang1563f562007-11-14 15:52:06 -0500383 (pci_32) ? 32 : 64,
384 (pci_speed == 33333000) ? "33" :
385 (pci_speed == 66666000) ? "66" : "unknown",
386 pci_clk_sel ? "sync" : "async",
387 pci_agent ? "agent" : "host",
Kumar Gala46814572009-11-04 10:31:53 -0600388 pci_arb ? "arbiter" : "external-arbiter",
389 pci_info[num].regs);
Haiying Wang1563f562007-11-14 15:52:06 -0500390
Kumar Gala46814572009-11-04 10:31:53 -0600391 first_free_busno = fsl_pci_init_port(&pci_info[num++],
392 &pci1_hose, first_free_busno);
Haiying Wang1563f562007-11-14 15:52:06 -0500393 } else {
Peter Tyser8ca78f22010-10-29 17:59:24 -0500394 printf("PCI: disabled\n");
Haiying Wang1563f562007-11-14 15:52:06 -0500395 }
Kumar Gala46814572009-11-04 10:31:53 -0600396
397 puts("\n");
Haiying Wang1563f562007-11-14 15:52:06 -0500398#else
Kumar Gala46814572009-11-04 10:31:53 -0600399 setbits_be32(&gur->devdisr, MPC85xx_DEVDISR_PCI1); /* disable */
Haiying Wang1563f562007-11-14 15:52:06 -0500400#endif
401
402#ifdef CONFIG_PCIE1
Kumar Gala5d27e022010-12-15 04:55:20 -0600403 pcie_configured = is_serdes_configured(PCIE1);
Haiying Wang1563f562007-11-14 15:52:06 -0500404
Kumar Gala46814572009-11-04 10:31:53 -0600405 if (pcie_configured && !(devdisr & MPC85xx_DEVDISR_PCIE)){
406 SET_STD_PCIE_INFO(pci_info[num], 1);
407 pcie_ep = fsl_setup_hose(&pcie1_hose, pci_info[num].regs);
Peter Tyser8ca78f22010-10-29 17:59:24 -0500408 printf("PCIE1: connected to Slot as %s (base addr %lx)\n",
Peter Tyser64917ca2010-01-17 15:38:26 -0600409 pcie_ep ? "Endpoint" : "Root Complex",
Kumar Gala46814572009-11-04 10:31:53 -0600410 pci_info[num].regs);
Haiying Wang1563f562007-11-14 15:52:06 -0500411
Kumar Gala46814572009-11-04 10:31:53 -0600412 first_free_busno = fsl_pci_init_port(&pci_info[num++],
413 &pcie1_hose, first_free_busno);
Haiying Wang1563f562007-11-14 15:52:06 -0500414 } else {
Peter Tyser8ca78f22010-10-29 17:59:24 -0500415 printf("PCIE1: disabled\n");
Haiying Wang1563f562007-11-14 15:52:06 -0500416 }
Kumar Gala46814572009-11-04 10:31:53 -0600417
418 puts("\n");
Haiying Wang1563f562007-11-14 15:52:06 -0500419#else
Kumar Gala46814572009-11-04 10:31:53 -0600420 setbits_be32(&gur->devdisr, MPC85xx_DEVDISR_PCIE); /* disable */
Andy Fleming67431052007-04-23 02:54:25 -0500421#endif
422}
Haiying Wang1563f562007-11-14 15:52:06 -0500423#endif /* CONFIG_PCI */
424
Kumar Galac4808612007-11-29 01:06:19 -0600425#if defined(CONFIG_OF_BOARD_SETUP)
Kumar Gala2dba0de2008-10-21 08:28:33 -0500426void ft_board_setup(void *blob, bd_t *bd)
427{
Haiying Wang1563f562007-11-14 15:52:06 -0500428 ft_cpu_setup(blob, bd);
Haiying Wang1563f562007-11-14 15:52:06 -0500429
Kumar Gala6525d512010-07-08 22:37:44 -0500430 FT_FSL_PCI_SETUP;
Haiying Wang1563f562007-11-14 15:52:06 -0500431}
432#endif