common: Move pci_target_init() to PPC header

Only one boards needs this definition. Move it to an arch-specific header.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2017-05-17 08:22:36 -06:00 committed by Tom Rini
parent a55132bd6c
commit 4fcc6a7b89
2 changed files with 1 additions and 3 deletions

View File

@ -56,5 +56,6 @@ int pci_arbiter_enabled(void);
int __pci_pre_init(struct pci_controller *hose);
void __pci_target_init(struct pci_controller *hose);
void __pci_master_init(struct pci_controller *hose);
void pci_target_init(struct pci_controller *);
#endif

View File

@ -457,9 +457,6 @@ void pci_init (void);
void pci_init_board(void);
#if defined(CONFIG_PCI) && (defined(CONFIG_440) || defined(CONFIG_405EX))
# if defined(CONFIG_SYS_PCI_TARGET_INIT)
void pci_target_init (struct pci_controller *);
# endif
# if defined(CONFIG_SYS_PCI_MASTER_INIT)
void pci_master_init (struct pci_controller *);
# endif