Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Andy Fleming | 87e2987 | 2015-11-04 15:48:32 -0600 | [diff] [blame] | 2 | /* |
| 3 | * Copyright 2007-2011 Freescale Semiconductor, Inc. |
Andy Fleming | 87e2987 | 2015-11-04 15:48:32 -0600 | [diff] [blame] | 4 | */ |
| 5 | |
| 6 | #include <common.h> |
| 7 | #include <command.h> |
| 8 | #include <pci.h> |
| 9 | #include <asm/fsl_pci.h> |
Masahiro Yamada | b08c8c4 | 2018-03-05 01:20:11 +0900 | [diff] [blame] | 10 | #include <linux/libfdt.h> |
Andy Fleming | 87e2987 | 2015-11-04 15:48:32 -0600 | [diff] [blame] | 11 | #include <fdt_support.h> |
| 12 | #include <asm/fsl_serdes.h> |
| 13 | |
| 14 | void pci_init_board(void) |
| 15 | { |
| 16 | fsl_pcie_init_board(0); |
| 17 | } |
| 18 | |
| 19 | void pci_of_setup(void *blob, bd_t *bd) |
| 20 | { |
| 21 | FT_FSL_PCI_SETUP; |
| 22 | } |