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