2018-05-06 21:58:06 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2014-04-14 10:42:06 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2014 Freescale Semiconductor, Inc.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <common.h>
|
|
|
|
#include <command.h>
|
|
|
|
#include <pci.h>
|
|
|
|
#include <asm/fsl_pci.h>
|
2018-03-04 16:20:11 +00:00
|
|
|
#include <linux/libfdt.h>
|
2014-04-14 10:42:06 +00:00
|
|
|
#include <fdt_support.h>
|
|
|
|
#include <asm/fsl_serdes.h>
|
|
|
|
|
2019-08-27 11:03:03 +00:00
|
|
|
#if !defined(CONFIG_DM_PCI)
|
2014-04-14 10:42:06 +00:00
|
|
|
void pci_init_board(void)
|
|
|
|
{
|
|
|
|
fsl_pcie_init_board(0);
|
|
|
|
}
|
|
|
|
|
|
|
|
void pci_of_setup(void *blob, bd_t *bd)
|
|
|
|
{
|
|
|
|
FT_FSL_PCI_SETUP;
|
|
|
|
}
|
2019-08-27 11:03:03 +00:00
|
|
|
#endif
|