XPAR_PCI_0_IO_BASEADDR

Nov 01, 2005 0 Replies

For ml3000 board when we add the pci support the XPAR_PCI_0_IO_BASEADDR, XPAR_PCI_0_CONFIG_ADDR get added in the libraries. but with ml310 these parameters do not get defined automatically since when I add pci in ml310 thee are numerous devices connected to pci on ML310 and hence there are lot of baseaddrs. Hence when I try to compile the ppc _devel kernel (2.4.26) I get the following error. directory : arch/ppc/kernel ppc4xx_setup.c: In function `m4xx_map_io': ppc4xx_setup.c:173: error: `XPAR_PCI_0_IO_BASEADDR' undeclared (first use in this function) ppc4xx_setup.c:173: error: (Each undeclared identifier is reported only once ppc4xx_setup.c:173: error: for each function it appears in.) ppc4xx_setup.c:175: error: `XPAR_PCI_0_CONFIG_ADDR' undeclared (first use in this function) ppc4xx_setup.c:177: error: `XPAR_PCI_0_LCONFIG_ADDR' undeclared (first use in this function) ppc4xx_setup.c: In function `ppc4xx_progress': ppc4xx_setup.c:283: warning: unused variable `c' /home/nitesh/practice_seriously/uboot_proj/include/asm/bootinfo.h: At top level:ppc4xx_setup.c:275: warning: `serial_putc' defined but not used make[1]: *** [ppc4xx_setup.o] Error 1 make[1]: Leaving directory `/home/nitesh/practice_seriously/uboot_proj/arch/ppc/kernel' make: *** [_dir_arch/ppc/kernel] Error 2


How can I solve this ? Nitesh



Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required