Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Shengzhou Liu | 8d67c36 | 2014-03-05 15:04:48 +0800 | [diff] [blame] | 2 | /* |
| 3 | * Copyright 2007-2014 Freescale Semiconductor, Inc. |
Shengzhou Liu | 8d67c36 | 2014-03-05 15:04:48 +0800 | [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> |
Shengzhou Liu | 8d67c36 | 2014-03-05 15:04:48 +0800 | [diff] [blame] | 11 | #include <fdt_support.h> |
| 12 | #include <asm/fsl_serdes.h> |
| 13 | |
Hou Zhiqiang | fb0d98d | 2019-08-27 11:02:52 +0000 | [diff] [blame] | 14 | #if !defined(CONFIG_DM_PCI) |
Shengzhou Liu | 8d67c36 | 2014-03-05 15:04:48 +0800 | [diff] [blame] | 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 | } |
Hou Zhiqiang | fb0d98d | 2019-08-27 11:02:52 +0000 | [diff] [blame] | 24 | #endif |