Merge https://gitlab.denx.de/u-boot/custodians/u-boot-mpc85xx
[oweals/u-boot.git] / board / freescale / t4rdb / pci.c
1 // SPDX-License-Identifier: GPL-2.0+
2 /*
3  * Copyright 2014 Freescale Semiconductor, Inc.
4  */
5
6 #include <common.h>
7 #include <command.h>
8 #include <pci.h>
9 #include <asm/fsl_pci.h>
10 #include <linux/libfdt.h>
11 #include <fdt_support.h>
12 #include <asm/fsl_serdes.h>
13
14 #if !defined(CONFIG_DM_PCI)
15 void pci_init_board(void)
16 {
17         fsl_pcie_init_board(0);
18 }
19
20 void pci_of_setup(void *blob, bd_t *bd)
21 {
22         FT_FSL_PCI_SETUP;
23 }
24 #endif