2018-05-06 21:58:06 +00:00
|
|
|
// SPDX-License-Identifier: GPL-2.0+
|
2014-11-24 09:11:56 +00:00
|
|
|
/*
|
|
|
|
* Copyright 2007-2014 Freescale Semiconductor, Inc.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#include <common.h>
|
|
|
|
#include <command.h>
|
2019-11-14 19:57:47 +00:00
|
|
|
#include <init.h>
|
2014-11-24 09:11:56 +00:00
|
|
|
#include <pci.h>
|
|
|
|
#include <asm/fsl_pci.h>
|
2018-03-04 16:20:11 +00:00
|
|
|
#include <linux/libfdt.h>
|
2014-11-24 09:11:56 +00:00
|
|
|
#include <fdt_support.h>
|
|
|
|
#include <asm/fsl_serdes.h>
|
|
|
|
|
2019-08-27 11:03:20 +00:00
|
|
|
#if !defined(CONFIG_DM_PCI)
|
2014-11-24 09:11:56 +00:00
|
|
|
void pci_init_board(void)
|
|
|
|
{
|
|
|
|
fsl_pcie_init_board(0);
|
|
|
|
}
|
|
|
|
|
2020-06-26 06:13:33 +00:00
|
|
|
void pci_of_setup(void *blob, struct bd_info *bd)
|
2014-11-24 09:11:56 +00:00
|
|
|
{
|
|
|
|
FT_FSL_PCI_SETUP;
|
|
|
|
}
|
2019-08-27 11:03:20 +00:00
|
|
|
#endif
|