diff options
author | Sandeep Gopalpet <sandeep.kumar@freescale.com> | 2010-01-06 14:34:03 +0530 |
---|---|---|
committer | Scott Sweeny <scott.sweeny@timesys.com> | 2010-11-10 14:52:25 -0500 |
commit | 815723fe9bc08aecb2e5aca1657d94604287f5b7 (patch) | |
tree | 8237a5cdf212757a96ca211e91bd3c8ae7acf698 /cpu | |
parent | 1970f67b8b1ae3bfd1ff0cdfa6945da2037d8ca9 (diff) |
85xx/fdt.c: Extend stashing parameter support for "fsl,etsec2" devices
In a manner similar to passing stashing parameters into device tree
for "gianfar", extend the support to the new "fsl,etsec2" as well.
Signed-off-by: Sandeep Gopalpet <sandeep.kumar@freescale.com>
Diffstat (limited to 'cpu')
-rw-r--r-- | cpu/mpc85xx/fdt.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cpu/mpc85xx/fdt.c b/cpu/mpc85xx/fdt.c index cfec3599d8..8e93c79579 100644 --- a/cpu/mpc85xx/fdt.c +++ b/cpu/mpc85xx/fdt.c @@ -277,6 +277,12 @@ 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); } void ft_cpu_setup(void *blob, bd_t *bd) |