blob: 745ebb15e0336f284d986ab22cc1343f49f92d2a [file] [log] [blame]
Poonam Aggrwalf857ed92009-08-21 07:29:58 +05301/*
Kumar Galad0f27d32010-07-08 22:37:44 -05002 * Copyright 2009-2010 Freescale Semiconductor, Inc.
Poonam Aggrwalf857ed92009-08-21 07:29:58 +05303 *
Wolfgang Denkbd8ec7e2013-10-07 13:07:26 +02004 * SPDX-License-Identifier: GPL-2.0+
Poonam Aggrwalf857ed92009-08-21 07:29:58 +05305 */
6
7#include <common.h>
8#include <command.h>
9#include <pci.h>
10#include <asm/immap_85xx.h>
Kumar Gala3d020382010-12-15 04:55:20 -060011#include <asm/fsl_serdes.h>
Poonam Aggrwalf857ed92009-08-21 07:29:58 +053012#include <asm/io.h>
13#include <asm/fsl_pci.h>
14#include <libfdt.h>
15#include <fdt_support.h>
16
17DECLARE_GLOBAL_DATA_PTR;
18
Poonam Aggrwalf857ed92009-08-21 07:29:58 +053019void pci_init_board(void)
20{
Kumar Galab1094332010-12-17 10:42:01 -060021 fsl_pcie_init_board(0);
Poonam Aggrwalf857ed92009-08-21 07:29:58 +053022}
23
24void ft_pci_board_setup(void *blob)
25{
Kumar Galad0f27d32010-07-08 22:37:44 -050026 FT_FSL_PCI_SETUP;
Poonam Aggrwalf857ed92009-08-21 07:29:58 +053027}