blob: bd0e29744c98d2cb6a17cc2c6400f1634042e957 [file] [log] [blame]
Tom Rini10e47792018-05-06 17:58:06 -04001// SPDX-License-Identifier: GPL-2.0+
Shengzhou Liu49912402014-11-24 17:11:56 +08002/*
3 * Copyright 2007-2014 Freescale Semiconductor, Inc.
Shengzhou Liu49912402014-11-24 17:11:56 +08004 */
5
6#include <common.h>
7#include <command.h>
Simon Glass18afe102019-11-14 12:57:47 -07008#include <init.h>
Shengzhou Liu49912402014-11-24 17:11:56 +08009#include <pci.h>
10#include <asm/fsl_pci.h>
Masahiro Yamada75f82d02018-03-05 01:20:11 +090011#include <linux/libfdt.h>
Shengzhou Liu49912402014-11-24 17:11:56 +080012#include <fdt_support.h>
13#include <asm/fsl_serdes.h>
14
Hou Zhiqiang24ff2ec2019-08-27 11:03:20 +000015#if !defined(CONFIG_DM_PCI)
Shengzhou Liu49912402014-11-24 17:11:56 +080016void pci_init_board(void)
17{
18 fsl_pcie_init_board(0);
19}
20
21void pci_of_setup(void *blob, bd_t *bd)
22{
23 FT_FSL_PCI_SETUP;
24}
Hou Zhiqiang24ff2ec2019-08-27 11:03:20 +000025#endif