summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPali Rohár <pali@kernel.org>2023-04-20 21:44:25 +0200
committerTom Rini <trini@konsulko.com>2023-05-02 08:55:15 -0400
commit44efad2ff1f63fe04eed21a541d8181717525612 (patch)
tree55c60b334b9fc2462033a4bcef27d906d3d308d0
parentc06597ff1151580d3ab7094c0175138b3896d16d (diff)
downloadu-boot-44efad2ff1f63fe04eed21a541d8181717525612.tar.gz
pci: auto: Remove PCI_CLASS_PROCESSOR_POWERPC autoconfig case
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>
-rw-r--r--drivers/pci/pci_auto.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/pci/pci_auto.c b/drivers/pci/pci_auto.c
index 14fd3bbf67..01230360ba 100644
--- a/drivers/pci/pci_auto.c
+++ b/drivers/pci/pci_auto.c
@@ -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;