diff options
author | raj <raj@FreeBSD.org> | 2009-05-21 11:37:56 +0000 |
---|---|---|
committer | raj <raj@FreeBSD.org> | 2009-05-21 11:37:56 +0000 |
commit | e0229d3977fbe246e110f6fb915f0719e6f7356a (patch) | |
tree | b32771ed5e1008e441d86c6f47a9da8b0530a661 /sys/powerpc/mpc85xx | |
parent | 23c7e0d4e5135f53443d467f20f75abfad6172d2 (diff) | |
download | FreeBSD-src-e0229d3977fbe246e110f6fb915f0719e6f7356a.zip FreeBSD-src-e0229d3977fbe246e110f6fb915f0719e6f7356a.tar.gz |
Skip interleaved RAM target on MPC85xx during renitialization of the local
access windows. This eliminates hangs on systems which are configured to use
interleaved mode: prior to this fix we were simply cutting ourselves from
access to the main memory in this case.
Obtained from: Freescale, Semihalf
Diffstat (limited to 'sys/powerpc/mpc85xx')
-rw-r--r-- | sys/powerpc/mpc85xx/ocpbus.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/powerpc/mpc85xx/ocpbus.c b/sys/powerpc/mpc85xx/ocpbus.c index 216ca41..817cf69 100644 --- a/sys/powerpc/mpc85xx/ocpbus.c +++ b/sys/powerpc/mpc85xx/ocpbus.c @@ -255,7 +255,8 @@ ocpbus_attach(device_t dev) if ((sr & 0x80000000) == 0) continue; tgt = (sr & 0x01f00000) >> 20; - if (tgt == OCP85XX_TGTIF_RAM1 || tgt == OCP85XX_TGTIF_RAM2) + if (tgt == OCP85XX_TGTIF_RAM1 || tgt == OCP85XX_TGTIF_RAM2 || + tgt == OCP85XX_TGTIF_RAM_INTL) continue; ccsr_write4(OCP85XX_LAWSR(i), sr & 0x7fffffff); |