aboutsummaryrefslogtreecommitdiff
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-01 18:59:33 -0400
commitec8e0b68ce79c874e80d44e4a3b0a087063e3c5a (patch)
treecbd6c0209772e1f67651c6fcdbb588134ac7bd56
parent236e50db3e98c019ba58a3d7e3a809dd5f7699c8 (diff)
downloadu-boot-WIP/2023-05-01-assorted-powerpc-updates.zip
u-boot-WIP/2023-05-01-assorted-powerpc-updates.tar.gz
u-boot-WIP/2023-05-01-assorted-powerpc-updates.tar.bz2
pci: auto: Remove PCI_CLASS_PROCESSOR_POWERPC autoconfig caseWIP/2023-05-01-assorted-powerpc-updates
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 14fd3bb..0123036 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;