diff options
author | Simon Glass <sjg@chromium.org> | 2017-05-17 14:22:36 (GMT) |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-06-05 15:02:27 (GMT) |
commit | 4fcc6a7b89d80484f5abc673a3999d04b82d5f51 (patch) | |
tree | 16088984bade2d8346b736211fb7cc5f9ebd34fc | |
parent | a55132bd6c2bdb633a01215cd7b8427f461ae6e7 (diff) | |
download | u-boot-fsl-qoriq-4fcc6a7b89d80484f5abc673a3999d04b82d5f51.tar.xz |
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>
-rw-r--r-- | arch/powerpc/include/asm/4xx_pci.h | 1 | ||||
-rw-r--r-- | include/common.h | 3 |
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/powerpc/include/asm/4xx_pci.h b/arch/powerpc/include/asm/4xx_pci.h index f686e7c..a68c875 100644 --- a/arch/powerpc/include/asm/4xx_pci.h +++ b/arch/powerpc/include/asm/4xx_pci.h @@ -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 diff --git a/include/common.h b/include/common.h index 8d6d1d8..a1f1a9a 100644 --- a/include/common.h +++ b/include/common.h @@ -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 |