]> git.baikalelectronics.ru Git - kernel.git/commit
powerpc/cpm: Clear muram before it is in use.
authorHongjun Chen <Hong-jun.Chen@freescale.com>
Fri, 26 Mar 2010 08:43:46 +0000 (16:43 +0800)
committerKumar Gala <galak@kernel.crashing.org>
Sat, 22 Oct 2011 21:15:50 +0000 (16:15 -0500)
commitf007cacec342a3e6e1e990a16e63bdd278ca04a9
treed7d418fa4fae60ba540244a5b52531dc56ce90dc
parent13c05997090c457dd873b52457d221705e85192d
powerpc/cpm: Clear muram before it is in use.

We need to ensure that MURAM is in a known and cleared out state before
using it as the bootloader could have utilized it from its own purposes
and left it in an unknown state.

If we don't clear it out we've seen issues with UCC ethernet:
* Multi ethernet interfaces can't work simultanously.
* Multi up/down Ethernet interfaces will halt these ports.
* UCC1 RGMII can't work when kernel boots from some hosts.

Signed-off-by: Kai.Jiang <Kai.Jiang@freescale.com>
Signed-off-by: Hongjun Chen <Hong-jun.Chen@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/sysdev/cpm_common.c