1 /* SPDX-License-Identifier: GPL-2.0+ */
3 * Copyright 2019-2020 NXP
5 * PCIe DT fixup for NXP Layerscape SoCs
6 * Author: Wasim Khan <wasim.khan@nxp.com>
9 #ifndef _PCIE_LAYERSCAPE_FIXUP_COMMON_H_
10 #define _PCIE_LAYERSCAPE_FIXUP_COMMON_H_
14 void ft_pci_setup_ls(void *blob, struct bd_info *bd);
16 #ifdef CONFIG_PCIE_LAYERSCAPE_GEN4
17 void ft_pci_setup_ls_gen4(void *blob, struct bd_info *bd);
18 #endif /* CONFIG_PCIE_LAYERSCAPE_GEN4 */
19 int pcie_next_streamid(int currentid, int id);
20 int pcie_board_fix_fdt(void *fdt);
22 #endif //_PCIE_LAYERSCAPE_FIXUP_COMMON_H_