summaryrefslogtreecommitdiffstats
path: root/drivers/pci/pcie_layerscape_fixup_common.h
diff options
context:
space:
mode:
authorWasim Khan <wasim.khan@nxp.com>2020-01-06 12:05:57 +0000
committerPriyanka Jain <priyanka.jain@nxp.com>2020-01-24 14:28:26 +0530
commit1185b229cca55a5ce3ee7bb35b203f788254f1a1 (patch)
tree8792b9b256eb80f81cb4ac34447d3716ddc56ccb /drivers/pci/pcie_layerscape_fixup_common.h
parentd085c9ad06e9c98a94985772685ea1df6befed99 (diff)
downloadu-boot-1185b229cca55a5ce3ee7bb35b203f788254f1a1.tar.gz
u-boot-1185b229cca55a5ce3ee7bb35b203f788254f1a1.tar.xz
u-boot-1185b229cca55a5ce3ee7bb35b203f788254f1a1.zip
pci: layerscape: Common device tree fixup for NXP SoCs
Add Common device tree fixup for NXP SoCs. Based on SoC and revision call pcie_layerscape or pcie_layerscape_gen4 fixup. Signed-off-by: Wasim Khan <wasim.khan@nxp.com> Reviewed-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'drivers/pci/pcie_layerscape_fixup_common.h')
-rw-r--r--drivers/pci/pcie_layerscape_fixup_common.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/drivers/pci/pcie_layerscape_fixup_common.h b/drivers/pci/pcie_layerscape_fixup_common.h
new file mode 100644
index 0000000000..be729b6fb0
--- /dev/null
+++ b/drivers/pci/pcie_layerscape_fixup_common.h
@@ -0,0 +1,20 @@
+/* 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 */
+
+#endif //_PCIE_LAYERSCAPE_FIXUP_COMMON_H_