summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm/arch-fsl-lsch3/fdt.h
diff options
context:
space:
mode:
authorStuart Yoder <stuart.yoder@freescale.com>2015-07-02 05:59:04 (GMT)
committerYork Sun <yorksun@freescale.com>2015-07-20 18:44:37 (GMT)
commit70e52d211533c45f0d26c4d87cbeee31560fbe04 (patch)
treed77fd0bfcf646432c3cafb072a0c7c6cc3c69c22 /arch/arm/include/asm/arch-fsl-lsch3/fdt.h
parent21c69870679d6a99d5d5b73471bb0330fc75e1af (diff)
downloadu-boot-70e52d211533c45f0d26c4d87cbeee31560fbe04.tar.xz
armv8/fsl-lsch3: device tree fixups for PCI stream IDs
This patch adds the infrastructure to update device tree nodes to convey SMMU stream IDs in the device tree. Fixups are implemented for PCI controllers initially. Signed-off-by: Stuart Yoder <stuart.yoder@freescale.com> Signed-off-by: Prabhakar Kushwaha <prabhakar@freescale.com> Reviewed-by: York Sun <yorksun@freescale.com>
Diffstat (limited to 'arch/arm/include/asm/arch-fsl-lsch3/fdt.h')
-rw-r--r--arch/arm/include/asm/arch-fsl-lsch3/fdt.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/arm/include/asm/arch-fsl-lsch3/fdt.h b/arch/arm/include/asm/arch-fsl-lsch3/fdt.h
new file mode 100644
index 0000000..21d20fb
--- /dev/null
+++ b/arch/arm/include/asm/arch-fsl-lsch3/fdt.h
@@ -0,0 +1,10 @@
+/*
+ * Copyright 2015 Freescale Semiconductor
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+void alloc_stream_ids(int start_id, int count, u32 *stream_ids, int max_cnt);
+void append_mmu_masters(void *blob, const char *smmu_path,
+ const char *master_name, u32 *stream_ids, int count);
+void fdt_fixup_smmu_pcie(void *blob);