Skip to contentSkip to conversation

powerpc/85xx: Extend ethernet device tree stashing parameters for "fsl, etsec2"

PATCH New Kumar Gala 1 participant 2 messages Jan 25, 2011 – Feb 1, 2011 PowerPC

lore
Share & tools
lore

Kumar Gala

author
#0 lore raw

PATCH 1/1 powerpc/85xx: Extend ethernet device tree stashing parameters for "fsl, etsec2"

From: Pankaj Chauhan <[email protected]>

In a manner similar to passing ethernet stashing parameters into device tree for "gianfar", extend the support to the "fsl,etsec2" as well.

---
 arch/powerpc/cpu/mpc85xx/fdt.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
arch/powerpc/cpu/mpc85xx/fdt.c +3 -0
index 00fa752..6ed0284 100644
@@ -338,6 +338,9 @@ void fdt_add_enet_stashing(void *fdt)
 	do_fixup_by_compat_u32(fdt, "gianfar", "rx-stash-len", 96, 1);
 
 	do_fixup_by_compat_u32(fdt, "gianfar", "rx-stash-idx", 0, 1);
+	do_fixup_by_compat(fdt, "fsl,etsec2", "bd-stash", NULL, 0, 1);
+	do_fixup_by_compat_u32(fdt, "fsl,etsec2", "rx-stash-len", 96, 1);
+	do_fixup_by_compat_u32(fdt, "fsl,etsec2", "rx-stash-idx", 0, 1);
 }
 
 #if defined(CONFIG_SYS_DPAA_FMAN) || defined(CONFIG_SYS_DPAA_PME)
Signature · 1 line
1.7.2.3
author Applied
#1 lore raw

PATCH 1/1 powerpc/85xx: Extend ethernet device tree stashing parameters for "fsl, etsec2"

Quoted 11 lines · Kumar Gala

From: Pankaj Chauhan <[email protected]>

In a manner similar to passing ethernet stashing parameters into device tree for "gianfar", extend the support to the "fsl,etsec2" as well.

---
arch/powerpc/cpu/mpc85xx/fdt.c | 3 +++

1 files changed, 3 insertions(+), 0 deletions(-)

applied to 85xx next

- k