common: Move pci_init_board() out of common.h

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>
This commit is contained in:
Simon Glass 2019-11-14 12:57:47 -07:00 committed by Tom Rini
parent 5255932f01
commit 2cf431c228
49 changed files with 50 additions and 2 deletions

View File

@ -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"

View File

@ -5,6 +5,7 @@
#include <common.h>
#include <dm.h>
#include <init.h>
#include <malloc.h>
#include <errno.h>
#include <linux/compiler.h>

View File

@ -10,6 +10,7 @@
* Based on MPC8349 PCI support but w/o PIB related code.
*/
#include <init.h>
#include <asm/mmu.h>
#include <asm/io.h>
#include <common.h>

View File

@ -5,6 +5,7 @@
#include <common.h>
#include <command.h>
#include <init.h>
#include <pci.h>
#include <asm/fsl_pci.h>
#include <linux/libfdt.h>

View File

@ -5,6 +5,7 @@
#include <common.h>
#include <command.h>
#include <init.h>
#include <pci.h>
#include <asm/fsl_pci.h>
#include <linux/libfdt.h>

View File

@ -8,6 +8,7 @@
*/
#include <common.h>
#include <init.h>
#include <pci.h>
#include <asm/immap.h>
#include <asm/io.h>

View File

@ -9,6 +9,7 @@
#include <config.h>
#include <common.h>
#include <init.h>
#include <pci.h>
#include <asm/immap.h>
#include <asm/io.h>

View File

@ -9,6 +9,7 @@
#include <config.h>
#include <common.h>
#include <init.h>
#include <pci.h>
#include <asm/immap.h>
#include <asm/io.h>

View File

@ -7,6 +7,7 @@
#include <common.h>
#include <hwconfig.h>
#include <i2c.h>
#include <init.h>
#include <spi.h>
#include <linux/libfdt.h>
#include <fdt_support.h>

View File

@ -9,6 +9,7 @@
#include <common.h>
#include <hwconfig.h>
#include <i2c.h>
#include <init.h>
#include <linux/libfdt.h>
#include <fdt_support.h>
#include <pci.h>

View File

@ -11,6 +11,7 @@
#include <common.h>
#include <env.h>
#include <init.h>
#include <ioports.h>
#include <mpc83xx.h>
#include <i2c.h>

View File

@ -6,6 +6,7 @@
/*
* PCI Configuration space access support for MPC83xx PCI Bridge
*/
#include <init.h>
#include <asm/mmu.h>
#include <asm/io.h>
#include <common.h>

View File

@ -3,6 +3,7 @@
* Copyright (C) 2006-2009 Freescale Semiconductor, Inc.
*/
#include <init.h>
#include <asm/mmu.h>
#include <asm/io.h>
#include <common.h>

View File

@ -4,6 +4,7 @@
*/
#include <common.h>
#include <init.h>
#include <asm/mmu.h>
#include <asm/io.h>

View File

@ -3,6 +3,7 @@
* Copyright (C) 2006-2009 Freescale Semiconductor, Inc.
*/
#include <init.h>
#include <asm/mmu.h>
#include <asm/io.h>
#include <common.h>

View File

@ -4,6 +4,7 @@
*/
#include <common.h>
#include <init.h>
#include <mpc83xx.h>
#include <pci.h>
#include <asm/io.h>

View File

@ -6,6 +6,7 @@
*/
#include <common.h>
#include <init.h>
#include <pci.h>
#include <vsprintf.h>
#include <asm/processor.h>

View File

@ -5,6 +5,7 @@
#include <common.h>
#include <command.h>
#include <init.h>
#include <pci.h>
#include <asm/processor.h>
#include <asm/mmu.h>

View File

@ -6,6 +6,7 @@
*/
#include <common.h>
#include <init.h>
#include <pci.h>
#include <vsprintf.h>
#include <asm/processor.h>

View File

@ -4,6 +4,7 @@
*/
#include <common.h>
#include <init.h>
#include <pci.h>
#include <vsprintf.h>
#include <asm/processor.h>

View File

@ -6,6 +6,7 @@
*/
#include <common.h>
#include <init.h>
#include <pci.h>
#include <asm/processor.h>
#include <asm/mmu.h>

View File

@ -5,6 +5,7 @@
#include <common.h>
#include <command.h>
#include <init.h>
#include <pci.h>
#include <asm/processor.h>
#include <asm/immap_86xx.h>

View File

@ -4,6 +4,7 @@
*/
#include <common.h>
#include <init.h>
#include <pci.h>
#include <asm/processor.h>
#include <asm/immap_86xx.h>

View File

@ -7,6 +7,7 @@
#include <command.h>
#include <cpu_func.h>
#include <env.h>
#include <init.h>
#include <pci.h>
#include <asm/processor.h>
#include <asm/mmu.h>

