sh: pci: Kill off unused SH4_PCIC_NO_RESET code.
Nothing ended up using this anymore, so just kill it off. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
@@ -96,21 +96,6 @@ int __init sh7780_pcic_init(struct pci_channel *chan,
|
||||
{
|
||||
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
|
||||
|
Reference in New Issue
Block a user