]> git.sur5r.net Git - u-boot/blobdiff - include/asm-ppc/fsl_pci.h
mpc512x: Streamlined fixed_sdram() init sequence.
[u-boot] / include / asm-ppc / fsl_pci.h
index b9972dabe37758968ecbd3802b3bd8e4d8121bc8..2790da7ed16a9e94cd8980d0adaa11f48d59a603 100644 (file)
@@ -173,6 +173,18 @@ struct fsl_pci_info {
 int fsl_pci_init_port(struct fsl_pci_info *pci_info,
                                struct pci_controller *hose, int busno);
 
+#define SET_STD_PCI_INFO(x, num) \
+{                      \
+       x.regs = CONFIG_SYS_PCI##num##_ADDR;    \
+       x.mem_bus = CONFIG_SYS_PCI##num##_MEM_BUS; \
+       x.mem_phys = CONFIG_SYS_PCI##num##_MEM_PHYS; \
+       x.mem_size = CONFIG_SYS_PCI##num##_MEM_SIZE; \
+       x.io_bus = CONFIG_SYS_PCI##num##_IO_BUS; \
+       x.io_phys = CONFIG_SYS_PCI##num##_IO_PHYS; \
+       x.io_size = CONFIG_SYS_PCI##num##_IO_SIZE; \
+       x.pci_num = num; \
+}
+
 #define SET_STD_PCIE_INFO(x, num) \
 {                      \
        x.regs = CONFIG_SYS_PCIE##num##_ADDR;   \