View File

@ -5,6 +5,7 @@
#include <common.h>
#include <command.h>
#include <init.h>
#include <pci.h>
#include <asm/fsl_pci.h>
#include <linux/libfdt.h>

View File

@ -5,6 +5,7 @@
#include <common.h>
#include <command.h>
#include <init.h>
#include <pci.h>
#include <asm/fsl_pci.h>
#include <linux/libfdt.h>

View File

@ -5,6 +5,7 @@
#include <common.h>
#include <command.h>
#include <init.h>
#include <pci.h>
#include <asm/fsl_pci.h>
#include <linux/libfdt.h>

View File

@ -5,6 +5,7 @@
#include <common.h>
#include <command.h>
#include <init.h>
#include <pci.h>
#include <asm/fsl_pci.h>
#include <linux/libfdt.h>

View File

@ -5,6 +5,7 @@
#include <common.h>
#include <command.h>
#include <init.h>
#include <pci.h>
#include <asm/fsl_pci.h>
#include <linux/libfdt.h>

View File

@ -5,6 +5,7 @@
#include <common.h>
#include <command.h>
#include <init.h>
#include <pci.h>
#include <asm/fsl_pci.h>
#include <linux/libfdt.h>

View File

@ -5,6 +5,7 @@
#include <common.h>
#include <command.h>
#include <init.h>
#include <pci.h>
#include <asm/fsl_pci.h>
#include <linux/libfdt.h>

View File

@ -5,6 +5,7 @@
#include <common.h>
#include <command.h>
#include <init.h>
#include <pci.h>
#include <asm/fsl_pci.h>
#include <linux/libfdt.h>

View File

@ -8,6 +8,7 @@
#include <env.h>
#include <hwconfig.h>
#include <i2c.h>
#include <init.h>
#include <spi.h>
#include <linux/libfdt.h>
#include <fdt_support.h>

View File

@ -8,6 +8,7 @@
#include <env.h>
#include <hwconfig.h>
#include <i2c.h>
#include <init.h>
#include <spi.h>
#include <linux/libfdt.h>
#include <fdt_support.h>

View File

@ -6,6 +6,7 @@
#include <common.h>
#include <ide.h>
#include <init.h>
#include <netdev.h>
#include <pci.h>
#include <pci_gt64120.h>

View File

@ -8,6 +8,7 @@
#include <common.h>
#include <command.h>
#include <init.h>
#include <pci.h>
#include <asm/fsl_pci.h>
#include <linux/libfdt.h>

View File

@ -6,6 +6,7 @@
#include <common.h>
#include <i2c.h>
#include <init.h>
#include <linux/libfdt.h>
#include <fdt_support.h>
#include <pci.h>

View File

@ -6,6 +6,7 @@
#include <common.h>
#include <ide.h>
#include <init.h>
#include <asm/processor.h>
#include <asm/io.h>
#include <asm/pci.h>

View File

@ -7,6 +7,7 @@
* Based on MPC8349 PCI support but w/o PIB related code.
*/
#include <init.h>
#include <asm/mmu.h>
#include <asm/io.h>
#include <common.h>

View File

@ -10,6 +10,7 @@
*/
#include <common.h>
#include <init.h>
#include <pci.h>
#include <asm/processor.h>
#include <asm/immap_85xx.h>

View File

@ -13,6 +13,7 @@
#include <common.h>
#include <command.h>
#include <init.h>
#include <pci.h>
#include <asm/processor.h>
#include <asm/immap_86xx.h>

View File

@ -5,6 +5,7 @@
* Copyright (C) 2006-2009 Freescale Semiconductor, Inc.
*/
#include <init.h>
#include <asm/mmu.h>
#include <asm/io.h>
#include <common.h>

View File

@ -5,6 +5,7 @@
#include <common.h>
#include <command.h>
#include <init.h>
#include <pci.h>
#include <asm/fsl_pci.h>
#include <linux/libfdt.h>

View File

@ -9,6 +9,7 @@
*/
#include <common.h>
#include <init.h>
#include <linux/libfdt.h>
#include <pci.h>
#include <mpc83xx.h>

View File

@ -5,6 +5,7 @@
*/
#include <common.h>
#include <init.h>
#include <pci.h>
#include <asm/fsl_pci.h>
#include <asm/fsl_serdes.h>

View File

@ -15,6 +15,7 @@
*/
#include <common.h>
#include <init.h>
#include <command.h>
#include <env.h>

View File

@ -10,6 +10,7 @@
*/
#include <common.h>
#include <init.h>
#include <pci.h>
#include <asm/arch/clock.h>
#include <asm/arch/iomux.h>

View File

@ -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);

View File

@ -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 */