82xx and cache coherency between CPM and CPU
From: Peter Krogsgaard <hidden>
Date: 2004-08-09 14:35:45
From: Peter Krogsgaard <hidden>
Date: 2004-08-09 14:35:45
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/