This function can be dropped when all boards use driver model for PCI. For now, move it into init.h with a comment. Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
@@ -20,6 +20,7 @@
* Linus Walleij <linus.walleij@linaro.org>
*/
#include <common.h>
+#include <init.h>
#include <pci.h>
#include <asm/io.h>
#include "integrator-sc.h"
@@ -5,6 +5,7 @@
#include <dm.h>
#include <malloc.h>
#include <errno.h>
#include <linux/compiler.h>
@@ -10,6 +10,7 @@
* Based on MPC8349 PCI support but w/o PIB related code.
#include <asm/mmu.h>
#include <command.h>
#include <asm/fsl_pci.h>
#include <linux/libfdt.h>
@@ -8,6 +8,7 @@
#include <asm/immap.h>
@@ -9,6 +9,7 @@
#include <config.h>
@@ -7,6 +7,7 @@
#include <hwconfig.h>
#include <i2c.h>
#include <spi.h>
#include <fdt_support.h>
@@ -11,6 +11,7 @@
#include <env.h>
#include <ioports.h>
#include <mpc83xx.h>
@@ -6,6 +6,7 @@
/*
* PCI Configuration space access support for MPC83xx PCI Bridge
@@ -3,6 +3,7 @@
* Copyright (C) 2006-2009 Freescale Semiconductor, Inc.
@@ -4,6 +4,7 @@
#include <vsprintf.h>
#include <asm/processor.h>
#include <asm/immap_86xx.h>
#include <cpu_func.h>
#include <ide.h>
#include <netdev.h>
#include <pci_gt64120.h>
#include <asm/pci.h>
#include <asm/immap_85xx.h>
@@ -13,6 +13,7 @@
#include <asm/fsl_serdes.h>
@@ -15,6 +15,7 @@
#include <asm/arch/clock.h>
#include <asm/arch/iomux.h>
@@ -102,8 +102,6 @@ int do_fat_fsload(cmd_tbl_t *, int, int, char * const []);
/* common/cmd_ext2.c */
int do_ext2load(cmd_tbl_t *, int, int, char * const []);
-void pci_init_board(void);
-
/* common/exports.c */
void jumptable_init(void);
@@ -205,6 +205,9 @@ int board_late_init(void);
int board_postclk_init(void); /* after clocks/timebase, before env/serial */
int board_early_init_r(void);
+/* TODO(sjg@chromium.org): Drop this when DM_PCI migration is completed */
+void pci_init_board(void);
+
#endif /* __ASSEMBLY__ */
/* Put only stuff here that the assembler can digest */