blob: a03b11ccb503ca4a12877514974e6c78ae4a3382 [file] [log] [blame]
Tom Rini83d290c2018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Shengzhou Liuc4d0e812013-11-22 17:39:11 +08002/*
3 * Copyright 2007-2013 Freescale Semiconductor, Inc.
Shengzhou Liuc4d0e812013-11-22 17:39:11 +08004 */
5
6#include <common.h>
7#include <command.h>
Simon Glass2cf431c2019-11-14 12:57:47 -07008#include <init.h>
Shengzhou Liuc4d0e812013-11-22 17:39:11 +08009#include <pci.h>
10#include <asm/fsl_pci.h>
Masahiro Yamadab08c8c42018-03-05 01:20:11 +090011#include <linux/libfdt.h>
Shengzhou Liuc4d0e812013-11-22 17:39:11 +080012#include <fdt_support.h>
13#include <asm/fsl_serdes.h>
14
Hou Zhiqiang15311c82019-04-22 21:58:13 +080015#if !defined(CONFIG_DM_PCI)
Shengzhou Liuc4d0e812013-11-22 17:39:11 +080016void pci_init_board(void)
17{
18 fsl_pcie_init_board(0);
19}
20
Masahiro Yamadab75d8dc2020-06-26 15:13:33 +090021void pci_of_setup(void *blob, struct bd_info *bd)
Shengzhou Liuc4d0e812013-11-22 17:39:11 +080022{
23 FT_FSL_PCI_SETUP;
24}
Hou Zhiqiang15311c82019-04-22 21:58:13 +080025#endif