Skip to content

Commit 903589c

Browse files
Lorenzo PieralisiRussell King
authored andcommitted
ARM: 8554/1: kernel: pci: remove pci=firmware command line parameter handling
According to kernel documentation, the pci=firmware command line parameter is only meant to be used on IXP2000 ARM platforms to prevent the kernel from assigning PCI resources configured by the bootloader. Since the IXP2000 ARM platforms support has been removed from the kernel in commit: commit c65f2ab ("ARM: remove ixp23xx and ixp2000 platforms") its platforms specific kernel parameters should be removed too from the kernel documentation along with the kernel code currently handling them in that they have just become obsolete. This patch removes the pci=firmware command line parameter handling from ARM code and the related kernel parameters documentation section. Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Lennert Buytenhek <kernel@wantstofly.org> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Lennert Buytenhek <kernel@wantstofly.org> Cc: Jonathan Corbet <corbet@lwn.net> Cc: Bjorn Helgaas <bhelgaas@google.com> Cc: Rob Herring <robh@kernel.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
1 parent f55532a commit 903589c

2 files changed

Lines changed: 0 additions & 8 deletions

File tree

‎Documentation/kernel-parameters.txt‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2921,11 +2921,6 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
29212921
for broken drivers that don't call it.
29222922
skip_isa_align [X86] do not align io start addr, so can
29232923
handle more pci cards
2924-
firmware [ARM] Do not re-enumerate the bus but instead
2925-
just use the configuration from the
2926-
bootloader. This is currently used on
2927-
IXP2000 systems where the bus has to be
2928-
configured a certain way for adjunct CPUs.
29292924
noearly [X86] Don't do any early type 1 scanning.
29302925
This might help on some broken boards which
29312926
machine check when some devices' config space

‎arch/arm/kernel/bios32.c‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -550,9 +550,6 @@ char * __init pcibios_setup(char *str)
550550
if (!strcmp(str, "debug")) {
551551
debug_pci = 1;
552552
return NULL;
553-
} else if (!strcmp(str, "firmware")) {
554-
pci_add_flags(PCI_PROBE_ONLY);
555-
return NULL;
556553
}
557554
return str;
558555
}

0 commit comments

Comments
 (0)