Poonam Aggrwal | f857ed9 | 2009-08-21 07:29:58 +0530 | [diff] [blame] | 1 | /* |
Kumar Gala | d0f27d3 | 2010-07-08 22:37:44 -0500 | [diff] [blame] | 2 | * Copyright 2009-2010 Freescale Semiconductor, Inc. |
Poonam Aggrwal | f857ed9 | 2009-08-21 07:29:58 +0530 | [diff] [blame] | 3 | * |
Wolfgang Denk | d79de1d | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 4 | * SPDX-License-Identifier: GPL-2.0+ |
Poonam Aggrwal | f857ed9 | 2009-08-21 07:29:58 +0530 | [diff] [blame] | 5 | */ |
6 | |||||
7 | #include <common.h> | ||||
8 | #include <command.h> | ||||
9 | #include <pci.h> | ||||
10 | #include <asm/immap_85xx.h> | ||||
Kumar Gala | 3d02038 | 2010-12-15 04:55:20 -0600 | [diff] [blame] | 11 | #include <asm/fsl_serdes.h> |
Poonam Aggrwal | f857ed9 | 2009-08-21 07:29:58 +0530 | [diff] [blame] | 12 | #include <asm/io.h> |
13 | #include <asm/fsl_pci.h> | ||||
14 | #include <libfdt.h> | ||||
15 | #include <fdt_support.h> | ||||
16 | |||||
17 | DECLARE_GLOBAL_DATA_PTR; | ||||
18 | |||||
Poonam Aggrwal | f857ed9 | 2009-08-21 07:29:58 +0530 | [diff] [blame] | 19 | void pci_init_board(void) |
20 | { | ||||
Kumar Gala | b109433 | 2010-12-17 10:42:01 -0600 | [diff] [blame] | 21 | fsl_pcie_init_board(0); |
Poonam Aggrwal | f857ed9 | 2009-08-21 07:29:58 +0530 | [diff] [blame] | 22 | } |
23 | |||||
24 | void ft_pci_board_setup(void *blob) | ||||
25 | { | ||||
Kumar Gala | d0f27d3 | 2010-07-08 22:37:44 -0500 | [diff] [blame] | 26 | FT_FSL_PCI_SETUP; |
Poonam Aggrwal | f857ed9 | 2009-08-21 07:29:58 +0530 | [diff] [blame] | 27 | } |