linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* 82xx and cache coherency between CPM and CPU
@ 2004-08-09 14:35 Peter Krogsgaard
  0 siblings, 0 replies; only message in thread
From: Peter Krogsgaard @ 2004-08-09 14:35 UTC (permalink / raw)
  To: linuxppc-embedded


Hi,

I have been browsing through the driver code for the MPC8260 from the
cvs
repository at denx.de (linuxppc_2_4_devel).

One thing that makes me wonder is why some of the drivers (i2c, spi)
calls
flush_dcache_range and friends instead of setting the gobal access bit
(GBL)
in the rfcr/tfcr registers for the device?

As I read the docs the 82xx are cache coherent between the CPU and the
CPM so
the GBL bit should do the trick.

Am I missing something obvious here ?


Best regards

Peter Krogsgaard
Focon Electronic Systems A/S


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2004-08-09 14:35 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-09 14:35 82xx and cache coherency between CPM and CPU Peter Krogsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).