blob: adc128d9241724ea7c7107360256846c6a4c027b [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Shengzhou Liu8d67c362014-03-05 15:04:48 +08002/*
3 * Copyright 2007-2014 Freescale Semiconductor, Inc.
Shengzhou Liu8d67c362014-03-05 15:04:48 +08004 */
5
6#include <common.h>
7#include <command.h>
8#include <pci.h>
9#include <asm/fsl_pci.h>
Masahiro Yamadab08c8c42018-03-05 01:20:11 +090010#include <linux/libfdt.h>
Shengzhou Liu8d67c362014-03-05 15:04:48 +080011#include <fdt_support.h>
12#include <asm/fsl_serdes.h>
13
Hou Zhiqiangfb0d98d2019-08-27 11:02:52 +000014#if !defined(CONFIG_DM_PCI)
Shengzhou Liu8d67c362014-03-05 15:04:48 +080015void pci_init_board(void)
16{
17 fsl_pcie_init_board(0);
18}
19
20void pci_of_setup(void *blob, bd_t *bd)
21{
22 FT_FSL_PCI_SETUP;
23}
Hou Zhiqiangfb0d98d2019-08-27 11:02:52 +000024#endif