Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0+ |
Peter Tyser | 1c2b329 | 2008-12-17 16:36:23 -0600 | [diff] [blame] | 2 | /* |
3 | * Copyright 2008 Extreme Engineering Solutions, Inc. | ||||
4 | * Copyright 2007-2008 Freescale Semiconductor, Inc. | ||||
Peter Tyser | 1c2b329 | 2008-12-17 16:36:23 -0600 | [diff] [blame] | 5 | */ |
6 | |||||
7 | #include <common.h> | ||||
Simon Glass | 18afe10 | 2019-11-14 12:57:47 -0700 | [diff] [blame] | 8 | #include <init.h> |
Peter Tyser | 1c2b329 | 2008-12-17 16:36:23 -0600 | [diff] [blame] | 9 | #include <pci.h> |
Kumar Gala | 9bbd643 | 2009-04-02 13:22:48 -0500 | [diff] [blame] | 10 | #include <asm/fsl_pci.h> |
Kumar Gala | 3d02038 | 2010-12-15 04:55:20 -0600 | [diff] [blame] | 11 | #include <asm/fsl_serdes.h> |
Peter Tyser | 2b1a48d | 2009-08-07 13:16:34 -0500 | [diff] [blame] | 12 | #include <asm/io.h> |
Peter Tyser | 5194477 | 2010-10-22 00:20:22 -0500 | [diff] [blame] | 13 | #include <linux/compiler.h> |
Masahiro Yamada | 75f82d0 | 2018-03-05 01:20:11 +0900 | [diff] [blame] | 14 | #include <linux/libfdt.h> |
Peter Tyser | 1c2b329 | 2008-12-17 16:36:23 -0600 | [diff] [blame] | 15 | #include <fdt_support.h> |
16 | |||||
Peter Tyser | 1c2b329 | 2008-12-17 16:36:23 -0600 | [diff] [blame] | 17 | #if defined(CONFIG_OF_BOARD_SETUP) |
Masahiro Yamada | f7ed78b | 2020-06-26 15:13:33 +0900 | [diff] [blame] | 18 | void ft_board_pci_setup(void *blob, struct bd_info *bd) |
Peter Tyser | 1c2b329 | 2008-12-17 16:36:23 -0600 | [diff] [blame] | 19 | { |
Kumar Gala | d0f27d3 | 2010-07-08 22:37:44 -0500 | [diff] [blame] | 20 | FT_FSL_PCI_SETUP; |
Peter Tyser | 1c2b329 | 2008-12-17 16:36:23 -0600 | [diff] [blame] | 21 | } |
22 | #endif /* CONFIG_OF_BOARD_SETUP */ |