mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-08-20 08:58:52 +09:00
![Wasim Khan](/assets/img/avatar_default.png)
lx2160a rev1 requires layerscape_gen4 device tree fixup and lx2160a rev2 requires layerscape device tree fixup. Add device tree fixup for lx2160a based on SoC and Version. Signed-off-by: Wasim Khan <wasim.khan@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
23 lines
563 B
C
23 lines
563 B
C
/* SPDX-License-Identifier: GPL-2.0+ */
|
|
/*
|
|
* Copyright 2019-2020 NXP
|
|
*
|
|
* PCIe DT fixup for NXP Layerscape SoCs
|
|
* Author: Wasim Khan <wasim.khan@nxp.com>
|
|
*
|
|
*/
|
|
#ifndef _PCIE_LAYERSCAPE_FIXUP_COMMON_H_
|
|
#define _PCIE_LAYERSCAPE_FIXUP_COMMON_H_
|
|
|
|
#include <common.h>
|
|
|
|
void ft_pci_setup_ls(void *blob, bd_t *bd);
|
|
|
|
#ifdef CONFIG_PCIE_LAYERSCAPE_GEN4
|
|
void ft_pci_setup_ls_gen4(void *blob, bd_t *bd);
|
|
#endif /* CONFIG_PCIE_LAYERSCAPE_GEN4 */
|
|
int pcie_next_streamid(int currentid, int id);
|
|
int pcie_board_fix_fdt(void *fdt);
|
|
|
|
#endif //_PCIE_LAYERSCAPE_FIXUP_COMMON_H_
|