blob: 1fd24027000f4701f45bce582e1af602fc05817c [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Priyanka Jain8b1a60e2013-10-18 17:19:06 +05302/*
3 * Copyright 2013 Freescale Semiconductor, Inc.
Priyanka Jain8b1a60e2013-10-18 17:19:06 +05304 */
5
6#include <common.h>
7#include <command.h>
Simon Glass18afe102019-11-14 12:57:47 -07008#include <init.h>
Priyanka Jain8b1a60e2013-10-18 17:19:06 +05309#include <pci.h>
10#include <asm/fsl_pci.h>
Masahiro Yamada75f82d02018-03-05 01:20:11 +090011#include <linux/libfdt.h>
Priyanka Jain8b1a60e2013-10-18 17:19:06 +053012#include <fdt_support.h>
13#include <asm/fsl_serdes.h>
14
Hou Zhiqiang48502fe2019-08-27 11:03:41 +000015#if !defined(CONFIG_DM_PCI)
Priyanka Jain8b1a60e2013-10-18 17:19:06 +053016void pci_init_board(void)
17{
18 fsl_pcie_init_board(0);
19}
20
Masahiro Yamadaf7ed78b2020-06-26 15:13:33 +090021void pci_of_setup(void *blob, struct bd_info *bd)
Priyanka Jain8b1a60e2013-10-18 17:19:06 +053022{
23 FT_FSL_PCI_SETUP;
24}
Hou Zhiqiang48502fe2019-08-27 11:03:41 +000025#endif