Wasim Khan | 54e44ef | 2020-01-06 12:05:57 +0000 | [diff] [blame] | 1 | /* SPDX-License-Identifier: GPL-2.0+ */ |
| 2 | /* |
| 3 | * Copyright 2019-2020 NXP |
| 4 | * |
| 5 | * PCIe DT fixup for NXP Layerscape SoCs |
| 6 | * Author: Wasim Khan <wasim.khan@nxp.com> |
| 7 | * |
| 8 | */ |
| 9 | #ifndef _PCIE_LAYERSCAPE_FIXUP_COMMON_H_ |
| 10 | #define _PCIE_LAYERSCAPE_FIXUP_COMMON_H_ |
| 11 | |
| 12 | #include <common.h> |
| 13 | |
| 14 | void ft_pci_setup_ls(void *blob, bd_t *bd); |
| 15 | |
| 16 | #ifdef CONFIG_PCIE_LAYERSCAPE_GEN4 |
| 17 | void ft_pci_setup_ls_gen4(void *blob, bd_t *bd); |
| 18 | #endif /* CONFIG_PCIE_LAYERSCAPE_GEN4 */ |
Wasim Khan | 9d3d230 | 2020-01-06 12:05:59 +0000 | [diff] [blame^] | 19 | int pcie_next_streamid(int currentid, int id); |
Wasim Khan | 54e44ef | 2020-01-06 12:05:57 +0000 | [diff] [blame] | 20 | |
| 21 | #endif //_PCIE_LAYERSCAPE_FIXUP_COMMON_H_ |