summaryrefslogtreecommitdiffstats
path: root/arch/sh/drivers/pci/pci-sh7751.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-04-16 18:01:31 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-04-16 18:01:31 +0900
commit0232ba9ce031d0fd8f331fa8b3c00e16901f54e6 (patch)
tree23ded02afa77863da3d19a8ca8de156ec10f638f /arch/sh/drivers/pci/pci-sh7751.c
parentf1a9ba8f15f89f3f444985251efaf809cd16da53 (diff)
downloadblackbird-op-linux-0232ba9ce031d0fd8f331fa8b3c00e16901f54e6.tar.gz
blackbird-op-linux-0232ba9ce031d0fd8f331fa8b3c00e16901f54e6.zip
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>
Diffstat (limited to 'arch/sh/drivers/pci/pci-sh7751.c')
-rw-r--r--arch/sh/drivers/pci/pci-sh7751.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/arch/sh/drivers/pci/pci-sh7751.c b/arch/sh/drivers/pci/pci-sh7751.c
index 2a6c7aab2d75..af8874436d2f 100644
--- a/arch/sh/drivers/pci/pci-sh7751.c
+++ b/arch/sh/drivers/pci/pci-sh7751.c
@@ -99,21 +99,6 @@ int __init sh7751_pcic_init(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
OpenPOWER on IntegriCloud