]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
pci: auto: Remove PCI_CLASS_PROCESSOR_POWERPC autoconfig case
authorPali Rohár <pali@kernel.org>
Thu, 20 Apr 2023 19:44:25 +0000 (21:44 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 2 May 2023 12:55:15 +0000 (08:55 -0400)
PCI autoconfig case for PCI_CLASS_PROCESSOR_POWERPC just prints debug
message and then calls autoconfig setup code like for any other standard
endpoint device. We do not need special debug message for it, so remove
this case and handle PCI_CLASS_PROCESSOR_POWERPC via default code path.

Signed-off-by: Pali Rohár <pali@kernel.org>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/pci/pci_auto.c

index 14fd3bbf679e74a2e2662ef6f5d33a16999797d4..01230360bad21e8a705d509c15a987807028489b 100644 (file)
@@ -580,10 +580,6 @@ int dm_pciauto_config_device(struct udevice *dev)
                break;
 #endif
 
-       case PCI_CLASS_PROCESSOR_POWERPC: /* an agent or end-point */
-               debug("PCI AutoConfig: Found PowerPC device\n");
-               /* fall through */
-
        default:
                dm_pciauto_setup_device(dev, pci_mem, pci_prefetch, pci_io);
                break;