public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [PATCH 1/5] armv8: fsl-layerscape: make some functions static
@ 2023-09-06 16:01 Laurentiu Tudor
  2023-09-06 16:01 ` [PATCH 2/5] drivers: net: fsl-mc: add support for MC reserved memory Laurentiu Tudor
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: Laurentiu Tudor @ 2023-09-06 16:01 UTC (permalink / raw)
  To: Ashish.Kumar, priyanka.jain, wasim.khan, meenakshi.aggarwal,
	joe.hershberger, rfried.dev, peng.fan, sjg, sean.anderson,
	ioana.ciornei, u-boot
  Cc: thierry.reding, robin.murphy, Laurentiu Tudor

Some functions are not used outside this file, so make them static.

Signed-off-by: Laurentiu Tudor <laurentiu.tudor@nxp.com>
---
 arch/arm/cpu/armv8/fsl-layerscape/icid.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/arch/arm/cpu/armv8/fsl-layerscape/icid.c b/arch/arm/cpu/armv8/fsl-layerscape/icid.c
index ad20d71717b3..c22e73253c3c 100644
--- a/arch/arm/cpu/armv8/fsl-layerscape/icid.c
+++ b/arch/arm/cpu/armv8/fsl-layerscape/icid.c
@@ -23,8 +23,8 @@ static void set_icid(struct icid_id_table *tbl, int size)
 			out_be32((u32 *)(tbl[i].reg_addr), tbl[i].reg);
 }
 
-#ifdef CONFIG_SYS_DPAA_FMAN
-void set_fman_icids(struct fman_icid_id_table *tbl, int size)
+#if defined(CONFIG_SYS_DPAA_FMAN) && !defined(CONFIG_SPL_BUILD)
+static void set_fman_icids(struct fman_icid_id_table *tbl, int size)
 {
 	int i;
 	ccsr_fman_t *fm = (void *)CFG_SYS_FSL_FM1_ADDR;
@@ -71,7 +71,7 @@ int fdt_set_iommu_prop(void *blob, int off, int smmu_ph, u32 *ids, int num_ids)
 	return 0;
 }
 
-int fdt_fixup_icid_tbl(void *blob, int smmu_ph,
+static int fdt_fixup_icid_tbl(void *blob, int smmu_ph,
 		       struct icid_id_table *tbl, int size)
 {
 	int i, err, off;
@@ -98,7 +98,7 @@ int fdt_fixup_icid_tbl(void *blob, int smmu_ph,
 }
 
 #ifdef CONFIG_SYS_DPAA_FMAN
-int get_fman_port_icid(int port_id, struct fman_icid_id_table *tbl,
+static int get_fman_port_icid(int port_id, struct fman_icid_id_table *tbl,
 		       const int size)
 {
 	int i;
@@ -111,7 +111,7 @@ int get_fman_port_icid(int port_id, struct fman_icid_id_table *tbl,
 	return -1;
 }
 
-void fdt_fixup_fman_port_icid_by_compat(void *blob, int smmu_ph,
+static void fdt_fixup_fman_port_icid_by_compat(void *blob, int smmu_ph,
 					const char *compat)
 {
 	int noff, len, icid;
@@ -140,7 +140,7 @@ void fdt_fixup_fman_port_icid_by_compat(void *blob, int smmu_ph,
 	}
 }
 
-void fdt_fixup_fman_icids(void *blob, int smmu_ph)
+static void fdt_fixup_fman_icids(void *blob, int smmu_ph)
 {
 	static const char * const compats[] = {
 		"fsl,fman-v3-port-oh",
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-09-15 12:16 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-09-06 16:01 [PATCH 1/5] armv8: fsl-layerscape: make some functions static Laurentiu Tudor
2023-09-06 16:01 ` [PATCH 2/5] drivers: net: fsl-mc: add support for MC reserved memory Laurentiu Tudor
2023-09-06 16:01 ` [PATCH 3/5] armv8: fsl-layerscape: create bypass smmu mapping for MC Laurentiu Tudor
2023-09-06 17:21   ` Robin Murphy
2023-09-06 18:10     ` Laurentiu Tudor
2023-09-06 20:09       ` Robin Murphy
2023-09-15 12:16         ` Laurentiu Tudor
2023-09-06 16:01 ` [PATCH 4/5] board: freescale: ls2080a: declare MC reserved regions Laurentiu Tudor
2023-09-06 16:01 ` [PATCH 5/5] board: freescale: ls1088a: " Laurentiu Tudor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox