[U-Boot] [PATCH 02/38] common: Drop pci_pre_init() and is_pci_host()

Simon Glass sjg at chromium.org
Wed May 17 14:22:35 UTC 2017


These should not be in common.h. They are used in some legacy PowerPC
code. Just drop them.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 include/common.h | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/include/common.h b/include/common.h
index a6347e0167..8d6d1d8d5f 100644
--- a/include/common.h
+++ b/include/common.h
@@ -456,11 +456,6 @@ int get_env_id (void);
 void	pci_init      (void);
 void	pci_init_board(void);
 
-#if defined(CONFIG_PCI) && defined(CONFIG_4xx)
-    int	   pci_pre_init	       (struct pci_controller *);
-    int	   is_pci_host	       (struct pci_controller *);
-#endif
-
 #if defined(CONFIG_PCI) && (defined(CONFIG_440) || defined(CONFIG_405EX))
 #   if defined(CONFIG_SYS_PCI_TARGET_INIT)
 	void	pci_target_init	     (struct pci_controller *);
-- 
2.13.0.303.g4ebf302169-goog



More information about the U-Boot mailing list