York Sun | 0789dc9 | 2012-12-23 19:25:27 +0000 | [diff] [blame] | 1 | /* |
| 2 | * Copyright 2011-2012 Freescale Semiconductor, Inc. |
| 3 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
York Sun | 0789dc9 | 2012-12-23 19:25:27 +0000 | [diff] [blame] | 5 | */ |
| 6 | |
| 7 | #include <common.h> |
| 8 | #include <command.h> |
| 9 | #include <pci.h> |
| 10 | #include <asm/fsl_pci.h> |
Masahiro Yamada | 75f82d0 | 2018-03-05 01:20:11 +0900 | [diff] [blame^] | 11 | #include <linux/libfdt.h> |
York Sun | 0789dc9 | 2012-12-23 19:25:27 +0000 | [diff] [blame] | 12 | #include <fdt_support.h> |
| 13 | #include <asm/fsl_serdes.h> |
| 14 | |
| 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 | } |