Skip to content

Commit

Permalink
unicore32/PCI: Remove pci=firmware command line parameter handling
Browse files Browse the repository at this point in the history
Remove support for the "pci=firmware" command line parameter, which was
way to keep the kernel from changing any PCI BAR assignments.  This was
copied from ARM, but is not actually needed on unicore32.

The corresponding ARM support was removed by 903589c ("ARM: 8554/1:
kernel: pci: remove pci=firmware command line parameter handling").

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
  • Loading branch information
Bjorn Helgaas committed Jun 23, 2016
1 parent 313cb90 commit ab2b750
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions arch/unicore32/kernel/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -265,10 +265,8 @@ static int __init pci_common_init(void)

pci_fixup_irqs(pci_common_swizzle, pci_puv3_map_irq);

if (!pci_has_flag(PCI_PROBE_ONLY)) {
pci_bus_size_bridges(puv3_bus);
pci_bus_assign_resources(puv3_bus);
}
pci_bus_size_bridges(puv3_bus);
pci_bus_assign_resources(puv3_bus);
pci_bus_add_devices(puv3_bus);
return 0;
}
Expand All @@ -279,9 +277,6 @@ char * __init pcibios_setup(char *str)
if (!strcmp(str, "debug")) {
debug_pci = 1;
return NULL;
} else if (!strcmp(str, "firmware")) {
pci_add_flags(PCI_PROBE_ONLY);
return NULL;
}
return str;
}
Expand Down

0 comments on commit ab2b750

Please sign in to comment.