summaryrefslogtreecommitdiff
path: root/arch/powerpc
diff options
context:
space:
mode:
authorPankaj Chauhan <pankaj.chauhan@freescale.com>2011-01-25 14:44:57 +0530
committerKumar Gala <galak@kernel.crashing.org>2011-04-04 09:24:40 -0500
commiteea9a123449c34fa1631e7869aae94dbe3b61dbd (patch)
tree4baadbbbe2e8b6f9f08ea379142b4227a0faa4db /arch/powerpc
parentf0f899432e8e901844c3d98483d89d4612f13d98 (diff)
downloadu-boot-imx-eea9a123449c34fa1631e7869aae94dbe3b61dbd.zip
u-boot-imx-eea9a123449c34fa1631e7869aae94dbe3b61dbd.tar.gz
u-boot-imx-eea9a123449c34fa1631e7869aae94dbe3b61dbd.tar.bz2
powerpc/85xx: Extend ethernet device tree stashing parameters for "fsl,etsec2"
In a manner similar to passing ethernet stashing parameters into device tree for "gianfar", extend the support to the "fsl,etsec2" as well. Signed-off-by: Pankaj Chauhan <pankaj.chauhan@freescale.com> Signed-off-by: Sandeep Gopalpet <sandeep.kumar@freescale.com> Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/powerpc')
-rw-r--r--arch/powerpc/cpu/mpc85xx/fdt.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/fdt.c b/arch/powerpc/cpu/mpc85xx/fdt.c
index 00fa752..6ed0284 100644
--- a/arch/powerpc/cpu/mpc85xx/fdt.c
+++ b/arch/powerpc/cpu/mpc85xx/fdt.c
@@ -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)