Nothing ended up using this anymore, so just kill it off.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
.base = SH7751_CS3_BASE_ADDR,
.size = (64 << 20), /* 64MB */
},
-
- .flags = SH4_PCIC_NO_RESET,
};
int __init pcibios_init_platform(void)
.base = SH7751_CS3_BASE_ADDR,
.size = 0x04000000,
},
- .window1 = {
- .base = 0x00000000, /* Unused */
- .size = 0x00000000, /* Unused */
- },
- .flags = SH4_PCIC_NO_RESET,
};
int __init pcibios_init_platform(void)
.base = SH7780_CS3_BASE_ADDR,
.size = 0x04000000,
},
-
- .flags = SH4_PCIC_NO_RESET,
};
int __init pcibios_init_platform(void)
.base = SH7751_CS3_BASE_ADDR,
.size = 0x04000000,
},
-
- .window1 = {
- .base = 0x00000000, /* Unused */
- .size = 0x00000000, /* Unused */
- },
-
- .flags = SH4_PCIC_NO_RESET,
};
int __init pcibios_init_platform(void)
.base = SH7780_CS3_BASE_ADDR,
.size = 0x04000000,
},
- .flags = SH4_PCIC_NO_RESET,
};
int __init pcibios_init_platform(void)
.base = SH7780_CS2_BASE_ADDR,
.size = 0x04000000,
},
- .flags = SH4_PCIC_NO_RESET,
};
int __init pcibios_init_platform(void)
.size = 0x20000000,
#endif
},
-
- .flags = SH4_PCIC_NO_RESET,
};
int __init pcibios_init_platform(void)
.base = SH7751_CS2_BASE_ADDR,
.size = SNAPGEAR_LSR1_SIZE,
},
-
- .flags = SH4_PCIC_NO_RESET,
};
/*
.base = SH7751_CS2_BASE_ADDR,
.size = SH7751_MEM_REGION_SIZE*2,
},
-
- .flags = SH4_PCIC_NO_RESET,
};
int __init pcibios_init_platform(void)
#define SH4_PCIPDTR_PB0 0x000000001 /* Port 0 Enable */
#define SH4_PCIPDR 0x220 /* Port IO Data Register */
-/* Flags */
-#define SH4_PCIC_NO_RESET 0x0001
-
/* arch/sh/kernel/drivers/pci/ops-sh4.c */
extern struct pci_ops sh4_pci_ops;
int sh4_pci_check_direct(struct pci_channel *chan);
struct sh4_pci_address_map {
struct sh4_pci_address_space window0;
struct sh4_pci_address_space window1;
- unsigned long flags;
};
static inline void pci_write_reg(struct pci_channel *chan,
word = SH4_PCIPINT_D3 | SH4_PCIPINT_D0;
pci_write_reg(chan, word, SH4_PCIPINT);
- /*
- * This code is unused for some boards as it is done in the
- * bootloader and doing it here means the MAC addresses loaded
- * by the bootloader get lost.
- */
- if (!(map->flags & SH4_PCIC_NO_RESET)) {
- /* toggle PCI reset pin */
- word = SH4_PCICR_PREFIX | SH4_PCICR_PRST;
- pci_write_reg(chan, word, SH4_PCICR);
- /* Wait for a long time... not 1 sec. but long enough */
- mdelay(100);
- word = SH4_PCICR_PREFIX;
- pci_write_reg(chan, word, SH4_PCICR);
- }
-
/* set the command/status bits to:
* Wait Cycle Control + Parity Enable + Bus Master +
* Mem space enable
{
u32 word;
- /*
- * This code is unused for some boards as it is done in the
- * bootloader and doing it here means the MAC addresses loaded
- * by the bootloader get lost.
- */
- if (!(map->flags & SH4_PCIC_NO_RESET)) {
- /* toggle PCI reset pin */
- word = SH4_PCICR_PREFIX | SH4_PCICR_PRST;
- pci_write_reg(chan, word, SH4_PCICR);
- /* Wait for a long time... not 1 sec. but long enough */
- mdelay(100);
- word = SH4_PCICR_PREFIX;
- pci_write_reg(chan, word, SH4_PCICR);
- }
-
/* set the command/status bits to:
* Wait Cycle Control + Parity Enable + Bus Master +
* Mem space enable